xref: /third_party/ltp/runtest/mm (revision f08c3bdf)
1f08c3bdfSopenharmony_ci#DESCRIPTION:Memory Mgmt tests
2f08c3bdfSopenharmony_cimm01 mmap001 -m 10000
3f08c3bdfSopenharmony_ci# 40 Mb mmap() test.
4f08c3bdfSopenharmony_ci# Creates a 10000 page mmap, touches all of the map, sync's it, and
5f08c3bdfSopenharmony_ci# munmap()s it.
6f08c3bdfSopenharmony_cimm02 mmap001
7f08c3bdfSopenharmony_ci# simple mmap() test.
8f08c3bdfSopenharmony_ci#mm03 mmap001 -i 0 -I 1 -m 100
9f08c3bdfSopenharmony_ci# repetitive mmapping test.
10f08c3bdfSopenharmony_ci# Creates a one page map repetitively for one minute.
11f08c3bdfSopenharmony_ci
12f08c3bdfSopenharmony_cimtest01 mtest01 -p80
13f08c3bdfSopenharmony_cimtest01w mtest01 -p80 -w
14f08c3bdfSopenharmony_ci
15f08c3bdfSopenharmony_ci#test for race conditions
16f08c3bdfSopenharmony_cimtest05   mmstress
17f08c3bdfSopenharmony_cimtest06   mmap1
18f08c3bdfSopenharmony_cimtest06_2 mmap2 -a -p
19f08c3bdfSopenharmony_cimtest06_3 mmap3 -p
20f08c3bdfSopenharmony_ci# Remains diabled till the infinite loop problem is solved
21f08c3bdfSopenharmony_ci#mtest-6_4 shmat1 -x 0.00005
22f08c3bdfSopenharmony_ci
23f08c3bdfSopenharmony_cimem02 mem02
24f08c3bdfSopenharmony_ci
25f08c3bdfSopenharmony_cipage01 page01
26f08c3bdfSopenharmony_cipage02 page02
27f08c3bdfSopenharmony_ci
28f08c3bdfSopenharmony_cidata_space data_space
29f08c3bdfSopenharmony_cistack_space stack_space
30f08c3bdfSopenharmony_ci
31f08c3bdfSopenharmony_cishmt02 shmt02
32f08c3bdfSopenharmony_cishmt03 shmt03
33f08c3bdfSopenharmony_cishmt04 shmt04
34f08c3bdfSopenharmony_cishmt05 shmt05
35f08c3bdfSopenharmony_cishmt06 shmt06
36f08c3bdfSopenharmony_cishmt07 shmt07
37f08c3bdfSopenharmony_cishmt08 shmt08
38f08c3bdfSopenharmony_cishmt09 shmt09
39f08c3bdfSopenharmony_cishmt10 shmt10
40f08c3bdfSopenharmony_ci
41f08c3bdfSopenharmony_cishm_test01	shm_test -l 10 -t 2
42f08c3bdfSopenharmony_cimallocstress01	mallocstress
43f08c3bdfSopenharmony_ci
44f08c3bdfSopenharmony_cimmapstress01 mmapstress01
45f08c3bdfSopenharmony_cimmapstress02 mmapstress02
46f08c3bdfSopenharmony_cimmapstress03 mmapstress03
47f08c3bdfSopenharmony_cimmapstress04 mmapstress04
48f08c3bdfSopenharmony_cimmapstress05 mmapstress05
49f08c3bdfSopenharmony_cimmapstress06 mmapstress06 20
50f08c3bdfSopenharmony_cimmapstress07 TMPFILE=`mktemp /tmp/example.XXXXXXXXXXXX`; mmapstress07 $TMPFILE
51f08c3bdfSopenharmony_cimmapstress08 mmapstress08
52f08c3bdfSopenharmony_cimmapstress09 mmapstress09 -p 20 -t 0.2
53f08c3bdfSopenharmony_cimmapstress10 mmapstress10 -p 20 -t 0.2
54f08c3bdfSopenharmony_ci
55f08c3bdfSopenharmony_cimmap10 mmap10
56f08c3bdfSopenharmony_cimmap10_1 mmap10 -a
57f08c3bdfSopenharmony_cimmap10_2 mmap10 -s
58f08c3bdfSopenharmony_cimmap10_3 mmap10 -a -s
59f08c3bdfSopenharmony_cimmap10_4 mmap10 -a -s -i 60
60f08c3bdfSopenharmony_ci
61f08c3bdfSopenharmony_ciksm01 ksm01
62f08c3bdfSopenharmony_ciksm01_1 ksm01 -u 128
63f08c3bdfSopenharmony_ciksm02 ksm02
64f08c3bdfSopenharmony_ciksm02_1 ksm02 -u 128
65f08c3bdfSopenharmony_ciksm03 ksm03
66f08c3bdfSopenharmony_ciksm03_1 ksm03 -u 128
67f08c3bdfSopenharmony_ciksm04 ksm04
68f08c3bdfSopenharmony_ciksm04_1 ksm04 -u 128
69f08c3bdfSopenharmony_ciksm05 ksm05 -I 10
70f08c3bdfSopenharmony_ciksm06 ksm06
71f08c3bdfSopenharmony_ciksm06_1 ksm06 -n 10
72f08c3bdfSopenharmony_ciksm06_2 ksm06 -n 8000
73f08c3bdfSopenharmony_ci
74f08c3bdfSopenharmony_cicpuset01 cpuset01
75f08c3bdfSopenharmony_ci
76f08c3bdfSopenharmony_cioom01 oom01
77f08c3bdfSopenharmony_cioom02 oom02
78f08c3bdfSopenharmony_cioom03 oom03
79f08c3bdfSopenharmony_cioom04 oom04
80f08c3bdfSopenharmony_cioom05 oom05
81f08c3bdfSopenharmony_ci
82f08c3bdfSopenharmony_ciswapping01 swapping01 -i 5
83f08c3bdfSopenharmony_ci
84f08c3bdfSopenharmony_cithp01 thp01 -I 120
85f08c3bdfSopenharmony_cithp02 thp02
86f08c3bdfSopenharmony_cithp03 thp03
87f08c3bdfSopenharmony_cithp04 thp04
88f08c3bdfSopenharmony_ci
89f08c3bdfSopenharmony_civma01 vma01
90f08c3bdfSopenharmony_civma02 vma02
91f08c3bdfSopenharmony_civma03 vma03
92f08c3bdfSopenharmony_civma04 vma04
93f08c3bdfSopenharmony_civma05 vma05.sh
94f08c3bdfSopenharmony_ci
95f08c3bdfSopenharmony_ciovercommit_memory01 overcommit_memory
96f08c3bdfSopenharmony_ciovercommit_memory02 overcommit_memory -R 0
97f08c3bdfSopenharmony_ciovercommit_memory03 overcommit_memory -R 30
98f08c3bdfSopenharmony_ciovercommit_memory04 overcommit_memory -R 80
99f08c3bdfSopenharmony_ciovercommit_memory05 overcommit_memory -R 100
100f08c3bdfSopenharmony_ciovercommit_memory06 overcommit_memory -R 200
101f08c3bdfSopenharmony_ci
102f08c3bdfSopenharmony_cimax_map_count max_map_count -i 10
103f08c3bdfSopenharmony_ci
104f08c3bdfSopenharmony_cimin_free_kbytes min_free_kbytes
105