找回密码
 立即注册
搜索
热搜: 活动 交友 discuz
查看: 37|回复: 4

求翻译帝

[复制链接]

23

主题

352

回帖

787

积分

高级会员

积分
787
发表于 2013-1-27 02:03:58 | 显示全部楼层 |阅读模式
我发了一下VPS的DD数据,[ol]
  • [root@myvps ~]# dd if=/dev/zero of=test bs=64k count=4k oflag=dsync
  • 4096+0 records in
  • 4096+0 records out
  • 268435456 bytes (268 MB) copied, 708.024 seconds, 379 kB/s
  • !!!![/ol]复制代码下面是回复:

    By using such a small block size, large count and oflag=dsync you're doing nothing but crippling the drive's write cache, which you'd never normally want to do, and that would make the test completely irrelevant to real-world performance. This is not relevant to real world use at all.

    You're using a command that forces the disk to write individual 64K blocks to disk, bypassing all write caching. Any disks that report 10 MB or more on that command are either SSD drives or on a hardware raid that ignores the flag to disable write caching.

    Again, the correct command to actually get more of an accurate figure when it comes to real-world performance/usage would be: dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync

    This command is heavily used throughout the VPS market, but if you are looking for something more accurate, you should definitely use ioping.


    求翻译,神马意思???
  • 回复

    使用道具 举报

    252

    主题

    850

    回帖

    2506

    积分

    金牌会员

    积分
    2506
    发表于 2013-1-27 02:05:45 | 显示全部楼层
    你的命令持续测试丫
    回复

    使用道具 举报

    71

    主题

    3895

    回帖

    8061

    积分

    论坛元老

    积分
    8061
    发表于 2013-1-27 02:06:33 | 显示全部楼层
    让你用dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync测试,说这个准确
    回复

    使用道具 举报

    23

    主题

    352

    回帖

    787

    积分

    高级会员

    积分
    787
     楼主| 发表于 2013-1-27 02:15:15 | 显示全部楼层

    domin 发表于 2013-1-27 02:06



    让你用dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync测试,说这个准确

    额  多谢  
    回复

    使用道具 举报

    6

    主题

    2201

    回帖

    4426

    积分

    论坛元老

    积分
    4426
    发表于 2013-1-27 02:06:00 | 显示全部楼层
    了解
    回复

    使用道具 举报

    您需要登录后才可以回帖 登录 | 立即注册

    本版积分规则

    Archiver|手机版|小黑屋|Discuz! X

    GMT+8, 2025-1-11 14:47 , Processed in 0.018497 second(s), 4 queries , Gzip On, Redis On.

    Powered by Discuz! X3.5

    © 2001-2024 Discuz! Team.

    快速回复 返回顶部 返回列表