臭氧产生错误的结果

Ist*_*van 2 linux performance iozone

我不确定为什么会发生这种情况,但这些是完全错误的结果:

    Children see throughput for 15 re-readers       = 12793134.62 KB/sec
    Parent sees throughput for 15 re-readers        = 12753940.84 KB/sec
    Min throughput per process                      =  515695.50 KB/sec 
    Max throughput per process                      = 1088000.75 KB/sec
    Avg throughput per process                      =  852875.64 KB/sec
    Min xfer                                        =  249856.00 KB

    Children see throughput for 15 random readers   = 12667347.75 KB/sec
    Parent sees throughput for 15 random readers    = 12613558.90 KB/sec
    Min throughput per process                      =  685239.00 KB/sec 
    Max throughput per process                      = 1318021.25 KB/sec
    Avg throughput per process                      =  844489.85 KB/sec
    Min xfer                                        =  274432.00 KB
Run Code Online (Sandbox Code Playgroud)

执行的命令:iozone -i 0 -i 1 -i 2 -r 4m -s 512m -t 15

Gre*_*SAT 5

您的测试大小为 512 Mb。所以你测量你的系统如何响应这个负载。
您的系统拥有超过 512 Mb 的内存,因此所有内容都可以读/写到缓存中。所以你的结果似乎是相关的。

如果要测试磁盘,则必须使用更大的数据集。说两倍的内存大小。并在每次运行前刷新缓存:echo 3 > /proc/sys/vm/drop_caches