66638ed5f462076db483972c14e55b88b9cc8d10 |
|
23-Aug-2017 |
Li Wang <liwang@redhat.com> |
numa: Add new regression test for MPOL_PREFERRED poliy Kernel bug description: Allocating memory on node1 with MPOL_PREFERRED policy doesn't work with THP enabled, it always fallbacks to local node (ex. node0). This impacts workload performance for multi node systems. It has been fixed by: commit 0867a57c (mm, thp: respect MPOL_PREFERRED policy with non-local node) Test on kernel without this patch: 12 TFAIL: NUMA memory allocated in node1 is less than expected Test on kernel with this fix: 12 TPASS: NUMA preferred node policy verified with THP enabled Signed-off-by: Li Wang <liwang@redhat.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
f9a91c164ac52a4c91ff6aa9c156f110d04158d6 |
|
24-May-2017 |
Li Wang <liwang@redhat.com> |
tst_tests.sh: set the shell TST_ID automatically commit a5bf5254ca94 sets the tst_test->tid automatically in LTP C test framework. Here proposed that the shell variable TST_ID should be handled in the same way. Signed-off-by: Li Wang <liwang@redhat.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
cbbe48a8eabb00772035f8fb151f532596b990ab |
|
24-May-2017 |
Li Wang <liwang@redhat.com> |
numa: fix memhog fails in test8 memhog test fails on first iteration (when the memhog binary is not in the page cache) because the test script runs too fast and looks at the statistics even befor the memmhog binary has a chance to run. In this patch, just redirectiong the output to a file and then checking the content in the script in a loop. Suggested-by: Cyril Hrubis <chrubis@suse.cz> Signed-off-by: Li Wang <liwang@redhat.com> Tested-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
0160dd72400f48040033cbc397217b1cf973521b |
|
19-May-2017 |
Li Wang <liwang@redhat.com> |
ltp/numa: use string to describe operation Signed-off-by: Li Wang <liwang@redhat.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
bf802b7f08a9d29dad202fbdfb316cdcdb7d19ec |
|
19-May-2017 |
Li Wang <liwang@redhat.com> |
ltp/numa: Kill the support_numa if FAILED Signed-off-by: Li Wang <liwang@redhat.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
d075776c6cbe51e3654144f1451ccea894b8d86f |
|
19-May-2017 |
Li Wang <liwang@redhat.com> |
ltp/numa: add new test11 Signed-off-by: Li Wang <liwang@redhat.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
ce1da5dc864873b4a8b834e2f63e5ba87680fa95 |
|
19-Jan-2017 |
Cyril Hrubis <chrubis@suse.cz> |
numa01.sh: Change shebang to /bin/sh The script does not need to be executed by bash anymore. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
547380acdfdd4a5d2759c4c774c47f28ce973a85 |
|
18-Jan-2017 |
Cyril Hrubis <chrubis@suse.cz> |
numa01.sh: Wait for support_numa.c correctly Wait untit the process gets into Traced state instead of sleeping for 100ms. This fixes rare failures when the support_numa is slower to allcate the memory for some reason, possibly system under load. Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
67da06e74b772ee19ecfdf7bbd43548ebd3364ee |
|
18-Jan-2017 |
Cyril Hrubis <chrubis@suse.cz> |
numa01.sh: Small cleanup & fix * Clean comments a bit * Fix redirection order (correct one is >/dev/null 2>&1) * Cleanup up the PASSED message a bit Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
172b02ba8ab6a26407938b0049f23168600aa7fc |
|
18-Jan-2017 |
Cyril Hrubis <chrubis@suse.cz> |
ltp/numa: reconstruct these testcases These case occasionally failed on RHEL platform: numa02 2 TFAIL : ltpapicmd.c:200: Test #2: NUMA hit and othernode increase in node0 is less than expected numa03 3 TFAIL : ltpapicmd.c:200: Test #3: NUMA interleave hit in node0 is less than expected numa08 8 TFAIL : ltpapicmd.c:200: Test #8: NUMA interleave hit in node0 is less than expected From git log (commit e439df0ea74231), it says "In RHEL collection of istics take more time", and add sleep 2s in the case. I looked into the detail and found that's reasonable, numastat growing slowly on RHEL system, therefore tests failed with numastate update uncompleted. Despite all that, sleeping 2 sec still working bad during my test. In this patch, reconstruct the whole tests in a new method which detect numa statistics more precisely by command 'numastat -p $pid'. The worth to say, I take use of Cyril's proposal to add a few lines of code to the numa helper so that it can test the share memory just like the command blow does: `numactl --length=1M --file /dev/shm/numa_shm --interleave=all --touch` And, the orignal test7() has been removed, replaced by a new test for share memory allocated on preferred numa node(see: test3). Signed-off-by: Li Wang <liwang@redhat.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
4061a1cdf145f861d8b0c692cc16d2602064ca84 |
|
14-Dec-2016 |
Li Wang <liwang@redhat.com> |
ltp/numa: Convert to new library Signed-off-by: Li Wang <liwang@redhat.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
2bf2094f0c5339da1ee49c5eeb4feef0a9726e68 |
|
29-Nov-2016 |
Petr Vorel <petr.vorel@gmail.com> |
shell: fix bashisms: s/&>/>$1 2>&1/ Signed-off-by: Petr Vorel <petr.vorel@gmail.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
7d872dd896466c8e42cab69cf4044030ab68f307 |
|
04-Aug-2015 |
Zeng Linggang <zenglg.jy@cn.fujitsu.com> |
numa01.sh: Fix typo Signed-off-by: Zeng Linggang <zenglg.jy@cn.fujitsu.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
6e500aa3aa455fb70577ca7b017f8971dcb3b181 |
|
03-Apr-2014 |
Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> |
numa01.sh: numademo fixes 1) numademo does not accept a 'msize' argument. I think it was an initial typo mistake that numanode was invoked as numanode -c msize instead of numanode -c ${msize}k 2) I think test07 should return TPASS if $x is 0 (not 1), because this test verifies that after execution of `numanode` the OS updates interleave_hit values of each of the nodes. And if a node doesn't get a minimum increase, then it's a failure. Signed-off-by: Stanislav Kholmanskikh <stanislav.kholmanskikh@oracle.com> Acked-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
169720fd17d0632b78499d7b8168727736c98fb0 |
|
26-Mar-2014 |
Joseph Beckenbach <jbeckenbach@lancope.com> |
Fix shell scripts to run correctly on Debian Temporarily change shebang to /bin/bash in scripts that depends on bash extensions. Also corrects a few 'exit -1' in netns/*.sh scripts. Signed-off-by: Joseph Beckenbach <jbeckenbach@lancope.com> Signed-off-by: Cyril Hrubis <chrubis@suse.cz>
/external/ltp/testcases/kernel/numa/numa01.sh
|
6fb981fc87e5f818f10dc2cd59b5d952b31b2397 |
|
09-Jan-2013 |
Zhouping Liu <zliu@redhat.com> |
numa/numa01.sh: fixed errors under noncontinuous numa nodes list The previous code numa01.sh thought all NUMA system had continuous numa nodes list, and node id started from 0, but in fact it does not. There are lots of system contains noncontinuous numa nodes list e.g: # numactl --hardware available: 4 nodes (0,2,4,7) node 0 cpus: 0 4 8 12 16 20 24 28 node 0 size: 4061 MB node 0 free: 3756 MB node 2 cpus: 1 5 9 13 17 21 25 29 node 2 size: 4096 MB node 2 free: 3196 MB node 4 cpus: 2 6 10 14 18 22 26 30 node 4 size: 4096 MB node 4 free: 3885 MB node 7 cpus: 3 7 11 15 19 23 27 31 node 7 size: 4095 MB node 7 free: 3947 MB node distances: node 0 2 4 7 0: 10 20 20 20 2: 20 10 20 20 4: 20 20 10 20 7: 20 20 20 10 in such discontinuous nodes system, numa01.sh would fail with such error log: libnuma: Warning: node argument 1 is out of range The patch fixed it, and removed some useless/redundancy val/func, such as 'max_node' val and 'getmax' func, also make some cleanup. Signed-off-by: Zhouping Liu <zliu@redhat.com> Acked-by: Wanlong Gao <gaowanlong@cn.fujitsu.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
ffb74e7c53fd8ff29f7d1b7b89ff71c237420b32 |
|
04-Dec-2012 |
Peng Haitao <penght@cn.fujitsu.com> |
numa01.sh: get the right numa node number Signed-off-by: Peng Haitao <penght@cn.fujitsu.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
0d58d20e56b8c8d278c4e121a1c9fb93639a0dc2 |
|
23-Nov-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
numa01: fix the wrong method of getting numa nodes number Fix the method of getting the number of numa nodes. Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
9b87d9c5678ad3dc2cf561774c7a1c6a16388935 |
|
23-Nov-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
numa01.sh: fix the error when getting number of CPUs Use the tst_ncpus to get the number of online cpus. Reported-by: Simon Xu <xu.simon@oracle.com> Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
4548c6cf9bcdd96d8303caa4130ab638b61f8a30 |
|
19-Oct-2012 |
Wanlong Gao <gaowanlong@cn.fujitsu.com> |
Update FSF address find . -type f -exec sed -i 's/675 Mass Ave, Cambridge, MA 02139, USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; find . -type f -exec sed -i 's/59 Temple Place, Suite 330, Boston, MA 02111-1307 USA/51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA/g' {} \; Signed-off-by: Wanlong Gao <gaowanlong@cn.fujitsu.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
37550cf5a86c7ca7424a2a318dd64e550f13f5df |
|
18-Oct-2012 |
Chris Dearman <chris@mips.com> |
Remove whitespace at end of line This is a scripted change done using the following command: find . -type d -name .git -prune -o \ -type f \! -name \*\~ \! -name .\#\* \ \! -name \*.gz \! -name \*.pdf \! -name \*.patch -print0 | \ xargs -0 sed -i -e 's/[\t ]*$//' Signed-off-by: Chris Dearman <chris@mips.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
7ee6e27348582a777c8efdb196f6b73814ab2e82 |
|
24-Jan-2011 |
Garrett Cooper <yanegomi@gmail.com> |
Fix test04 for numa01.sh As a result of examining the following lines of the shell, I noticed the execution way of these processings is wrong. - Here is a part of a problem in the shell. --------------------------------------------------------------------------- numactl --physcpubind=$run_on_cpu support_numa $PAUSE & #just waits for sigint pid=$! running_on_cpu=$(awk '{ print $39; }' /proc/$pid/stat) --------------------------------------------------------------------------- The following shows the root cause: (A) : numactl --physcpubind=$run_on_cpu support_numa $PAUSE & (B) : running_on_cpu=$(awk '{ print $39; }' /proc/$pid/stat) If (B) completes its execution before (A) binds a certain CPU, (B) doesn't set the number of expected CPU and then the test becomes FAIL. Therefore, (B) must start after (A) binds a certain CPU. I made the patch which executes (B) after cmm field of /proc/$pid/stat changes from "(numactl)" into "(support_numa)". Signed-off-by: Kazuki Seki <k-seki@np.css.fujitsu.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
0bf331f5d75417d39dcb3168809cf8fab6fecb70 |
|
16-Sep-2009 |
subrata_modak <subrata_modak> |
Numa-testcases: Return TCONF if NUMA is not available: Currently the test just fails if NUMA is not available. Signed-off-by: Geert Uytterhoeven <Geert.Uytterhoeven@sonycom.com>.
/external/ltp/testcases/kernel/numa/numa01.sh
|
67045d75303f53a6499b4b1c713c4af7ceace6c2 |
|
12-Dec-2008 |
subrata_modak <subrata_modak> |
Just a few fixes I've done while running the complete LTP suite on a ppc64 system. The test fails while running command "numa_node_size" which is unknown to my system. This patch replaces numa_node_size by "numactl --hardware". Signed-off-by: Gilles Carry <gilles.carry@bull.net>.
/external/ltp/testcases/kernel/numa/numa01.sh
|
c864960ed4bfa8d119afbc1a7f92be5ca590ec89 |
|
27-Aug-2008 |
subrata_modak <subrata_modak> |
When packaging LTP with rpmlinit, rpmlinit complains about several scripts which don't have Shebang on the head of the file. Some files didn't have a Shebang at all. Signed-off-by: Daniel Gollub <dgollub@suse.de>.
/external/ltp/testcases/kernel/numa/numa01.sh
|
883f834503349beb377acb09d013260bfffe249e |
|
31-Jan-2008 |
subrata_modak <subrata_modak> |
Fix for Build Error issues on NUMA Machine in absence of important RPMs, by, psuriset <psuriset@linux.vnet.ibm.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
1da4e77bd5b090c6402b9f5c0d61cfbc9706c94a |
|
08-Jan-2008 |
subrata_modak <subrata_modak> |
Fix for situations when it fails even on NUMA node, enabling proper identification of nodes, by psuriset <psuriset@linux.ibm.com>
/external/ltp/testcases/kernel/numa/numa01.sh
|
adc21b6b3c26d1021d1a3a3742fbb03110524e04 |
|
13-Dec-2007 |
subrata_modak <subrata_modak> |
New NUMA Testcases by psuriset@linux.vnet.ibm.com
/external/ltp/testcases/kernel/numa/numa01.sh
|
e439df0ea74231f82aa5700ab284f21d7e6a6534 |
|
04-Sep-2007 |
subrata_modak <subrata_modak> |
"Sivakumar.C@in.ibm.com" induced time for Statistics collection in RHEL
/external/ltp/testcases/kernel/numa/numa01.sh
|
9b555d1362786ebf436a3df18d4eafa1ea54ec06 |
|
24-Aug-2007 |
subrata_modak <subrata_modak> |
Initial Set of NUMA Testcases written by "sivakumar.c@in.ibm.com"
/external/ltp/testcases/kernel/numa/numa01.sh
|