Centos SATA 奇慢問題!?!?!

/dev/sda:
Timing cached reads:   3120 MB in  2.00 seconds = 1559.98 MB/sec
Timing buffered disk reads:   26 MB in  5.04 seconds =   5.16 MB/sec

試過轉 hdparm 果D settings 都係咁上下...
我另一部server 有成5x MB/s ....都係用centos 5
係唔係因為OS 唔support 945GM or ich7r ?

[ 本帖最後由 clbbhk 於 2009-3-30 22:24 編輯 ]

我發現同一部機用IDE 快好多~
/dev/hda:
Timing cached reads:   3108 MB in  2.00 seconds = 1554.18 MB/sec
Timing buffered disk reads:   76 MB in  3.06 seconds =  24.81 MB/sec

應該係Sata 問題...不過SATA 我無論set ACHI 同一般 mode 都係咁慢~
又唔可以手動enable dma...

TOP

有可能係你隻 hard disk 唔夾個 linux
曾經試過 hitachi 同 maxtor 都有相同問題
可能需要 update hard disk firmware..

這個問題有時候正如同一 hard disk 可以係 windows 度慢過 linux 度

TOP

原帖由 archy 於 2009-3-30 23:52 發表
有可能係你隻 hard disk 唔夾個 linux
曾經試過 hitachi 同 maxtor 都有相同問題
可能需要 update hard disk firmware..

這個問題有時候正如同一 hard disk 可以係 windows 度慢過 linux 度

我覺得關DMA 事...因為隻IDE 都係關左DMA 先快~
不過SATA 點可以SET DMA?

TOP

你主機開返 AHCI 佢,如果行緊IDE MODE 係會有慢的問題

TOP

原帖由 Wai 於 2009-3-31 10:23 發表
你主機開返 AHCI 佢,如果行緊IDE MODE 係會有慢的問題

不過SATA 我無論set ACHI 同一般 mode 都係咁慢~
試過搵HDD firmware 又無得down~

TOP

/dev/sda:
Timing cached reads:   25120 MB in  1.99 seconds = 12638.55 MB/sec
Timing buffered disk reads:  268 MB in  3.00 seconds =  89.30 MB/sec
你部又真係幾慢...
咩 chip set and hard disk model?
dmesg 中 sda 附近有咩睇?

TOP

SCSI device sda: 234439535 512-byte hdwr sectors (120033 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
SCSI device sda: 234439535 512-byte hdwr sectors (120033 MB)
sda: Write Protect is off
sda: Mode Sense: 00 3a 00 00
SCSI device sda: drive cache: write back
sda: sda1 sda2
sd 0:0:0:0: Attached scsi disk sda

TOP

ata1: SATA link up 1.5 Gbps (SStatus 113 SControl 300)
ata1.00: HPA detected: current 234439535, native 234441648
ata1.00: ATA-6: ST3120026AS, 3.18, max UDMA/133
ata1.00: 234439535 sectors, multi 16: LBA48
ata1.00: configured for UDMA/133

ICH:
ICH7: IDE controller at PCI slot 0000:00:1f.1
GSI 18 sharing vector 0xD1 and IRQ 18
ACPI: PCI Interrupt 0000:00:1f.1[A] -> GSI 18 (level, low) -> IRQ 209
ICH7: chipset revision 2
ICH7: not 100% native mode: will probe irqs later

[ 本帖最後由 clbbhk 於 2009-3-31 20:30 編輯 ]

TOP

呢段應該係冇開 AHCI 的吧?
有開的話又會 show 乜野 information?
[    1.045029] ata1: SATA link up 3.0 Gbps (SStatus 123 SControl 300)
[    1.045768] ata1.00: ATA-7: ST3250620AS, 3.AHG, max UDMA/100
[    1.045770] ata1.00: 488397168 sectors, multi 0: LBA48 NCQ (depth 31/32)
[    1.046714] ata1.00: configured for UDMA/100
[    2.571112] scsi 0:0:0:0: Direct-Access     ATA      ST3250620AS      3.AH PQ: 0 ANSI: 5
[    2.571235] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
[    2.571244] sd 0:0:0:0: [sda] Write Protect is off
[    2.571245] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.571259] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.571296] sd 0:0:0:0: [sda] 488397168 512-byte hardware sectors (250059 MB)
[    2.571304] sd 0:0:0:0: [sda] Write Protect is off
[    2.571305] sd 0:0:0:0: [sda] Mode Sense: 00 3a 00 00
[    2.571318] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[    2.571320]  sda: sda1 sda2 sda3 < sda5 sda6 sda7 sda8 sda9 >

TOP