全球主机交流论坛

标题: 19刀终于下来了,才805小时,但是硬盘dd测试只有1.2mb/秒 [打印本页]

作者: mayapop1    时间: 2013-5-15 21:45
标题: 19刀终于下来了,才805小时,但是硬盘dd测试只有1.2mb/秒
本帖最后由 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

作者: 云生    时间: 2013-5-15 21:46
下载速度多少
作者: mayapop1    时间: 2013-5-15 21:47
才这么点

[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
  
作者: 404    时间: 2013-5-15 21:50
dsync正常, 你们被vps里fdatasync化的dsync骗太久了
作者: yohu    时间: 2013-5-15 21:50
参数问题而已,800多小时不错了,我的都1万多。
作者: yjlml    时间: 2013-5-15 21:52
我不知道怎么用   
作者: tointer    时间: 2013-5-15 21:52
坏道了
作者: mayapop1    时间: 2013-5-15 21:53
tointer 发表于 2013-5-15 21:52
坏道了


作者: cs19861010    时间: 2013-5-15 22:02
为啥我执行 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.
复制代码

作者: cs19861010    时间: 2013-5-15 22:17
是500G么?貌似我的是500G,600多个小时
作者: mayapop1    时间: 2013-5-15 22:36
cs19861010 发表于 2013-5-15 22:17
是500G么?貌似我的是500G,600多个小时

我的是1t
作者: wmfy808    时间: 2013-5-15 22:37
mayapop1 发表于 2013-5-15 22:36
我的是1t

我的是2T
作者: 单手摘月    时间: 2013-5-15 23:09
提示: 作者被禁止或删除 内容自动屏蔽
作者: dantengde    时间: 2013-6-5 18:31
1 Raw_Read_Error_Rate     0x000f   109   100   006    Pre-fail  Always       -                                   24645504  这个不正常啊
作者: icebin    时间: 2013-6-5 18:34
我的也是1T
作者: whirl    时间: 2013-6-5 19:23
我的4万多小时了,真悲剧啊。
作者: Satoshi    时间: 2013-6-5 19:30
赶快扔了




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