Paste: a test for pastebin

Author: Levi Wang
Mode: factor
Date: Fri, 21 Feb 2014 03:15:46
Plain Text |
Run KSM relative cases: testcases/kernel/mem/ksm/ksm0[1-6].c

The main testcase about merge_across_nodes is in ksm06.c, it has been merged into ltp upstream:

65ca1bd mem/ksm06: add a new case to test merge_across_nodes sysfs knob

Create a runtest/ksm runtest set:

$ cat /opt/ltp/runtest/ksm
ksm01 ksm01
ksm01_1 ksm01 -u 128
ksm02 ksm02
ksm02_1 ksm02 -u 128
ksm03 ksm03
ksm03_1 ksm03 -u 128
ksm04 ksm04
ksm04_1 ksm04 -u 128
ksm05 ksm05 -I 10
ksm06 ksm06
ksm06_1 ksm06 -n 10
ksn06_2 ksm06 -n 10000

Start to run ksm test cases:

$ cd /opt/ltp; ./runltp -p -f ksm -o ksm.run.log -l ksm.log

Check the ksm test cases log: opt/ltp/output/ksm.run.log and opt/ltp/results/ksm.log

New Annotation

Summary:
Author:
Mode:
Body: