全球主机交流论坛

标题: 我靠 这硬盘! [打印本页]

作者: 民工三代    时间: 2013-1-30 21:14
标题: 我靠 这硬盘!
login as: root
[email protected]'s password:
Linux debian 2.6.32-5-686 #1 SMP Sun Sep 23 09:49:36 UTC 2012 i686

The programs included with the Debian GNU/Linux system are free software;
the exact distribution terms for each program are described in the
individual files in /usr/share/doc/*/copyright.

Debian GNU/Linux comes with ABSOLUTELY NO WARRANTY, to the extent
permitted by applicable law.
root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
记录了16384+0 的读入
记录了16384+0 的写出
1073741824字节(1.1 GB)已复制,9.24892 秒,116 MB/秒
root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
记录了16384+0 的读入
记录了16384+0 的写出
1073741824字节(1.1 GB)已复制,12.0296 秒,89.3 MB/秒
root@debian:~#


作者: 民工三代    时间: 2013-1-30 21:15
root@debian:~# dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
记录了16384+0 的读入
记录了16384+0 的写出
1073741824字节(1.1 GB)已复制,7.83431 秒,137 MB/秒

作者: wwww961h    时间: 2013-1-30 21:16
很牛逼嘛,数据很不错的....
作者: 单手摘月    时间: 2013-1-30 21:18
提示: 作者被禁止或删除 内容自动屏蔽
作者: zhukai1010    时间: 2013-1-30 21:20
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 4.58281 seconds, 234 MB/s
  五折yard
作者: 404    时间: 2013-1-30 21:26
单手摘月 发表于 2013-1-30 07:18
这个如何?

cd /dev/shm么......
作者: 单手摘月    时间: 2013-1-30 21:28
提示: 作者被禁止或删除 内容自动屏蔽
作者: 404    时间: 2013-1-30 21:32
单手摘月 发表于 2013-1-30 07:28
绝对不是。。。。。/dev/shm速度有这么慢?这vps在咩咩那

第一个1.3G不科学......我台机1866双通道轻载也才2.2G/s.......我觉得内存读写频繁的机器写内存1.3G/s差不多........1.3G的物理硬盘写入ssd做raid0不知道能不能跑到..........

下一个只写了2.5G/s的其实只写了102M....数据小产生偏差很正常......
作者: 单手摘月    时间: 2013-1-30 21:36
提示: 作者被禁止或删除 内容自动屏蔽
作者: 我是人    时间: 2013-1-30 21:39
别虐待dd了。。。


dd if=/dev/urandom of=/dev/sda 才是主角。。。
作者: wormcy    时间: 2013-1-30 21:48
dd if=/dev/zero of=test bs=64k count=16k conv=fdatasync
16384+0 records in
16384+0 records out
1073741824 bytes (1.1 GB) copied, 5.32802 s, 202 MB/s
我应该告诉你这货是免费的么
作者: fqi    时间: 2013-1-30 21:52
提示: 作者被禁止或删除 内容自动屏蔽
作者: mix    时间: 2013-1-30 21:53
单手摘月 发表于 2013-1-30 21:36
vps是openvz ssd 128M- -

不够内存写到/dev/shm里面。。。。


最早4K可是有100M+的
作者: xaut3    时间: 2013-1-30 21:55
这结果不错哦   
作者: 404    时间: 2013-1-30 21:56
单手摘月 发表于 2013-1-30 07:36
vps是openvz ssd 128M- -

不够内存写到/dev/shm里面。。。。


dsync会忠实的执行4k次fdatasync刷新.....
fdatasync会实刷几次就天知道了.....
有些vm可能会在下层改参数或者合并刷新次数, 造成dsync和fdatasync结果近似......




欢迎光临 全球主机交流论坛 (https://443502.xyz/) Powered by Discuz! X3.4