2

私はIOzoneの新しいユーザーです。次のコマンドを使用してIOzoneを実行すると./iozone -i 0 -i 1 -t 2 -T、次の結果が生成されます(部分的に):

Command line used: ./iozone -i 0 -i 1 -t 2 -T
Output is in Kbytes/sec
Time Resolution = 0.000001 seconds.
Processor cache size set to 1024 Kbytes.
Processor cache line size set to 32 bytes.
File stride size set to 17 * record size.
Throughput test with 2 threads
Each thread writes a 512 Kbyte file in 4 Kbyte records
Children see throughput for  2 initial writers  =  650943.69 KB/sec
Parent sees throughput for  2 initial writers   =   13090.24 KB/sec
Min throughput per thread           =  275299.72 KB/sec 
Max throughput per thread           =  375643.97 KB/sec
Avg throughput per thread           =  325471.84 KB/sec
Min xfer                    =     356.00 KB

Children see throughput for  2 rewriters    = 1375881.50 KB/sec
Parent sees throughput for  2 rewriters     =   10523.74 KB/sec                                                
Min throughput per thread           = 1375881.50 KB/sec 
Max throughput per thread           = 1375881.50 KB/sec
Avg throughput per thread           =  687940.75 KB/sec
Min xfer                    =     512.00 KB

Children see throughput for  2 readers      = 2169601.25 KB/sec
Parent sees throughput for  2 readers       =   27753.94 KB/sec
Min throughput per thread           = 2169601.25 KB/sec 
Max throughput per thread           = 2169601.25 KB/sec
Avg throughput per thread           = 1084800.62 KB/sec
Min xfer                    =     512.00 KB

Children see throughput for 2 re-readers    = 2572435.25 KB/sec
Parent sees throughput for 2 re-readers     =   26311.78 KB/sec
Min throughput per thread           = 2572435.25 KB/sec 
Max throughput per thread           = 2572435.25 KB/sec
Avg throughput per thread           = 1286217.62 KB/sec
Min xfer                    =     512.00 KB

iozone test complete.

「スループット」と「最小xfer」の意味について混乱しましたが、誰かが私を助けてくれますか?ちなみに、なぜ子供と親から見たスループットが違うのですか?ありがとう!

4

1 に答える 1

4

Min xfer は、一度に書き込まれるデータの最小量を指します。「各スレッドは 512K バイトのファイルを 4K バイトのレコードに書き込みます」

したがって、最小 xfer が 512.00 KB の場合、実際のファイル全体が一度にディスクに書き込まれます (4 KB のレコードすべてがグループ化されます)。

OS I/O バッファリングにより、子と親のスループットが異なります。iozone は、スループット テストで直接 (バッファリングされていない) 読み取りまたは書き込みを強制しません。実際にテストしているのは、システムのバッファ キャッシュ + ディスク キャッシュ + ディスク速度の組み合わせです。

于 2012-07-13T19:25:50.210 に答える