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