blob: 92b501cfef62294bace29b490076cae4d354ec99 [file] [log] [blame]
mridgec02d9fb2004-03-03 20:32:38 +00001#DESCRIPTION:ltp A-sync IO Stress IO tests
Chris Dearman37550cf2012-10-17 19:54:01 -07002#
mridgec02d9fb2004-03-03 20:32:38 +00003# 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_modak0cb25722009-11-09 16:52:51 +000029ADS2001 aio-stress -I500 -o2 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2
subrata_modakbbbf3192009-12-07 11:04:11 +000030ADS2002 aio-stress -I500 -o3 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2
31ADS2003 aio-stress -I500 -o3 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2
32ADS2004 aio-stress -I500 -o3 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
33ADS2005 aio-stress -I500 -o3 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
subrata_modak0cb25722009-11-09 16:52:51 +000034ADS2006 aio-stress -I500 -o2 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio2/file2
subrata_modakbbbf3192009-12-07 11:04:11 +000035ADS2007 aio-stress -I500 -o3 -O -r8 -t2 /test/aiodio/junkfile /test/aiodio2/file2
36ADS2008 aio-stress -I500 -o3 -O -r16 -t2 /test/aiodio/junkfile /test/aiodio2/file2
37ADS2009 aio-stress -I500 -o3 -O -r32 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4
38ADS2010 aio-stress -I500 -o3 -O -r64 -t4 /test/aiodio/junkfile /test/aiodio2/file2 /test/aiodio/file3 /test/aiodio2/file4