我有两台服务器 A 和 B,配置如下:
我在单个 RAID 分区上运行以下基准测试: iozone -a -s 10240 -r 4 -+r
A的结果(摘录):
random random bkwd record stride
kB reclen write rewrite read reread read write read rewrite read fwrite frewrite fread freread
10240 4 108 474 4193564 6667334 6556395 701 4058822 475 3653175 2303202 2616201 6785306 6101840
Run Code Online (Sandbox Code Playgroud)
B的结果(摘录):
random random bkwd record stride
kB reclen …Run Code Online (Sandbox Code Playgroud) 我不确定为什么会发生这种情况,但这些是完全错误的结果:
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 …Run Code Online (Sandbox Code Playgroud)