在 bonnie 基准测试中,延迟结果代表什么?

发布于 2024-10-01 07:39:53 字数 1664 浏览 0 评论 0原文

在尝试使用 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 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

泪是无色的血 2024-10-08 07:39:53

延迟基本上是告诉硬盘要做什么、等待硬盘将磁头移动到正确位置(如果不是 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.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文