免费注册 查看新帖 |

Chinaunix

  平台 论坛 博客 文库
最近访问板块 发新帖
查看: 4653 | 回复: 5
打印 上一主题 下一主题

[已解决]RHEL5.3安装在t43p UltraSlim Bay上硬盘性能特低 [复制链接]

论坛徽章:
0
跳转到指定楼层
1 [收藏(0)] [报告]
发表于 2009-06-05 15:59 |只看该作者 |倒序浏览
不知道大家遇到这样的问题没?
我弄了个高仿的光驱位的硬盘托,里面带PATA转SATA接口,支持SATA,所以弄了个250G的SATA的硬盘
在WindowsXP下2块硬盘运行模式都是UDMA-5,完全没问题

但是在RHEL5.3下硬盘托里的那个硬盘被识别为hdc,而另外一个被正常的识别为sda

hdparm -i /dev/hdc

/dev/hdc:

Model=Hitachi HTS723225L9A360, FwRev=FCDOC30F, SerialNo=090321FC2D30NJG616AE
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=15058kB, MaxMultSect=16, MultSect=16
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=yes: mode=0x80 (12 WriteCache=enabled
Drive conforms to: unknown:  ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

* signifies the current active mode

可以看出模式没有被识别出来

hdparm -tT /dev/hdc

/dev/hdc:
Timing cached reads:   3256 MB in  2.00 seconds = 1628.75 MB/sec
Timing buffered disk reads:    6 MB in  3.96 seconds =  1.52 MB/sec


速度也太低了吧


hdparm -i /dev/sda

/dev/sda:

Model=HTS721010G9AT00                         , FwRev=MCZIA5DA, SerialNo=      MPC0B2Y0GKUT9E
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=7539kB, MaxMultSect=16, MultSect=?16?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=195371568
IORDY=on/off, tPIO={min:240,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2 udma3 udma4 *udma5
AdvancedPM=yes: mode=0x80 (12 WriteCache=enabled
Drive conforms to: ATA/ATAPI-6 T13 1410D revision 3a:  ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6

* signifies the current active mode


hdparm -tT /dev/sda

/dev/sda:
Timing cached reads:   3148 MB in  2.00 seconds = 1574.49 MB/sec
Timing buffered disk reads:  122 MB in  3.02 seconds =  40.40 MB/sec


不知道大家遇到这种问题了吗?

求助各位大侠!!

[ 本帖最后由 moonstar2k 于 2009-6-6 15:27 编辑 ]

论坛徽章:
0
2 [报告]
发表于 2009-06-05 18:12 |只看该作者
我弄了个高仿的光驱位的硬盘托,里面带PATA转SATA接口,支持SATA,所以弄了个250G的SATA的硬盘。
====================>

PATA转SATA

实际还是在按照ATA的速度运行,达不到SATA的速度

就是光驱那里转接硬盘对不对?


我用ThinkPad很多年了,ThinkPad 运行linux很好的。。。。。。。。。。。

论坛徽章:
0
3 [报告]
发表于 2009-06-05 18:15 |只看该作者
[root@localhost ~]# hdparm -tT /dev/hda

/dev/hda:
Timing cached reads:   1988 MB in  2.00 seconds = 994.10 MB/sec
Timing buffered disk reads:  104 MB in  3.01 seconds =  34.58 MB/sec
[root@localhost ~]# dmidecode -t 1
# dmidecode 2.7
SMBIOS 2.33 present.

Handle 0x0001, DMI type 1, 25 bytes.
System Information
        Manufacturer: IBM
        Product Name: 23737WM
        Version: ThinkPad T42
        Serial Number: L375C20
        UUID: D89D1C81-4797-11CB-AE0F-D870F94419EC
        Wake-up Type: Power Switch

[root@localhost ~]#





看看我的你那已经不错了

论坛徽章:
0
4 [报告]
发表于 2009-06-06 01:53 |只看该作者
原帖由 unixlinuxsys 于 2009-6-5 18:12 发表
我弄了个高仿的光驱位的硬盘托,里面带PATA转SATA接口,支持SATA,所以弄了个250G的SATA的硬盘。
====================>

PATA转SATA

实际还是在按照ATA的速度运行,达不到SATA的速度

就是光驱那里转接 ...



对,是光驱那里转接硬盘

我是在保留原硬盘的基础上,把光驱位换成了硬盘
即在双硬盘(原硬盘安装Windows)的基础上,在光驱位的硬盘上安装Linux

ATA的速度也不至于那么低啊



hdparm -tT /dev/hdc

/dev/hdc:
Timing cached reads:   3256 MB in  2.00 seconds = 1628.75 MB/sec
Timing buffered disk reads:    6 MB in  3.96 seconds =  1.52 MB/sec

论坛徽章:
0
5 [报告]
发表于 2009-06-06 15:09 |只看该作者
解决了,在启动时给内核传递 hdc=noprobe参数,系统就把/dev/hdc识别为/dev/sdb了
kernel /vmlinuz-2.6.18-128.el5 ro root=LABEL=/ rhgb quiet vga=803 hdc=noprobe

以下是识别为/dev/sdb后的性能

hdparm -tT /dev/sdb

/dev/sdb:
Timing cached reads:   3568 MB in  2.00 seconds = 1785.87 MB/sec
Timing buffered disk reads:  228 MB in  3.01 seconds =  75.74 MB/sec

hdparm -i /dev/sdb

/dev/sdb:

Model=Hitachi HTS723225L9A360                 , FwRev=FCDOC30F, SerialNo=090321FC2D30NJG616AE
Config={ HardSect NotMFM HdSw>15uSec Fixed DTR>10Mbs }
RawCHS=16383/16/63, TrkSize=0, SectSize=0, ECCbytes=4
BuffType=DualPortCache, BuffSize=15058kB, MaxMultSect=16, MultSect=?16?
CurCHS=16383/16/63, CurSects=16514064, LBA=yes, LBAsects=268435455
IORDY=on/off, tPIO={min:120,w/IORDY:120}, tDMA={min:120,rec:120}
PIO modes:  pio0 pio1 pio2 pio3 pio4
DMA modes:  mdma0 mdma1 mdma2
UDMA modes: udma0 udma1 udma2
AdvancedPM=yes: mode=0x80 (12 WriteCache=enabled
Drive conforms to: unknown: ATA/ATAPI-2 ATA/ATAPI-3 ATA/ATAPI-4 ATA/ATAPI-5 ATA/ATAPI-6 ATA/ATAPI-7

* signifies the current active mode


hdparm -I /dev/sdb

/dev/sdb:

ATA device, with non-removable media
        Model Number:       Hitachi HTS723225L9A360                 
        Serial Number:      090321FC2D30NJG616AE
        Firmware Revision:  FCDOC30F
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5; Revision: ATA8-AST T13 Project D1697 Revision 0b
Standards:
        Supported: 8 7 6 5
        Likely used: 8
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:  488397168
        device size with M = 1024*1024:      238475 MBytes
        device size with M = 1000*1000:      250059 MBytes (250 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Queue depth: 32
        Standby timer values: spec'd by Vendor, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: 128 (0x80)
        Recommended acoustic management value: 128, current value: 254
        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=120ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    Host Protected Area feature set
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    NOP cmd
           *    DOWNLOAD_MICROCODE
           *    Advanced Power Management feature set
                Power-Up In Standby feature set
           *    SET_FEATURES required to spinup after power up
                SET_MAX security extension
                Automatic Acoustic Management feature set
           *    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
           *    WRITE_{DMA|MULTIPLE}_FUA_EXT
           *    64-bit World wide name
           *    IDLE_IMMEDIATE with UNLOAD
           *    WRITE_UNCORRECTABLE command
           *    Segmented DOWNLOAD_MICROCODE
           *    SATA-I signaling speed (1.5Gb/s)
           *    SATA-II signaling speed (3.0Gb/s)
           *    Native Command Queueing (NCQ)
           *    Host-initiated interface power management
           *    Phy event counters
           *    unknown 76[12]
                Non-Zero buffer offsets in DMA Setup FIS
                DMA Setup Auto-Activate optimization
                Device-initiated interface power management
                In-order data delivery
           *    Software settings preservation
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
                supported: enhanced erase
        82min for SECURITY ERASE UNIT. 84min for ENHANCED SECURITY ERASE UNIT.
Checksum: correct


可以看出已经在UDMA5模式下工作了,但是不知道为什么hdparm -i 检测不出来


以下是 /dev/sda的

hdparm -I /dev/sda

/dev/sda:

ATA device, with non-removable media
        Model Number:       HTS721010G9AT00                        
        Serial Number:      MPC0B2Y0GKUT9E
        Firmware Revision:  MCZIA5DA
Standards:
        Used: ATA/ATAPI-6 T13 1410D revision 3a
        Supported: 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:  195371568
        device size with M = 1024*1024:       95396 MBytes
        device size with M = 1000*1000:      100030 MBytes (100 GB)
Capabilities:
        LBA, IORDY(can be disabled)
        Standby timer values: spec'd by Vendor, no device specific minimum
        R/W multiple sector transfer: Max = 16  Current = 16
        Advanced power management level: 128 (0x80)
        Recommended acoustic management value: 128, current value: 254
        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=240ns  IORDY flow control=120ns
Commands/features:
        Enabled Supported:
           *    SMART feature set
                Security Mode feature set
           *    Power Management feature set
           *    Write cache
           *    Look-ahead
           *    Host Protected Area feature set
           *    WRITE_BUFFER command
           *    READ_BUFFER command
           *    NOP cmd
           *    DOWNLOAD_MICROCODE
           *    Advanced Power Management feature set
                Power-Up In Standby feature set
           *    SET_FEATURES required to spinup after power up
                Address Offset Reserved Area Boot
                SET_MAX security extension
                Automatic Acoustic Management feature set
           *    Device Configuration Overlay feature set
           *    Mandatory FLUSH_CACHE
           *    SMART error logging
           *    SMART self-test
           *    IDLE_IMMEDIATE with UNLOAD
Security:
        Master password revision code = 65534
                supported
        not     enabled
        not     locked
                frozen
        not     expired: security count
        not     supported: enhanced erase
        48min for SECURITY ERASE UNIT.
HW reset results:
        CBLID- above Vih
        Device num = 0 determined by the jumper
Checksum: correct


hdparm -tT /dev/sda

/dev/sda:
Timing cached reads:   3188 MB in  2.00 seconds = 1594.21 MB/sec
Timing buffered disk reads:  134 MB in  3.03 seconds =  44.28 MB/sec


还是 SATA的性能好啊

[ 本帖最后由 moonstar2k 于 2009-6-6 15:12 编辑 ]

论坛徽章:
0
6 [报告]
发表于 2009-06-06 15:14 |只看该作者
另外 和我有同样问题的朋友,可以参见

http://www.thinkwiki.org/wiki/Problems_with_SATA_and_Linux


http://sth.freeshell.org/t43-linux.html
http://pepper.linuxfocus.org/~guido/gentoo-tpt43p/

[ 本帖最后由 moonstar2k 于 2009-6-6 15:24 编辑 ]
您需要登录后才可以回帖 登录 | 注册

本版积分规则 发表回复

  

北京盛拓优讯信息技术有限公司. 版权所有 京ICP备16024965号-6 北京市公安局海淀分局网监中心备案编号:11010802020122 niuxiaotong@pcpop.com 17352615567
未成年举报专区
中国互联网协会会员  联系我们:huangweiwei@itpub.net
感谢所有关心和支持过ChinaUnix的朋友们 转载本站内容请注明原作者名及出处

清除 Cookies - ChinaUnix - Archiver - WAP - TOP