File: runltp

package info (click to toggle)
numactl 2.0.11-2.1
  • links: PTS
  • area: main
  • in suites: stretch
  • size: 1,912 kB
  • ctags: 922
  • sloc: sh: 11,860; ansic: 6,542; makefile: 104
file content (21 lines) | stat: -rwxr-xr-x 729 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
#!/bin/sh
# run the Linux Test Project with various numactl settings. will run for a few hours.
# must run as root
# You can download LTP from http://ltp.sourceforge.net 
# Change LTP below to the source directory of a compiled LTP distribution

LTP=/src/ltp
LEN=2h

LTPOPT="-q -p -t $LEN"
export PATH=`pwd`/..:$PATH

cd $LTP
for i in 1 2 3 ; do 
	numactl --interleave=all ./runltp $LTPOPT -l n.interleave.all.$i
	numactl --interleave=0,1 ./runltp $LTPOPT -l n.interleave.01.$i
	numactl --preferred=0 --cpubind=1 ./runltp $LTPOPT -l n.preferred.$i
# the VM test that allocates all memory may fail	
	numactl --membind=1 --cpubind=0 ./runltp $LTPOPT -l n.membind1.$i
	numactl --membind=0,1 ./runltp $LTPOPT -l n.membind01.$i
done