Se você adicionar a opção -t
, poderá especificar quantos escritores deseja usar iozone
. A partir do PDF da IOzone .
-t #
Run Iozone in a throughput mode. This option allows the user to specify how
many threads or processes to have active during the measurement.
Exemplo
$ ./iozone -i 0 -t 2
Children see throughput for 2 initial writers 1= 433194.53 KB/sec
Parent sees throughput for 2 initial writers = 7372.12 KB/sec
Min throughput per process = 0.00 KB/sec
Max throughput per process = 433194.53 KB/sec
Avg throughput per process = 216597.27 KB/sec
Min xfer = 0.00 KB
Children see throughput for 2 rewriters = 459924.70 KB/sec
Parent sees throughput for 2 rewriters = 13049.40 KB/sec
Min throughput per process = 225610.86 KB/sec
Max throughput per process = 234313.84 KB/sec
Avg throughput per process = 229962.35 KB/sec
Min xfer = 488.00 KB
trecho - 10 exemplos do iozone para medição de desempenho de E / S de disco no Linux
To execute the iozone in throughput mode, use -t option. You should also specify the number of threads that needs to be active during this test.
The following example will execute the iozone throughput test for writes using 2 threads. Please note that you cannot combine -a option with -t option.