在 bonnie 基准测试中,延迟结果代表什么?
在尝试使用 bonnie 基准测试对某些 NFS 服务器进行基准测试时,我注意到结果的一行是延迟值。我想知道是否有人可以解释这个延迟值代表什么。谢谢!
邦妮结果示例(强调延迟线):
mshamma@hs1:/mnt/hs18/bonnie$ sudo bonnie -u root -c 100 -s 100000
Using uid:0, gid:0.
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.96 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 100 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
hs1 100000M 980 94 107439 10 57596 8 2426 93 126676 9 165.0 15
**Latency 11089us 22143ms 40946ms 18167us 204ms 240ms**
Version 1.96 ------Sequential Create------ --------Random Create--------
hs1 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 1427 9 48 0 231 0 1244 10 52 0 2715 11
**Latency 22582us 406ms 6516ms 5665us 46629us 21379us**
1.96,1.96,hs1,100,1288943643,100000M,,980,94,107439,10,57596,8,2426,93,126676,9,165.0,15,16,,,,,1427,9,48,0,231,0,1244,10,52,0,2715,11,11089us,22143ms,40946ms,18167us,204ms,240ms,22582us,406ms,6516ms,5665us,46629us,21379us
While trying to benchmark some NFS server using the bonnie benchmark, I noticed that one row of the results are latency values. I was wondering if anyone can explain what does this latency values represent. Thanks!
Sample bonnie results (Latency line emphasized):
mshamma@hs1:/mnt/hs18/bonnie$ sudo bonnie -u root -c 100 -s 100000
Using uid:0, gid:0.
Writing a byte at a time...done
Writing intelligently...done
Rewriting...done
Reading a byte at a time...done
Reading intelligently...done
start 'em...done...done...done...done...done...
Create files in sequential order...done.
Stat files in sequential order...done.
Delete files in sequential order...done.
Create files in random order...done.
Stat files in random order...done.
Delete files in random order...done.
Version 1.96 ------Sequential Output------ --Sequential Input- --Random-
Concurrency 100 -Per Chr- --Block-- -Rewrite- -Per Chr- --Block-- --Seeks--
Machine Size K/sec %CP K/sec %CP K/sec %CP K/sec %CP K/sec %CP /sec %CP
hs1 100000M 980 94 107439 10 57596 8 2426 93 126676 9 165.0 15
**Latency 11089us 22143ms 40946ms 18167us 204ms 240ms**
Version 1.96 ------Sequential Create------ --------Random Create--------
hs1 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
files /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP /sec %CP
16 1427 9 48 0 231 0 1244 10 52 0 2715 11
**Latency 22582us 406ms 6516ms 5665us 46629us 21379us**
1.96,1.96,hs1,100,1288943643,100000M,,980,94,107439,10,57596,8,2426,93,126676,9,165.0,15,16,,,,,1427,9,48,0,231,0,1244,10,52,0,2715,11,11089us,22143ms,40946ms,18167us,204ms,240ms,22582us,406ms,6516ms,5665us,46629us,21379us
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
延迟基本上是告诉硬盘要做什么、等待硬盘将磁头移动到正确位置(如果不是 SSD)等所需的时间。如果将读/写某些内容所需的时间视为数据量的线性函数,则它就是 Y 截距。
Latency basically is the time needed to tell the harddisk what to do, to wait for the harddisk to move the head to the right location (if it isn't an SSD), and so on. If you take the time it takes to read/write something as a linear function of the amount of data, it's the Y-intercept.