robbiew | 1f25453 | 2003-03-28 22:07:58 +0000 | [diff] [blame] | 1 | #DESCRIPTION:Part one for ltpstress.sh |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 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 |
subrata_modak | b7c85cf | 2007-06-19 11:12:24 +0000 | [diff] [blame] | 17 | mtest06 mmap1 -x 0.05 |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 18 | |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 19 | mem02 mem02 |
| 20 | |
| 21 | page01 page01 |
| 22 | page02 page02 |
| 23 | |
| 24 | data_space data_space |
| 25 | stack_space stack_space |
| 26 | |
| 27 | shmt02 shmt02 |
| 28 | shmt03 shmt03 |
| 29 | shmt04 shmt04 |
| 30 | shmt05 shmt05 |
| 31 | shmt06 shmt06 |
| 32 | shmt07 shmt07 |
| 33 | shmt08 shmt08 |
| 34 | shmt09 shmt09 |
| 35 | shmt10 shmt10 |
subrata_modak | 6d3ab37 | 2008-10-30 13:26:26 +0000 | [diff] [blame^] | 36 | fsx-linux export TCbin=$LTPROOT/testcases/bin;fsxtest02 10000 |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 37 | #fsx-ext2 fsxtest $SCRATCHDEV ext2 10000 |
| 38 | #fsx-ext3 fsxtest $SCRATCHDEV ext3 10000 |
| 39 | #fsx-jfs fsxtest $SCRATCHDEV jfs 10000 |
| 40 | #fsx-xfs fsxtest $SCRATCHDEV xfs 10000 |
| 41 | #fsx-reiserfs fsxtest $SCRATCHDEV reiserfs 10000 |
| 42 | |
| 43 | ## Complete a default run. |
| 44 | dio01 diotest1 |
| 45 | dio02 diotest2 |
| 46 | dio03 diotest3 |
| 47 | dio04 diotest4 |
| 48 | dio05 diotest5 |
| 49 | dio06 diotest6 |
| 50 | |
| 51 | ## Run the tests with larger buffersize |
| 52 | dio07 diotest1 -b 65536 |
| 53 | dio08 diotest2 -b 65536 |
| 54 | dio09 diotest3 -b 65536 |
| 55 | dio10 diotest4 -b 65536 |
| 56 | dio11 diotest5 -b 65536 |
| 57 | dio12 diotest6 -b 65536 |
| 58 | |
| 59 | ### Run the tests with larger iterations |
| 60 | dio13 diotest1 -b 65536 -n 2000 |
| 61 | dio14 diotest2 -b 65536 -i 1000 |
| 62 | dio15 diotest3 -b 65536 -i 1000 |
| 63 | dio16 diotest5 -b 65536 -i 1000 |
| 64 | dio17 diotest6 -b 65536 -i 1000 |
| 65 | |
| 66 | ## Run the tests with larger offset - 1MB |
| 67 | dio18 diotest2 -b 65536 -i 1000 -o 1024000 |
| 68 | dio19 diotest3 -b 65536 -i 1000 -o 1024000 |
| 69 | dio20 diotest5 -b 65536 -i 1000 -o 1024000 |
| 70 | dio21 diotest6 -b 65536 -i 1000 -o 1024000 |
| 71 | |
| 72 | ## Run the tests with larger offset - 100 MB |
| 73 | dio22 diotest2 -b 65536 -i 1000 -o 104857600 |
| 74 | dio23 diotest3 -b 65536 -i 1000 -o 104857600 |
| 75 | dio24 diotest5 -b 65536 -i 1000 -o 104857600 |
| 76 | dio25 diotest6 -b 65536 -i 1000 -o 104857600 |
| 77 | |
| 78 | ### Run tests with larger vector array |
| 79 | dio26 diotest6 -b 8192 -v 100 |
| 80 | dio27 diotest6 -b 8192 -o 1024000 -i 1000 -v 100 |
| 81 | dio28 diotest6 -b 8192 -o 1024000 -i 1000 -v 200 |
| 82 | |
| 83 | ### Run the tests with more children |
| 84 | #dio29 diotest3 -b 65536 -n 100 -i 1000 -o 1024000 |
| 85 | #dio30 diotest6 -b 65536 -n 100 -i 1000 -o 1024000 |
| 86 | # |
| 87 | # RAW DEVICE TEST SECTION |
| 88 | # DEV1 and DEV2 should be exported prior to execution or |
| 89 | # replaced with the actual device ids, i.e. |
| 90 | # dio33 diotest1 -i /dev/sda2 -o /dev/sda3 |
| 91 | # |
| 92 | ### Run the tests with raw device |
| 93 | #dio33 diotest1 -i $DEV1 -o $DEV2 |
| 94 | #dio34 diotest2 -f $DEV1 |
| 95 | #dio36 diotest3 -f $DEV1 |
| 96 | #dio37 diotest5 -f $DEV1 |
| 97 | #dio38 diotest6 -f $DEV1 |
| 98 | # |
| 99 | ### Run the tests with raw device and larger iterations |
| 100 | #dio39 diotest1 -b 65536 -n 2000 -i $DEV1 -o $DEV2 |
| 101 | #dio40 diotest2 -b 65536 -i 1000 -f $DEV1 |
| 102 | #dio41 diotest3 -b 65536 -i 1000 -f $DEV1 |
| 103 | #dio42 diotest5 -b 65536 -i 1000 -f $DEV1 |
| 104 | #dio43 diotest6 -b 65536 -i 1000 -f $DEV1 |
| 105 | # |
| 106 | ## Run the tests with raw device and larger offset - 100 MB |
| 107 | #dio44 diotest2 -b 65536 -i 1000 -o 104857600 -f $DEV1 |
| 108 | #dio45 diotest3 -b 65536 -i 1000 -o 104857600 -f $DEV1 |
| 109 | #dio46 diotest5 -b 65536 -i 1000 -o 104857600 -f $DEV1 |
| 110 | #dio47 diotest6 -b 65536 -i 1000 -o 104857600 -f $DEV1 |
| 111 | |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 112 | gf01 growfiles -W gf01 -b -e 1 -u -i 0 -L 20 -w -C 1 -l -I r -T 10 glseek20 glseek20.2 |
| 113 | gf02 growfiles -W gf02 -b -e 1 -L 10 -i 100 -I p -S 2 -u -f gf03_ |
| 114 | gf03 growfiles -W gf03 -b -e 1 -g 1 -i 1 -S 150 -u -f gf05_ |
| 115 | gf04 growfiles -W gf04 -b -e 1 -g 4090 -i 500 -t 39000 -u -f gf06_ |
| 116 | gf05 growfiles -W gf05 -b -e 1 -g 5000 -i 500 -t 49900 -T10 -c9 -I p -u -f gf07_ |
| 117 | gf06 growfiles -W gf06 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 g_rand10 g_rand10.2 |
| 118 | gf07 growfiles -W gf07 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 -I p g_rand13 g_rand13.2 |
| 119 | gf08 growfiles -W gf08 -b -e 1 -u -r 1-5000 -R 0--2 -i 0 -L 30 -C 1 g_rand11 g_rand11.2 |
| 120 | gf09 growfiles -W gf09 -b -e 1 -u -r 1-5000 -R 0--1 -i 0 -L 30 -C 1 -I p g_rand12 g_rand12.2 |
| 121 | gf10 growfiles -W gf10 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I l g_lio14 g_lio14.2 |
| 122 | gf11 growfiles -W gf11 -b -e 1 -u -r 1-5000 -i 0 -L 30 -C 1 -I L g_lio15 g_lio15.2 |
| 123 | gf12 mkfifo gffifo17; growfiles -W gf12 -b -e 1 -u -i 0 -L 30 gffifo17 |
| 124 | gf13 mkfifo gffifo18; growfiles -W gf13 -b -e 1 -u -i 0 -L 30 -I r -r 1-4096 gffifo18 |
| 125 | gf14 growfiles -W gf14 -b -e 1 -u -i 0 -L 20 -w -l -C 1 -T 10 glseek19 glseek19.2 |
| 126 | gf15 growfiles -W gf15 -b -e 1 -u -r 1-49600 -I r -u -i 0 -L 120 Lgfile1 |
| 127 | gf16 growfiles -W gf16 -b -e 1 -i 0 -L 120 -u -g 4090 -T 100 -t 408990 -l -C 10 -c 1000 -S 10 -f Lgf02_ |
| 128 | gf17 growfiles -W gf17 -b -e 1 -i 0 -L 120 -u -g 5000 -T 100 -t 499990 -l -C 10 -c 1000 -S 10 -f Lgf03_ |
robbiew | 429c8ac | 2006-01-03 21:18:30 +0000 | [diff] [blame] | 129 | gf18 growfiles -W gf18 -b -e 1 -i 0 -L 120 -w -u -r 10-5000 -I r -l -S 2 -f Lgf04_ |
robbiew | 92b688b | 2004-03-01 22:36:38 +0000 | [diff] [blame] | 130 | gf19 growfiles -W gf19 -b -e 1 -g 5000 -i 500 -t 49900 -T10 -c9 -I p -o O_RDWR,O_CREAT,O_TRUNC -u -f gf08i_ |
| 131 | gf20 growfiles -W gf20 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 1-256000:512 -R 512-256000 -T 4 gfbigio-$$ |
| 132 | gf21 growfiles -W gf21 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bld-$$ |
| 133 | gf22 growfiles -W gf22 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 -T 10 -t 20480 gf-bldf-$$ |
| 134 | gf23 growfiles -W gf23 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 512-64000:1024 -R 1-384000 -T 4 gf-inf-$$ |
| 135 | gf24 growfiles -W gf24 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -g 20480 gf-jbld-$$ |
| 136 | gf25 growfiles -W gf25 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 1024000-2048000:2048 -R 4095-2048000 -T 1 gf-large-gs-$$ |
| 137 | gf26 growfiles -W gf26 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -r 128-32768:128 -R 512-64000 -T 4 gfsmallio-$$ |
| 138 | gf27 growfiles -W gf27 -b -D 0 -w -g 8b -C 1 -b -i 1000 -u gfsparse-1-$$ |
| 139 | gf28 growfiles -W gf28 -b -D 0 -w -g 16b -C 1 -b -i 1000 -u gfsparse-2-$$ |
| 140 | gf29 growfiles -W gf29 -b -D 0 -r 1-4096 -R 0-33554432 -i 0 -L 60 -C 1 -u gfsparse-3-$$ |
| 141 | gf30 growfiles -W gf30 -D 0 -b -i 0 -L 60 -u -B 1000b -e 1 -o O_RDWR,O_CREAT,O_SYNC -g 20480 -T 10 -t 20480 gf-sync-$$ |
robbiew | bc8a481 | 2004-02-25 17:19:41 +0000 | [diff] [blame] | 142 | rwtest01 export LTPROOT; rwtest -N rwtest01 -c -q -i 60s -f sync 10%25000:rw-sync-$$ |
| 143 | rwtest02 export LTPROOT; rwtest -N rwtest02 -c -q -i 60s -f buffered 10%25000:rw-buffered-$$ |
| 144 | rwtest03 export LTPROOT; rwtest -N rwtest03 -c -q -i 60s -n 2 -f buffered -s mmread,mmwrite -m random -Dv 10%25000:mm-buff-$$ |
| 145 | rwtest04 export LTPROOT; rwtest -N rwtest04 -c -q -i 60s -n 2 -f sync -s mmread,mmwrite -m random -Dv 10%25000:mm-sync-$$ |
| 146 | rwtest05 export LTPROOT; rwtest -N rwtest05 -c -q -i 50 -T 64b 500b:/tmp/rwtest01%f |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 147 | |
| 148 | #must be run as root |
robbiew | bc8a481 | 2004-02-25 17:19:41 +0000 | [diff] [blame] | 149 | #iogen01 iogen -i 120s -s read,write 500b:doio.f1.$$ 1000b:doio.f2.$$ | doio -akv -n 2 |
| 150 | iogen01 export LTPROOT; rwtest -N iogen01 -i 120s -s read,write -Da -Dv -n 2 500b:doio.f1.$$ 1000b:doio.f2.$$ |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 151 | |
| 152 | fs_inod01 fs_inod $TMP 10 10 1 |
| 153 | linker01 linktest.pl |
| 154 | openfile01 openfile -f10 -t10 |
| 155 | inode01 inode01 |
| 156 | inode02 inode02 |
| 157 | stream01 stream01 |
| 158 | stream02 stream02 |
| 159 | stream03 stream03 |
| 160 | stream04 stream04 |
| 161 | stream05 stream05 |
| 162 | ftest01 ftest01 |
| 163 | ftest02 ftest02 |
| 164 | ftest03 ftest03 |
| 165 | ftest04 ftest04 |
| 166 | ftest05 ftest05 |
| 167 | ftest06 ftest06 |
| 168 | ftest07 ftest07 |
| 169 | ftest08 ftest08 |
| 170 | |
| 171 | nfs01 export VERSION=2 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs01; nfs01 |
| 172 | nfs01 export VERSION=2 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs01; nfs01 |
| 173 | nfs01 export VERSION=3 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs01; nfs01 |
| 174 | nfs01 export VERSION=3 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs01; nfs01 |
| 175 | |
| 176 | nfs02 export VERSION=2 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs02; nfs02 |
| 177 | nfs02 export VERSION=2 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs02; nfs02 |
| 178 | nfs02 export VERSION=3 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs02; nfs02 |
| 179 | nfs02 export VERSION=3 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs02; nfs02 |
| 180 | |
| 181 | nfs03 export VERSION=2 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs03; nfs03 |
| 182 | nfs03 export VERSION=2 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs03; nfs03 |
| 183 | nfs03 export VERSION=3 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs03; nfs03 |
| 184 | nfs03 export VERSION=3 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs03; nfs03 |
| 185 | |
robbiew | 8758043 | 2003-10-17 17:49:31 +0000 | [diff] [blame] | 186 | nfs04 export VERSION=2 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs04; nfs04 |
| 187 | nfs03 export VERSION=2 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs04; nfs04 |
| 188 | nfs03 export VERSION=3 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfs04; nfs04 |
| 189 | nfs03 export VERSION=3 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfs04; nfs04 |
| 190 | |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 191 | nfsstress export VERSION=2 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfsstress; nfsstress 20 50 1 |
| 192 | nfsstress export VERSION=2 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfsstress; nfsstress 20 50 1 |
| 193 | nfsstress export VERSION=3 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/network/nfs/nfsstress; nfsstress 20 50 1 |
| 194 | nfsstress export VERSION=3 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/network/nfs/nfsstress; nfsstress 20 50 1 |
| 195 | |
subrata_modak | 6d3ab37 | 2008-10-30 13:26:26 +0000 | [diff] [blame^] | 196 | nfsx-linux export VERSION=2 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/bin; fsx.sh |
| 197 | nfsx-linux export VERSION=2 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/bin; fsx.sh |
| 198 | nfsx-linux export VERSION=3 SOCKET_TYPE=udp; export TCbin=$LTPROOT/testcases/bin; fsx.sh |
| 199 | nfsx-linux export VERSION=3 SOCKET_TYPE=tcp; export TCbin=$LTPROOT/testcases/bin; fsx.sh |
robbiew | ba8e16d | 2003-02-12 17:03:39 +0000 | [diff] [blame] | 200 | |
| 201 | |