ltp/numa: cleanup work for numa/*
PATCH v2 1/4 ltp/numa: cleanup work for numa/*
* Remove useless test.sh
* Remove outdated numa_node_size.c
Note: abandoned in commit 67045d7530
* Rewrite support_numa.c
Note: No need to include test.h to get ltp standard PASS/FAIL as ordinary testcases, it's just an aided process which calling in numa.sh)
* Update README document
Signed-off-by Li Wang <[email protected]>
--- testcases/kernel/numa/.gitignore | 1 - testcases/kernel/numa/README | 38 +++++++-------- testcases/kernel/numa/numa_node_size.c | 88 ---------------------------------- testcases/kernel/numa/support_numa.c | 80 +++++++++++++------------------ testcases/kernel/numa/test.sh | 57 ---------------------- 5 files changed, 48 insertions(+), 216 deletions(-) delete mode 100644 testcases/kernel/numa/numa_node_size.c delete mode 100644 testcases/kernel/numa/test.sh
testcases/kernel/numa/.gitignore +0 -1
@@ -1,2 +1 @@ -/numa_node_size /support_numa
testcases/kernel/numa/README +16 -22
@@ -12,7 +12,7 @@ to either decrease the memory latencies or increase the memory bandwidth by prop Please refer http://lse.sourceforge.net/numa/ to know the basics of numa and refer http://www.novell.com/collateral/4621437/4621437.pdf to understand the usage of numactl and numa libraries. -We can always get the latest package from ftp://ftp.suse.com/pub/people/ak/numa. +We can always get the latest package from http://oss.sgi.com/projects/libnuma/. Testcase Description: ====================================================================================================================
@@ -41,28 +41,22 @@ Verifies the memory interleaving policy on the shared memory which will interlea all nodes equally. Here, the testcase use touch command instead of running a seperate process to verify the policy applied. -Pre-requisites -==================================================================================================================== - * libnuma should be installed on the NUMA machine before executing theses testcases - * Testcases can also be executed on non-numa machines, but they will fail, +TestCase7: +Verifies the memory interleaving policy which will distribute the memory evenly among all nodes. This +testcase will use the numademo for the verfication. -Building the Tescases -==================================================================================================================== -From LTP-Root, use <make> to build the testcases -ltp-full-20070731]$ make -or, from -ltp-full-20070731_numa/testcases/kernel/numa]# make +TestCase8: +Verifies the memory interleaving policy which will distribute the memory evenly among all nodes. This +testcase will use memhog for the verfication. -Installing the Testcases -==================================================================================================================== -From LTP-Root, use <make> to install the testcases -ltp-full-20070731]$ make install -or, from -ltp-full-20070731_numa/testcases/kernel/numa]# make install +TestCase9: +Verifies the numa_node_size api with hardware checking. + +TestCase10: +Verifieds the NUMA migratepages policy. -Running the Tescases -==================================================================================================================== -From LTP-Root, invoke ./runltp -ltp-full-20070731]$ ./runltp -p -l <logfile> -f numa - * NUMA testcases will not run by default in LTP-runall +Pre-requisites +==================================================================================================================== + * libnuma should be installed on the NUMA machine before executing theses testcases + * Testcases will not run by default in LTP-runall, they also skip on non-numa machines
testcases/kernel/numa/numa_node_size.c deleted +0 -88
88 lines not on this page · raw message
testcases/kernel/numa/support_numa.c +32 -48
147 lines not on this page · raw message
testcases/kernel/numa/test.sh deleted +0 -57
57 lines not on this page · raw message
Signature · 1 line
1.8.3.1
PATCH v2 1/4 ltp/numa: cleanup work for numa/*
Hi!
Pushed with minor changes to silence warnings in support_numa.c, thanks.
Signature · 2 lines
Cyril Hrubis [email protected]