“Min xfer”是什么意思?和“吞吐量”在 IOzone 的输出中
我是 IOzone 的新用户,当我使用以下命令运行 IOzone 时:./iozone -i 0 -i 1 -t 2 -T
,它会生成以下结果(部分):
使用的命令行:./iozone -i 0 -i 1 -t 2 -T 输出以千字节/秒为单位 时间分辨率 = 0.000001 秒。 处理器缓存大小设置为 1024 KB。 处理器高速缓存行大小设置为 32 字节。 文件步长设置为 17 * 记录大小。 2个线程的吞吐量测试 每个线程将 512 KB 文件写入 4 KB 记录
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.
我对“吞吐量”和“Min xfer”的含义感到困惑,有人可以帮助我吗? 顺便问一下,为什么孩子和父母看到的吞吐量不同?谢谢!
I'm a new user of IOzone, when I run the IOzone with the command: ./iozone -i 0 -i 1 -t 2 -T
, it generates the following result(partially):
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.
I get confused about meaning of "throughput" and "Min xfer", is there someone can help me?
By the way, why the throughput seen from children and parent is different? Thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Min xfer是指一次写入的最小数据量。 “每个线程在 4 KB 记录中写入 512 KB 文件”
因此,如果 Min xfer 为 512.00 KB,它将立即将整个实际文件写入磁盘(将所有 4 KB 记录分组在一起)。
由于操作系统 I/O 缓冲,子级和父级吞吐量有所不同。 iozone 不会在吞吐量测试中强制直接(非缓冲)读取或写入。您真正测试的是系统的缓冲区缓存+磁盘缓存+磁盘速度组合。
Min xfer refers to the smallest amount of data written at one time. "Each thread writes a 512 Kbyte file in 4 Kbyte records"
So if the Min xfer was 512.00 KB it wrote the entire actual file to disk at once (grouped all the 4 Kbyte records together).
Children and parent throughput are different due to OS I/O buffering. iozone doesn't force direct (non-buffered) read or writes with the throughput test. What you're really testing is your system's buffer cache + disk cache + disk speed combo.