blob: 0e8a0e0a541055ffbb0bdfb70548d3da458c1d34 [file] [log] [blame]
#DESCRIPTION:ltp A-sync IO Stress IO tests
#
# aio-stress [-s size] [-r size] [-a size] [-d num] [-b num]
# [-i num] [-t num] [-c num] [-C size] [-nxhlvOS ]
# file1 [/test/aiodio/file2 ...]
# -a size in KB at which to align buffers
# -b max number of iocbs to give io_submit at once
# -c number of io contexts per file
# -C offset between contexts, default 2MB
# -s size in MB of the test file(s), default 1024MB
# -r record size in KB used for each io, default 64KB
# -d number of pending aio requests for each file, default 64
# -i number of ios per file sent before switching
# to the next file, default 8
# -O Use O_DIRECT (not available in 2.4 kernels),
# -S Use O_SYNC for writes
# -o add an operation to the list: write=0, read=1,
# random write=2, random read=3.
# repeat -o to specify multiple ops: -o 0 -o 1 etc.
# -m shm use ipc shared memory for io buffers instead of malloc
# -m shmfs mmap a file in /dev/shm for io buffers
# -n no fsyncs between write stage and read stage
# -l print io_submit latencies after each stage
# -t number of threads to run
# -v verification of bytes written
# -x turn off thread stonewalling
# -h this message
#
ADS000 aio-stress -I500 -o2 -S -r4 /test/aiodio/file1
ADS001 aio-stress -I500 -o2 -S -r8 /test/aiodio/file1
ADS002 aio-stress -I500 -o2 -S -r16 /test/aiodio/file1
ADS003 aio-stress -I500 -o2 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS004 aio-stress -I500 -o2 -S -r64 /test/aiodio/junkfile /test/aiodio/file2
ADS005 aio-stress -I500 -o3 -S -r4 /test/aiodio/junkfile /test/aiodio/file2
ADS006 aio-stress -I500 -o3 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS007 aio-stress -I500 -o3 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS008 aio-stress -I500 -o3 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4
ADS009 aio-stress -I500 -o3 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4
ADS010 aio-stress -I500 -o3 -S -r128 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4
ADS011 aio-stress -I500 -o3 -S -r256 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6 /test/aiodio/file7 /test/aiodio/file8
ADS012 aio-stress -I500 -o3 -S -r512 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6 /test/aiodio/file7 /test/aiodio/file8
ADS013 aio-stress -I500 -o2 -O -r4 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6 /test/aiodio/file7 /test/aiodio/file8
ADS014 aio-stress -I500 -o2 -O -r8 /test/aiodio/file1 /test/aiodio/file2
ADS015 aio-stress -I500 -o2 -O -r16 /test/aiodio/file1 /test/aiodio/file2
ADS016 aio-stress -I500 -o2 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS017 aio-stress -I500 -o2 -O -r64 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS018 aio-stress -I500 -o3 -O -r4 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS019 aio-stress -I500 -o3 -O -r8 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS020 aio-stress -I500 -o3 -O -r16 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS021 aio-stress -I500 -o3 -O -r32 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS022 aio-stress -I500 -o3 -O -r64 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS023 aio-stress -I500 -o3 -O -r128 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS024 aio-stress -I500 -o3 -O -r256 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file4 /test/aiodio/file3 /test/aiodio/file5 /test/aiodio/file6
ADS025 aio-stress -I500 -o3 -O -r512 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
ADS026 aio-stress -I500 -o0 -S -r4 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
ADS027 aio-stress -I500 -o0 -S -r8 /test/aiodio/file2
ADS028 aio-stress -I500 -o0 -S -r16 /test/aiodio/file2
ADS029 aio-stress -I500 -o0 -S -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS030 aio-stress -I500 -o0 -S -r64 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS031 aio-stress -I500 -o1 -S -r4 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS032 aio-stress -I500 -o1 -S -r8 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS033 aio-stress -I500 -o1 -S -r16 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS034 aio-stress -I500 -o1 -S -r32 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS035 aio-stress -I500 -o1 -S -r64 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS036 aio-stress -I500 -o1 -S -r128 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS037 aio-stress -I500 -o1 -S -r256 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file4 /test/aiodio/file3 /test/aiodio/file5 /test/aiodio/file6
ADS038 aio-stress -I500 -o1 -S -r512 -t8 -x /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
ADS039 aio-stress -I500 -o1 -O -r4 -t8 -x /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
ADS040 aio-stress -I500 -o1 -O -r8 -t2 -x /test/aiodio/junkfile /test/aiodio/file2
ADS041 aio-stress -I500 -o1 -O -r16 -t2 -x /test/aiodio/junkfile /test/aiodio/file2
ADS042 aio-stress -I500 -o1 -O -r32 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS043 aio-stress -I500 -o1 -O -r64 -t2 /test/aiodio/junkfile /test/aiodio/file2
ADS044 aio-stress -I500 -o1 -O -r4 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS045 aio-stress -I500 -o1 -O -r8 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS046 aio-stress -I500 -o1 -O -r16 -t4 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8
ADS047 aio-stress -I500 -o1 -O -r32 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file4 /test/aiodio/file3 /test/aiodio/file5 /test/aiodio/file6
ADS048 aio-stress -I500 -o1 -O -r64 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
ADS049 aio-stress -I500 -o1 -O -r128 -t8 /test/aiodio/junkfile /test/aiodio/file2 /test/aiodio/file7 /test/aiodio/file8 /test/aiodio/file3 /test/aiodio/file4 /test/aiodio/file5 /test/aiodio/file6
ADS050 aio-stress -I500 -o1 -O -r256 -t2 /test/aiodio/junkfile /test/aiodio/file2