-h print more detailed help message
-P use procs for users, threads for multihreaded I/O (default)
-p use processes for users and for multithreaded I/O
-t use threads for users and for multithreaded I/O
-l lock I/O buffers in memory
-s for multiuser tests only print summary results
-v for multithreaded tests print per-thread results
-k print throughput in kbytes/sec (default)
-m print throughput in mbytes/sec
-w workload select a type of I/O workload
valid workloads are:
read sequential read of the test files
write sequential write of the test files
rand_read random read of the test files
rand_write random write of the test files
rand_mixed mix of random reads and writes
mmap_read use mmap to read the test files
mmap_write use mmap to overwrite the test files
aread sequential aioread of the test files
awrite sequential aiowrite of the test files
arand_mixed mix of random aioreads and aiowrites
-i subopts specify suboptions describing test
valid suboptions are:
nrep=n repeat the I/O loop in the test n times
nthreads=n number of threads accessing each file
iosize=n size of each I/O in K
fsync do an fsync on the file after writing it
remove remove each file after the test
iocount=n number of I/Os
reserveonly reserve space for the file but don't do I/O
maxfilesize=n maximum offset for random I/O tests in K
randseed=n seed value for random number generator
truncup set an inital file size for random I/O
rdpct=n set read percentage of job mix for mixed tests
parallel=n set number of parallel requests for aio tests
seekoff=n seek offset in K for test file (seq tests only)
-o opentype specify flags for opening the file
valid opentypes are:
append use appending writes
sync set the O_SYNC flag for synchronous file I/O
trunc truncate the test files on open
-c cacheopts specify vxfs caching advisories
valid cache options are:
direct use direct I/O to bypass the kernel cache
dsync use data synchronous I/O
noreuse set the VX_NOREUSE cache advisory
random set the VX_RANDOM cache advisory
sequential set the VX_SEQ cache advisory
-e extsize specify a fixed extent size
-r reservation specify space reservation
-f flags specify flags for reservation and fixed extents
valid flags are:
align require aligned extents
chgsize set the file size to the reservation size
contig require contiguous allocation
noextend don't allow writes to extend the file
noreserve allocate space but don't set file reservation
trim trim reservation to file size on last close
Specifying multiple filenames will run tests in parallel to each file,
thus simulating multiple simultaneous users. If multiple threads are
also specified, then each simulated user will run multiple threads so
the total number of I/O threads will be 'users * nthreads'.
For more information on the '-r', '-e', and '-f' arguments see the
setext(1) man page.
봐라 IOzone 등이 갖고 있는 기능을 다 갖고 있으면서도 오히려 더 짧고 직관적인
옵션을 통해 많은 테스트를 할 수 있도록 되어 있다고 생각되지 아니하지 않을수가 없지 않은가!
실제로 테스트가 불가능한 옵션 조합이나, 환경일 경우엔 벤치마킹을 할 수 없는
환경 및 대상이라는 메시지를 뿌려주기도 한다!
(예를 들어 Direct 옵션을 줬는데 디바이스명을 주지않고 파일명을 준다던가..)