mridge | c02d9fb | 2004-03-03 20:32:38 +0000 | [diff] [blame] | 1 | #DESCRIPTION:ltp A-sync IO Stress IO tests |
| 2 | # |
| 3 | # aio-stress [-s size] [-r size] [-a size] [-d num] [-b num] |
| 4 | # [-i num] [-t num] [-c num] [-C size] [-nxhlvOS ] |
| 5 | # file1 [/test/aiodio/file2 ...] |
| 6 | # -a size in KB at which to align buffers |
| 7 | # -b max number of iocbs to give io_submit at once |
| 8 | # -c number of io contexts per file |
| 9 | # -C offset between contexts, default 2MB |
| 10 | # -s size in MB of the test file(s), default 1024MB |
| 11 | # -r record size in KB used for each io, default 64KB |
| 12 | # -d number of pending aio requests for each file, default 64 |
| 13 | # -i number of ios per file sent before switching |
| 14 | # to the next file, default 8 |
| 15 | # -O Use O_DIRECT (not available in 2.4 kernels), |
| 16 | # -S Use O_SYNC for writes |
| 17 | # -o add an operation to the list: write=0, read=1, |
| 18 | # random write=2, random read=3. |
| 19 | # repeat -o to specify multiple ops: -o 0 -o 1 etc. |
| 20 | # -m shm use ipc shared memory for io buffers instead of malloc |
| 21 | # -m shmfs mmap a file in /dev/shm for io buffers |
| 22 | # -n no fsyncs between write stage and read stage |
| 23 | # -l print io_submit latencies after each stage |
| 24 | # -t number of threads to run |
| 25 | # -v verification of bytes written |
| 26 | # -x turn off thread stonewalling |
| 27 | # -h this message |
| 28 | # |
subrata_modak | 46501c4 | 2008-11-07 09:38:40 +0000 | [diff] [blame] | 29 | ADS001 aio-stress -I500 -o2 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2 |
| 30 | ADS002 aio-stress -I500 -o3 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2 |
| 31 | ADS003 aio-stress -I500 -o3 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2 |
| 32 | ADS004 aio-stress -I500 -o3 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4 |
| 33 | ADS005 aio-stress -I500 -o3 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4 |
| 34 | ADS006 aio-stress -I500 -o2 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2 |
| 35 | ADS007 aio-stress -I500 -o3 -O -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2 |
| 36 | ADS008 aio-stress -I500 -o3 -O -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2 |
| 37 | ADS009 aio-stress -I500 -o3 -O -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4 |
| 38 | ADS010 aio-stress -I500 -o3 -O -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4 |
mridge | c02d9fb | 2004-03-03 20:32:38 +0000 | [diff] [blame] | 39 | |
| 40 | |
| 41 | |
| 42 | |