加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – 磁盘吞吐量 – 使用dd的新文件与现有文件

发布时间:2020-12-13 22:53:00 所属栏目:Linux 来源:网络整理
导读:我想使用以下命令测量我的磁盘吞吐量: dd if=/dev/zero of=/mydir/junkfile bs=4k count=125000 如果垃圾文件存在,我的磁盘吞吐量比不存在垃圾文件时小6倍.我重复了很多次,结果仍然存在.谁知道为什么? 谢谢, 阿米尔. 解决方法 In order to minimize disk c
我想使用以下命令测量我的磁盘吞吐量:

dd if=/dev/zero of=/mydir/junkfile bs=4k count=125000

如果垃圾文件存在,我的磁盘吞吐量比不存在垃圾文件时小6倍.我重复了很多次,结果仍然存在.谁知道为什么?

谢谢,

阿米尔.

解决方法

In order to minimize disk caching,you need to copy an amount
significantly larger than the amount of memory in your system. 2X the
amount of RAM in your server is a useful amount.

从http://www.westnet.com/~gsmith/content/postgresql/pg-disktesting.htm

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读