终于查到服务器的问题了,原来在此!

论坛日常站务以及建议或咨询
回复
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

终于查到服务器的问题了,原来在此!

#1

帖子 oneleaf » 2007-04-27 21:54

原来服务器采用的是Seagate SATA 300G 8M缓存的硬盘,而Seagate的SATA硬盘在Linux下的支持奇差无比,速度在1M/s下。
狂晕!

代码: 全选

$ sudo hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       ST3300831AS                             
        Serial Number:      3NF1B7CV
        Firmware Revision:  3.06    
Standards:
        Supported: 7 6 5 4 
        Likely used: 7
Configuration:
        Logical         max     current
        cylinders       16383   16383
        heads           16      16
        sectors/track   63      63
        --
        CHS current addressable sectors:   16514064
        LBA    user addressable sectors:  268435455
        LBA48  user addressable sectors:  586072368
        device size with M = 1024*1024:      286168 MBytes
        device size with M = 1000*1000:      300069 MBytes (300 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Standard, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Recommended acoustic management value: 128, current value: 0
        DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6 
             Cycle time: min=120ns recommended=120ns
        PIO: pio0 pio1 pio2 pio3 pio4 
             Cycle time: no flow control=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    READ BUFFER cmd
           *    WRITE BUFFER cmd
           *    Host Protected Area feature set
           *    Look-ahead
           *    Write cache
           *    Power Management feature set
                Security Mode feature set
           *    SMART feature set
           *    FLUSH CACHE EXT command
           *    Mandatory FLUSH CACHE command 
           *    Device Configuration Overlay feature set 
           *    48-bit Address feature set 
                SET MAX security extension
           *    DOWNLOAD MICROCODE cmd
           *    General Purpose Logging feature set
           *    SMART self-test 
           *    SMART error logging 
Security: 
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
        not     supported: enhanced erase
Checksum: correct

代码: 全选

$ uname -a
Linux ubuntuserver 2.6.15-28-server #1 SMP Tue Mar 13 21:09:03 UTC 2007 i686 GNU/Linux

代码: 全选

$ sudo hdparm -v /dev/sda

/dev/sda:
 IO_support   =  0 (default 16-bit)
 readonly     =  0 (off)
 readahead    = 256 (on)
 geometry     = 36481/255/63, sectors = 586072368, start = 0

寻求解决方案。
上次由 oneleaf 在 2007-04-27 22:03,总共编辑 1 次。
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#2

帖子 oneleaf » 2007-04-27 21:55

http://ryanlee.iblog.com/post/817/8379

一个和我类似的倒霉的家伙。

https://bugs.launchpad.net/ubuntu/+sour ... +bug/48979

有人已经报告了bug

找到一点东西:

http://home-tj.org/wiki/index.php/Sil_m15w

好像到现在也没有很好的解决,心都凉了。
头像
eexpress
帖子: 58428
注册时间: 2005-08-14 21:55
来自: 长沙

#3

帖子 eexpress » 2007-04-27 22:18

以前不是很好的吗
● 鸣学
头像
oneleaf
论坛管理员
帖子: 10441
注册时间: 2005-03-27 0:06
系统: Ubuntu 12.04

#4

帖子 oneleaf » 2007-04-27 22:41

以前人数少,不觉得,现在人数一多,硬盘的IO就明显成为瓶颈。
tt2nn
帖子: 205
注册时间: 2007-01-15 9:45

#5

帖子 tt2nn » 2007-05-08 9:02

哪儿能看到速度呢?是
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
这儿看吗?楼上的好似没有这项?
下面的是我机器上显示出来的,请楼主帮看看

/dev/sda:

ATA device, with non-removable media
Model Number: SAMSUNG HD080HJ/P
Serial Number: S0DEJ1HLB17453
Firmware Revision: ZH100-51
Standards:
Used: ATA/ATAPI-7 T13 1532D revision 4a
Supported: 7 6 5 4
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 156301488
LBA48 user addressable sectors: 156301488
device size with M = 1024*1024: 76319 MBytes
device size with M = 1000*1000: 80026 MBytes (80 GB)
Capabilities:
LBA, IORDY(can be disabled)
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* Segmented DOWNLOAD_MICROCODE
* SATA-I signaling speed (1.5Gb/s)
* SATA-II signaling speed (3.0Gb/s)
* Host-initiated interface power management
* Phy event counters
Device-initiated interface power management
* Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Long Sector Access (AC1)
* SCT LBA Segment Access (AC2)
* SCT Error Recovery Control (AC3)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
Security:
Master password revision code = 65534
supported
not enabled
not locked
frozen
not expired: security count
supported: enhanced erase
46min for SECURITY ERASE UNIT. 44min for ENHANCED SECURITY ERASE UNIT.
Checksum: correct
头像
Jackay
帖子: 78
注册时间: 2006-11-29 14:25
联系:

#6

帖子 Jackay » 2007-05-08 9:20

还好,我从来不买seagate和WD的硬盘。 :roll:
头像
BenQ
帖子: 498
注册时间: 2006-09-03 20:36
来自: 泾阳

#7

帖子 BenQ » 2007-05-09 17:39

谢天谢地!
奔三奔四,还在这里;不快不慢,有用就行。
dbzhang800
帖子: 3182
注册时间: 2006-03-10 15:10
来自: xi'an China
联系:

#8

帖子 dbzhang800 » 2007-05-09 17:42

噢,找到原因就好
头像
yysq009
帖子: 2682
注册时间: 2007-01-28 23:00
来自: @江西|南昌@
联系:

#9

帖子 yysq009 » 2007-05-09 18:10

希捷是硬盘的老大吧! 我一直用希捷的盘子,手上还有1G 600M 100M 的希捷硬盘 并且都可以用的。
还没有开始享受SATA的速度。目前还是使用IDE。不过现在仿佛在逼用户使用SATA,一个7.04把IDE认成了SATA,再一个现在的新主板都没有IDE接口了。汗!!!!!