1 #DESCRIPTION:Memory Mgmt tests 2 mm01 mmap001 -m 10000 3 # 40 Mb mmap() test. 4 # Creates a 10000 page mmap, touches all of the map, sync's it, and 5 # munmap()s it. 6 mm02 mmap001 7 # simple mmap() test. 8 #mm03 mmap001 -i 0 -I 1 -m 100 9 # repetitive mmapping test. 10 # Creates a one page map repetitively for one minute. 11 12 mtest01 mtest01 -p80 13 mtest01w mtest01 -p80 -w 14 15 #test for race conditions 16 mtest05 mmstress 17 mtest06 mmap1 -x 0.05 18 mtest06_2 mmap2 -x 0.002 -a -p 19 mtest06_3 mmap3 -x 0.002 -p 20 # Remains diabled till the infinite loop problem is solved 21 #mtest-6_4 shmat1 -x 0.00005 22 23 mem01 mem01 24 mem02 mem02 25 mem03 mem03 26 27 page01 page01 28 page02 page02 29 30 data_space data_space 31 stack_space stack_space 32 33 shmt02 shmt02 34 shmt03 shmt03 35 shmt04 shmt04 36 shmt05 shmt05 37 shmt06 shmt06 38 shmt07 shmt07 39 shmt08 shmt08 40 shmt09 shmt09 41 shmt10 shmt10 42 43 shm_test01 shm_test -l 10 -t 2 44 mallocstress01 mallocstress 45 46 mmapstress01 mmapstress01 -p 20 -t 0.2 47 mmapstress02 mmapstress02 48 mmapstress03 mmapstress03 49 mmapstress04 mmapstress04 50 mmapstress05 mmapstress05 51 mmapstress06 mmapstress06 20 52 mmapstress07 TMPFILE=`mktemp /tmp/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE 53 mmapstress08 mmapstress08 54 mmapstress09 mmapstress09 -p 20 -t 0.2 55 mmapstress10 mmapstress10 -p 20 -t 0.2 56 57 mmap10 mmap10 58 mmap10_1 mmap10 -a 59 mmap10_2 mmap10 -s 60 mmap10_3 mmap10 -a -s 61 mmap10_4 mmap10 -a -s -i 60 62 63 ksm01 ksm01 64 ksm01_1 ksm01 -u 128 65 ksm02 ksm02 66 ksm02_1 ksm02 -u 128 67 ksm03 ksm03 68 ksm03_1 ksm03 -u 128 69 ksm04 ksm04 70 ksm04_1 ksm04 -u 128 71 ksm05 ksm05 -I 10 72 ksm06 ksm06 73 ksm06_1 ksm06 -n 10 74 ksm06_2 ksm06 -n 10000 75 76 oom01 oom01 77 oom02 oom02 78 oom03 oom03 79 oom04 oom04 80 oom05 oom05 81 82 swapping01 swapping01 -i 5 83 84 thp01 thp01 -I 120 85 thp02 thp02 86 thp03 thp03 87 88 vma01 vma01 89 vma02 vma02 90 vma03 vma03 91 vma04 vma04 92 vma05 vma05.sh 93 94 overcommit_memory01 overcommit_memory 95 overcommit_memory02 overcommit_memory -R 0 96 overcommit_memory03 overcommit_memory -R 30 97 overcommit_memory04 overcommit_memory -R 80 98 overcommit_memory05 overcommit_memory -R 100 99 overcommit_memory06 overcommit_memory -R 200 100 101 max_map_count max_map_count -i 10 102 103 min_free_kbytes min_free_kbytes 104