[问题]如何优化硬盘性能?

声卡/显卡/打印机/USB设备等硬件问题(网卡问题请发上面的网卡板块)
回复
aaronfromchina
帖子: 79
注册时间: 2006-03-02 23:16
来自: 深圳
送出感谢: 0
接收感谢: 0
联系:

[问题]如何优化硬盘性能?

#1

帖子 aaronfromchina » 2006-03-05 19:53

用的是Seagate 串口 200G 硬盘(型号: Barracuda 7200.7 SATA - ST3200822AS)
具体参数:http://www.seagate.com/cda/products/dis ... 99,00.html

用hdparm -I /dev/sda 得出以下信息:

/dev/sda:

ATA device, with non-removable media
Model Number: ST3200822AS
Serial Number: 4LJ34NQA
Firmware Revision: 3.01
Standards:
Used: ATA/ATAPI-6 T13 1410D revision 2
Supported: 6 5 4 3
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: 390721968
device size with M = 1024*1024: 190782 MBytes
device size with M = 1000*1000: 200049 MBytes (200 GB)
Capabilities:
LBA, IORDY(can be disabled)
bytes avail on r/w long: 4 Queue depth: 1
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Recommended acoustic management value: 254, 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
* SMART self-test
* SMART error logging
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
Checksum: correct

用hdparm /dev/sda得出以下信息:

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


请问接下来我应该优化哪些参数?

谢谢。
zigzed
帖子: 267
注册时间: 2006-02-27 10:32
送出感谢: 0
接收感谢: 0

#2

帖子 zigzed » 2006-03-07 16:14

确认 DMA 是否打开,如果没有打开 DMA 就可以了。至于 32bit 带宽支持,你可以打开,然后测试一下是否有明显性能提高再决定。
nabisco
帖子: 10
注册时间: 2007-04-24 10:10
送出感谢: 0
接收感谢: 0

#3

帖子 nabisco » 2007-04-29 21:57

问题是LZ的硬盘被识别成Sata的了,用hdparm -c3 m16好像不行阿~
我也是这种情况,怎么办?
回复

回到 “常用硬件支持”