Quote:
Originally posted by zajelo3
Oh and before you change any disk settings go ahead and run "/sbin/hdparm -Tt /dev/hda" as root and record the results.
|
/dev/hda:
Timing buffer-cache reads: 184 MB in 2.03 seconds = 90.52 MB/sec
Timing buffered disk reads: 4 MB in 5.84 seconds = 701.48 kB/sec
Quote:
Anyway, the way to change the DMA setting with hdparm is to use the "X" option, like this:
"/sbin/hdparm -X33 /dev/hda" Issue this command as root and it should change the dma setting for you. But it will only set it to "udma1" not "udma2" as the specs on your hard drive say that it's an ATA-33 and that corresponds to "udma1".
|
Did that. Here's the new report.
/dev/hda:
ATA device, with non-removable media
Model Number: IBM-DADA-26480
Serial Number: ZC4ZCHD7013
Firmware Revision: AD6OA4AA
Standards:
Used: ATA/ATAPI-4 T13 1153D revision 17
Supported: 4 3 2 1
Configuration:
Logical max current
cylinders 13424 13424
heads 15 15
sectors/track 63 63
--
CHS current addressable sectors: 12685680
LBA user addressable sectors: 12685680
device size with M = 1024*1024: 6194 MBytes
device size with M = 1000*1000: 6495 MBytes (6 GB)
Capabilities:
LBA, IORDY(can be disabled)
Buffer size: 460.0kB bytes avail on r/w long: 4 Queue depth: 1
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)
DMA: sdma0 sdma1 sdma2 mdma0 *mdma1 mdma2 udma0 udma1 udma2
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:
* NOP cmd
* 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
Advanced Power Management feature set
Security:
supported
not enabled
not locked
frozen
not expired: security count
not supported: enhanced erase
18min for SECURITY ERASE UNIT.
So it only changed the setting from mdma2 to mdma1.
Did a few more speed tests - results vary wildly, not sure this proves anything.
/dev/hda:
Timing buffer-cache reads: 188 MB in 2.02 seconds = 93.27 MB/sec
Timing buffered disk reads: 12 MB in 3.02 seconds = 3.98 MB/sec
/dev/hda:
Timing buffer-cache reads: 156 MB in 2.03 seconds = 76.67 MB/sec
Timing buffered disk reads: 4 MB in 4.17 seconds = 983.11 kB/sec
/dev/hda:
Timing buffer-cache reads: 172 MB in 2.02 seconds = 84.99 MB/sec
Timing buffered disk reads: 6 MB in 3.73 seconds = 1.61 MB/sec
You're right, tweaking this setting might be a sneaky way to speed up my snail-slow system. But I read all the warnings and I don't fancy risking system failure typing commands I don't really understand!
So far everything is still working.. Is there a difference between UDMA and MDMA? Any more ideas about relatively unrisky commands to try to shift the settings?
Regarding the Suse equivalent of Fedora's boot script file, do you think it could be /etc/init.d/boot.local? At the moment there's nothing in it but some blurb including this:
# /etc/init.d/boot.local
#
# script with local commands to be executed from init on system startup
#
# Here you should add things, that should happen directly after booting
# before we're going to the first run level.
#