首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >Bonnie不提供顺序输入/块的速度

Bonnie不提供顺序输入/块的速度
EN

Server Fault用户
提问于 2014-06-03 08:33:38
回答 1查看 317关注 0票数 0

我正在使用ProxmoxVE,我想运行一些关于该产品性能的基准测试。这些基准测试之一是bonnie++;它在VM (Qemu)中运行得非常好,但是当我在conainer (openVZ)中运行它时,它没有提供读取速度(只提供写入)。

我不明白为什么..。有人知道发生了什么事吗?

VMs ans容器为Debian7.4。以下是邦妮在容器中的输出:

代码语言:javascript
复制
root@ct2:/# bonnie++ -u root
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   1     -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
ct2              1G   843  99 59116   8 60351   4  4966  99 +++++ +++  2745   8
Latency              9558us    3582ms     527ms    1672us     936us    5248us
Version  1.96       ------Sequential Create------ --------Random Create--------
ct2                 -Create-- --Read--- -Delete-- -Create-- --Read--- -Delete--
              files  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP  /sec %CP
                 16 +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++ +++++ +++
Latency             19567us     358us     368us     107us      59us      25us
1.96,1.96,ct2,1,1401810323,1G,,843,99,59116,8,60351,4,4966,99,+++++,+++,2745,8,16,,,,,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,+++++,+++,9558us,3582ms,527ms,1672us,936us,5248us,19567us,358us,368us,107us,59us,25us

/的文件系统类型为"simfs",这是openVZ的伪文件系统。也许这和这个问题有关,但我找不到和邦妮和openVZ有同样问题的人.

谢谢你的帮助。

致以敬意,

托马斯。

EN

回答 1

Server Fault用户

回答已采纳

发布于 2014-06-18 09:04:01

您能显示这个命令输出:来自VPS的cat /proc/mounts吗?

OpenVZ有两种磁盘布局: 1) simfs (旧的,过时的;它不是块设备,它只是物理服务器上的文件夹) ploop (新的,推荐的;它是带单独文件系统的真正的块设备)

但在这两种情况下,您都无法直接访问块设备(如/dev/loopX)。但是你可以打电话给你的提供者提供它,但请记住,它是非常不安全的。

票数 1
EN
页面原文内容由Server Fault提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://serverfault.com/questions/601399

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档