The Haus

Saturday, May 18, 2002

Disk Problem Solved

After playing around with the hdparm command in Linux, I discovered why I was having so much trouble with disk access on my Red Hat drive. It was not enabling DMA transfers. My transfer rates (as reported by hdparm) shot from 3.8M/sec to 31.5M/sec. It's still well under the theoretical maximum, but it is lightyears better. To activate the changes, I uncommented the following lines in /etc/sysconfig/harddisks:
USE_DMA=1
MULTIPLE_IO=16
EIDE_32BIT=3
If your distribution doesn't use the above file, add the following line to rc.local:
hdparm -d1 -m16 -c3 /dev/xxx
Replace the xxx with the drive's device name. Mine is the slave on the first IDE channel so it is hdb. Just be careful. The hdparm command can also wreck your drive. Check out the O'Reilly Network article on it for more information.

News for 05/18/2002

Recent Headlines

January 5, 2015: It Returns!
August 10, 2007: SCO SUCKS IT DOWN!
July 5, 2007: Slackware 12.0 Released
May 20, 2007: PhpBB 3.0 RC 1 Released
February 2, 2007: DOOM3 1.31 Patch

January 27, 2007: Join the World Community Grid
January 17, 2007: Flash Player 9 for Linux
December 30, 2006: Darkness over Daggerford 1.2
December 19, 2006: Pocket Tunes 4.0 Released
December 9, 2006: WRT54G 1.01.1 Firmware OK with Linux/Mac

All original information on this website is copyright © TheHaus.Net, 1999-2005. The use of original images, text, and/or code from this website without expressed written consent is prohibited. The authors of this site cannot be held responsible for any damage, real or imagined, which comes from the use of information presented on this site. All trademarks used are the properties of their respective owners. This site is not to be used as a floatation device (but if you try, I want a video tape of it).