AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / server / 问题 / 601399
Accepted
Rabbit
Rabbit
Asked: 2014-06-04 00:33:38 +0800 CST2014-06-04 00:33:38 +0800 CST 2014-06-04 00:33:38 +0800 CST

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

  • 772

我正在使用 ProxmoxVE,我想针对该产品的性能运行一些基准测试。这些基准之一是 bonnie++ ;它在虚拟机(qemu-kvm)中运行得非常好,但是当我在容器(openVZ)中运行它时,它不能提供我的阅读速度(只写)。

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

虚拟机和容器是 Debian 7.4。这是容器中 bonnie 的输出:

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 的伪文件系统。也许它与这个问题有关,但我找不到与 bonnie 和 openVZ 有相同问题的人......

谢谢你的帮助。

问候,

托马斯。

openvz
  • 1 1 个回答
  • 283 Views

1 个回答

  • Voted
  1. Best Answer
    Pavel Odintsov
    2014-06-19T01:04:01+08:002014-06-19T01:04:01+08:00

    您能否显示此命令输出: cat /proc/mounts 来自您的 VPS?

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

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

    • 1

相关问题

  • 对 Linux 虚拟化解决方案进行基准测试的最佳方法

  • 哪个 Apache 包最适合 mod_wsgi Django 应用程序?

  • 备份 OpenVZ 容器的最佳做法是什么?

  • 我应该选择哪些虚拟化平台,Xen 还是 OpenVZ?[关闭]

  • OpenVZ 从 NAS 迁移和故障转移?

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    新安装后 postgres 的默认超级用户用户名/密码是什么?

    • 5 个回答
  • Marko Smith

    SFTP 使用什么端口?

    • 6 个回答
  • Marko Smith

    命令行列出 Windows Active Directory 组中的用户?

    • 9 个回答
  • Marko Smith

    什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同?

    • 3 个回答
  • Marko Smith

    如何确定bash变量是否为空?

    • 15 个回答
  • Martin Hope
    Tom Feiner 如何按大小对 du -h 输出进行排序 2009-02-26 05:42:42 +0800 CST
  • Martin Hope
    Noah Goodrich 什么是 Pem 文件,它与其他 OpenSSL 生成的密钥文件格式有何不同? 2009-05-19 18:24:42 +0800 CST
  • Martin Hope
    Brent 如何确定bash变量是否为空? 2009-05-13 09:54:48 +0800 CST
  • Martin Hope
    cletus 您如何找到在 Windows 中打开文件的进程? 2009-05-01 16:47:16 +0800 CST

热门标签

linux nginx windows networking ubuntu domain-name-system amazon-web-services active-directory apache-2.4 ssh

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve