如何查看硬盘参数(例如 DMA 模式)?
系统信息没看明白,不过我播放硬盘上的DVDrip效果很好呢,要如何查看是否打开硬盘的DMA模式或是DMA是多少呢?红着脸我又来提问了~~ man hdparmsometing like
hdparm -Tt /dev/hda 一定牢记jacker训示,好好学习 :cry:
可是man看得真的好晕。
我把 -Tt的返回结果粘贴在下面,你帮我再瞧瞧啊!郁闷
# hdparm -Tt /dev/hda
/dev/hda:
Timing cached reads: 1336 MB in2.00 seconds = 667.96 MB/sec
Timing buffered disk reads:read(2097152) returned 1388544 bytes
/dev/hdb:
Timing cached reads: 1372 MB in2.00 seconds = 685.96 MB/sec
Timing buffered disk reads:124 MB in3.06 seconds =40.47 MB/sec 例如我的第二块 IDE 硬盘:
[root@MagicLinux ~]# hdparm -I /dev/hdb
/dev/hdb:
ATA device, with non-removable media
Model Number: ST320420A
Serial Number: 3CL0GP09
Firmware Revision:3.21
Standards:
Supported: 4 3 2 1
Likely used: 5
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 39851760
device size with M = 1024*1024: 19458 MBytes
device size with M = 1000*1000: 20404 MBytes (20 GB)
Capabilities:
LBA, IORDY(can be disabled)
Buffer size: 2048.0kB Queue depth: 1
Standby timer values: spec'd by Standard
R/W multiple sector transfer: Max = 16Current = 16
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 *udma3 udma4
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=240nsIORDY flow control=120ns
Commands/features:
Enabled Supported:
* READ BUFFER cmd
* WRITE BUFFER cmd
* Look-ahead
* Write cache
* Power Management feature set
* SMART feature set
* DOWNLOAD MICROCODE cmd
HW reset results:
CBLID- above Vih
Device num = 1
Checksum: correct
看到了么:
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 *udma3 udma4
* 星号表示当前的工作模式为 udma3 oh,my god
真的是太感谢了,现在我弄明白了:我的第一块Maxtor硬盘工作在UDMA6模式,第二块Seagea硬盘工作在UDMA5模式(都是支持的最高传输速速率),怪不得看DVDRIP的电影感觉很流畅的,原来感觉也很重要啊,幸亏没有乱用hdparm参数进行所谓的“优化”!!本版精华贴里边有篇优化硬盘的文章,可能不太适合ML RC3呢,RC3做得不错,默认就进行了优化了,厉害啊,装了RC3的朋友还是仔细看看以后再动手哦~~~
再次感谢答复! 对于大多数较新的硬盘,可以使用如下通用方法优化:
hdparm -c1 -d1 -m16 -u -k root@IBM-linux ~]# hdparm -I /dev/sda | grep DMA
DMA: sdma0 sdma1 sdma2 mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5
# hdparm -Tt /dev/sda
/dev/sda:
Timing cached reads: 3284 MB in2.00 seconds = 1641.90 MB/sec
Timing buffered disk reads:102 MB in3.02 seconds =33.77 MB/sec
笔记本硬盘,还是慢啊。 ft, my name is Jackey, not jacker 接客 *^_^*
页:
[1]