全球主机交流论坛

 找回密码
 注册

QQ登录

只需一步,快速开始

CeraNetworks网络延迟测速工具IP归属甄别会员请立即修改密码
查看: 2006|回复: 16
打印 上一主题 下一主题

19刀终于下来了,才805小时,但是硬盘dd测试只有1.2mb/秒

[复制链接]
跳转到指定楼层
1#
发表于 2013-5-15 21:45:42 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式
本帖最后由 mayapop1 于 2013-5-15 21:49 编辑

为什么dd测试这么慢

dd if=/dev/zero of=test bs=64k count=4k oflag=dsync  

[root@sbcsecuresender ~]#  smartctl -A /dev/sda
smartctl 5.42 2011-10-20 r3458 [x86_64-linux-2.6.32-279.el6.x86_64] (local build)
Copyright (C) 2002-11 by Bruce Allen, http://smartmontools.sourceforge.net

=== START OF READ SMART DATA SECTION ===
SMART Attributes Data Structure revision number: 10
Vendor Specific SMART Attributes with Thresholds:
ID# ATTRIBUTE_NAME          FLAG     VALUE WORST THRESH TYPE      UPDATED  WHEN_FAIL                            ED RAW_VALUE
  1 Raw_Read_Error_Rate     0x000f   109   100   006    Pre-fail  Always       -                                   24645504
  3 Spin_Up_Time            0x0003   097   097   000    Pre-fail  Always       -                                   0
  4 Start_Stop_Count        0x0032   100   100   020    Old_age   Always       -                                   10
  5 Reallocated_Sector_Ct   0x0033   100   100   010    Pre-fail  Always       -                                   0
  7 Seek_Error_Rate         0x000f   100   253   030    Pre-fail  Always       -                                   837916
  9 Power_On_Hours          0x0032   100   100   000    Old_age   Always       -                                   805
10 Spin_Retry_Count        0x0013   100   100   097    Pre-fail  Always       -                                   0
12 Power_Cycle_Count       0x0032   100   100   020    Old_age   Always       -                                   10
183 Runtime_Bad_Block       0x0032   100   100   000    Old_age   Always       -                                   0
184 End-to-End_Error        0x0032   100   100   099    Old_age   Always       -                                   0
187 Reported_Uncorrect      0x0032   100   100   000    Old_age   Always       -                                   0
188 Command_Timeout         0x0032   100   100   000    Old_age   Always       -                                   0
189 High_Fly_Writes         0x003a   100   100   000    Old_age   Always       -                                   0
190 Airflow_Temperature_Cel 0x0022   073   068   045    Old_age   Always       -                                   27 (Min/Max 26/28)
191 G-Sense_Error_Rate      0x0032   100   100   000    Old_age   Always       -                                   0
192 Power-Off_Retract_Count 0x0032   100   100   000    Old_age   Always       -                                   7
193 Load_Cycle_Count        0x0032   081   081   000    Old_age   Always       -                                   39580
194 Temperature_Celsius     0x0022   027   040   000    Old_age   Always       -                                   27 (0 17 0 0 0)
197 Current_Pending_Sector  0x0012   100   100   000    Old_age   Always       -                                   0
198 Offline_Uncorrectable   0x0010   100   100   000    Old_age   Offline      -                                   0
199 UDMA_CRC_Error_Count    0x003e   200   200   000    Old_age   Always       -                                   0
240 Head_Flying_Hours       0x0000   100   253   000    Old_age   Offline      -                                   85766201934583
241 Total_LBAs_Written      0x0000   100   253   000    Old_age   Offline      -                                   88797586
242 Total_LBAs_Read         0x0000   100   253   000    Old_age   Offline      -                                   3991939
2#
发表于 2013-5-15 21:46:28 来自手机 | 只看该作者
下载速度多少
3#
 楼主| 发表于 2013-5-15 21:47:56 | 只看该作者
才这么点

[root@sbcsecuresender ~]#  dd if=/dev/zero of=test bs=64k count=4k oflag=dsync                                  ^C1826+0 records in
1826+0 records out
119668736 bytes (120 MB) copied, 77.9981 s, 1.5 MB/s
  
4#
发表于 2013-5-15 21:50:02 | 只看该作者
dsync正常, 你们被vps里fdatasync化的dsync骗太久了
5#
发表于 2013-5-15 21:50:54 | 只看该作者
参数问题而已,800多小时不错了,我的都1万多。
6#
发表于 2013-5-15 21:52:22 | 只看该作者
我不知道怎么用   
7#
发表于 2013-5-15 21:52:46 | 只看该作者
坏道了
8#
 楼主| 发表于 2013-5-15 21:53:56 | 只看该作者
tointer 发表于 2013-5-15 21:52
坏道了

9#
发表于 2013-5-15 22:02:04 | 只看该作者
为啥我执行 smartctl -A /dev/sda 会是
  1. smartctl 5.43 2012-06-30 r3573 [i686-linux-2.6.32-279.el6.i686] (local build)
  2. Copyright (C) 2002-12 by Bruce Allen, http://smartmontools.sourceforge.net

  3. SMART Disabled. Use option -s with argument 'on' to enable it.
复制代码
10#
发表于 2013-5-15 22:17:39 | 只看该作者
是500G么?貌似我的是500G,600多个小时
您需要登录后才可以回帖 登录 | 注册

本版积分规则

Archiver|手机版|小黑屋|全球主机交流论坛

GMT+8, 2024-6-8 20:45 , Processed in 0.279838 second(s), 13 queries , Gzip On, MemCache On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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