1tiotest(1) tiotest(1)
2
3
4
6 tiotest - Threaded I/O bench
7
8
10 tiotest [-h] [-W] [-f SizeInMB] [-d TestDir] [-b BlkSizeInBytes] [-r
11 NumberRandOpsPerThread] [-t NumberOfThreads] [-T] [-c] [-L] [-S] [-R]
12 [-D DebugLevel] [-k SkipTestNoN]
13
14
15
17 tiotest is a file system benchmark especially designed to test
18 I/O performance with multiple running threads.
19
20
22 -h Display a brief help and exit.
23
24
25 -W Instructs tiotest to wait for previous thread to finish before
26 starting a new one in the writing phase. This results in the
27 files to be sequentially allocated and thus prevents them to be
28 fragmented. Of course the writeside test is not parallel then
29 but in readside the files are physically more sequentially
30 placed on the media (well this depends on the filesystem too).
31
32
33 -f SizeInMB
34 The filesize per threat in MBytes. Defaults to 10 MB.
35
36
37 -d TestDir
38 The directory in which to test. Defaults to ., the current
39 directory.
40
41
42 -b BlkSizeInBytes
43 The blocksize in Bytes to use. Defaults to 4096.
44
45
46 -r NumberRandOpsPerThread
47 Random I/O operations per thread. Defaults to 1000.
48
49
50 -t NumberOfThreads
51 The number of concurrent test threads. Defaults to 4.
52
53
54 -T More terse output.
55
56
57 -c Consistency check data. This should be used for stresstesting
58 the media rather than benchmarking (it will slow io and raise
59 cpu percentage). It is especially usefull to seek media for
60 very hard to detect errors.
61
62
63 -L Hide latency output.
64
65
66 -S Do writing synchronously.
67
68
69 -R Use raw drives.
70
71
72 -D DebugLevel
73 Set the debug level.
74
75
76 -k fISkipTestNoN
77 Skip test number n. Could be used several times.
78
79
80
81 Example:
82
83 while tiotest -c -f 2000 ; do echo run ok ; done
84
85
86 To get usefull results the used file sizes should be a lot larger than
87 the physical amount of memory you have. A good idea is to boot with 16
88 Megs of RAM (Try passing the "mem=16M" option to the kernel to limit
89 Linux to using a very small amount of memory) and into Single User mode
90 only.
91
92
94 tiobench(1), bonnie(1), hdparm(8)
95
96
98 tiotest was written by Mika Kuoppala <miku@iki.fi>.
99
100 This manual page was written by Peter Palfrader <weasel@debian.org>,
101 for the Debian GNU/Linux system (but may be used by others).
102
103
104
105Mac-2001 tiotest(1)