HDparm

This Forum is for Question, Comment, Request & all things conserning Linux. All Hail Mighty Tux

Moderator: [PX]Kal Bob

Post Reply
User avatar
Ghost [PX]
Posts: 3392
Joined: Sun Mar 23, 2003 2:36 am
Location: The smallest room in existence
Contact:

HDparm

Post by Ghost [PX] »

I dug up some stuff of the net, and I found how to enable UDMA 100 using HDparm.


list of types
hdparm -X33 -> MDMA 1 13.3MB/sec
hdparm -X34 -> MDMA 2 16.6MB/sec
hdparm -X64 -> UDMA 0 (ATA16) 16.7MB/sec
hdparm -X65 -> UDMA 1 (ATA 25) 25MB/sec
hdparm -X66 -> UDMA 2 (ATA 33) 33MB/sec
hdparm -X67 -> UDMA 3 (ATA 44) 44.4MB/sec
hdparm -X68 -> UDMA 4 (ATA 66) 66MB/sec
hdparm -X69 -> UDMA 5 (ATA 100)100MB/sec
make sure your bios has UDMA enabled

Now, if I can just find how to add this to scripts.
Nature is bountiful where idiots are concerned

No, they arent breasts, they're personalities, because its ok to like a girl for her personalities

It takes a big man to cry, but it takes a bigger man to laugh at that man
[PX]Kal Bob
Site Admin
Posts: 1959
Joined: Sun Mar 23, 2003 1:41 am
Location: Stalinist Russia!
Contact:

Howto make a script

Post by [PX]Kal Bob »

nano /usr/bin/harddisk-script

hdparm -d1 -X69 -c3 -M16 /dev/hda

Save this file.

then:

chmod o+x /usr/bin/harddisk-script

then at the any terminal

harddisk-script

that will run the script.
KalNet SysAdmin.
Elitism- It's Lonely At The Top. But It's Comforting To Look Down Upon Everyone At The Bottom.
User avatar
Ghost [PX]
Posts: 3392
Joined: Sun Mar 23, 2003 2:36 am
Location: The smallest room in existence
Contact:

Post by Ghost [PX] »

There are a few more args than just those that should be added to the command which will improve performance (which I am still looking into). Thanks for the scripting though. Do you have any idea as to how to add that to the start-up?
Nature is bountiful where idiots are concerned

No, they arent breasts, they're personalities, because its ok to like a girl for her personalities

It takes a big man to cry, but it takes a bigger man to laugh at that man
Post Reply

Return to “Linux Forum”