Fedora Linux Support Community & Resources Center

Go Back   FedoraForum.org > Fedora Resources > Guides & Solutions (No Questions)
FedoraForum Search

Forgot Password? Join Us!

Guides & Solutions (No Questions) Post your guides here (No links to Blogs accepted). You can also append your comments/questions to a guide, but don't start a new thread to ask a question. Use another forum for that.

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 3rd April 2004, 02:04 PM
James Offline
Registered User
 
Join Date: Apr 2004
Location: Scotland
Age: 26
Posts: 28
Speed up Hard drive access in Fedora (Ultra DMA)

This small guide will speed up your ultra dma hard disk drive access.

1. Log in as root as these commands can only be run as root.

2.*Open a terminal and type in hdparm -c3 -u1 -a64 -k1 /dev/hda

3. Now if you prefer using a gui you can browse to the location /etc/rc.d/ and open the rc.local file with your favourite text editor, now type in the same command into the config script hdparm -c3 -u1 -a64 -k1 /dev/hda , now save the file and the command will be run every time you start up fedora.

The above step can also be done from the command line by typing. emacs /etc/rc.d/rc.local and then adding the hdparm line as above, once finished save the current buffer and exit, you could also use vi /etc/rc.d/rc.local if you prefer vi.

* This is the explanation of the hdparm commands.

c3 = get/set IDE 32-bit IO setting
u1 = set unmaskirq flag to on
a64 = set fs readahead to 64
k1=turn on set keep_settings_over_reset flag

I experimented quite a bit with the settings and after numerous benchmarks, i found that these settings work best for me.
__________________
uname -a
Linux slag 2.6.12-1.1447_FC4 #1 Fri Aug 26 20:29:51 EDT 2005 i686 athlon i386 GNU/Linux

Last edited by James; 3rd April 2004 at 04:12 PM.
Reply With Quote
  #2  
Old 3rd April 2004, 06:15 PM
r3zzo Offline
Registered User
 
Join Date: Mar 2004
Location: Chile
Age: 30
Posts: 2
Thanks, it's work fine in my computer.
__________________
User Linux: #349180
http://counter.li.org
Arica - Chile
Reply With Quote
  #3  
Old 4th April 2004, 01:33 AM
redhat71 Offline
Registered User
 
Join Date: Feb 2004
Location: China
Posts: 124
Re: Speed up Hard drive access in Fedora (Ultra DMA)

Quote:
Originally posted by James
I experimented quite a bit with the settings and after numerous benchmarks, i found that these settings work best for me.
does the test result (hdparm -tT) beat the default one ?

i tried this before when i was still with redhat linux, but (on my linux box) it seems it's already "optimized" by default
the test results of whatever custom settings i played with hdparm, are less or equal to the default one

also, anyone happens to know if there are some "standard" benchmark data (of hdparm) that i can use to compare with my own

i mean like:
pata100/7200/2M: xx
pata100/7200/8M: xx
sata150/7200/8M: xx

Last edited by redhat71; 5th April 2004 at 09:46 AM.
Reply With Quote
  #4  
Old 4th April 2004, 04:06 AM
Woogie Offline
Registered User
 
Join Date: Mar 2004
Posts: 7
settings file

FYI - These settings can also be placed in the file /etc/sysconfig/harddisks
Reply With Quote
  #5  
Old 4th April 2004, 10:47 PM
wshawn Offline
Registered User
 
Join Date: Apr 2004
Location: Daytona Beach, FL
Age: 47
Posts: 423
usage on my system:

[root@localhost root]# hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 1220 MB in 2.00 seconds = 610.00 MB/sec
Timing buffered disk reads: 46 MB in 3.07 seconds = 14.98 MB/sec
[root@localhost root]# hdparm -tT /dev/hdc

/dev/hdc:
Timing buffer-cache reads: 1216 MB in 2.00 seconds = 608.00 MB/sec
Timing buffered disk reads: 96 MB in 3.00 seconds = 32.00 MB/sec
[root@localhost root]# hdparm -c3 -u1 -a64 -k1 /dev/hda

/dev/hda:
setting fs readahead to 64
setting 32-bit IO_support flag to 3
setting unmaskirq to 1 (on)
setting keep_settings to 1 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
keepsettings = 1 (on)
readahead = 64 (on)
[root@localhost root]# hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 1212 MB in 2.00 seconds = 606.00 MB/sec
Timing buffered disk reads: 60 MB in 3.07 seconds = 19.54 MB/sec
[root@localhost root]# hdparm -c3 -u1 -a64 -k1 /dev/hdc

/dev/hdc:
setting fs readahead to 64
setting 32-bit IO_support flag to 3
setting unmaskirq to 1 (on)
setting keep_settings to 1 (on)
IO_support = 3 (32-bit w/sync)
unmaskirq = 1 (on)
keepsettings = 1 (on)
readahead = 64 (on)
[root@localhost root]# hdparm -tT /dev/hdc

/dev/hdc:
Timing buffer-cache reads: 1076 MB in 2.00 seconds = 538.00 MB/sec
Timing buffered disk reads: 98 MB in 3.05 seconds = 32.13 MB/sec
[root@localhost root]#

Last edited by wshawn; 4th April 2004 at 10:49 PM.
Reply With Quote
  #6  
Old 18th April 2004, 09:21 PM
gonzalo76's Avatar
gonzalo76 Offline
Registered User
 
Join Date: Feb 2004
Location: Buenos Aires, ARG
Age: 37
Posts: 320
Here's a good tutorial

http://ccrma.stanford.edu/planetccrm...unesystem.html
__________________
Greetings :)
gonzalo
Reply With Quote
Reply

Tags
access, dma, drive, fedora, hard, speed, ultra

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Trying to access data on old hard drive dikbrown Hardware & Laptops 11 19th May 2011 05:17 AM
Trying to access old Fedora hard drive claudius1974 Hardware & Laptops 7 17th January 2011 09:38 PM
Access hard drive from live usb? kurtdriver Installation and Live Media 2 3rd March 2009 03:23 AM
Hard Drive Access Tekno_Cowboy Security and Privacy 7 10th January 2009 07:53 AM
Unable to access second hard drive Shyfe Hardware & Laptops 2 1st June 2007 08:41 PM


Current GMT-time: 01:45 (Sunday, 19-05-2013)

TopSubscribe to XML RSS for all Threads in all ForumsFedoraForumDotOrg Archive
logo

All trademarks, and forum posts in this site are property of their respective owner(s).
FedoraForum.org is privately owned and is not directly sponsored by the Fedora Project or Red Hat, Inc.

Privacy Policy | Term of Use | Posting Guidelines | Archive | Contact Us | Founding Members

Powered by vBulletin® Copyright ©2000 - 2012, vBulletin Solutions, Inc.

FedoraForum is Powered by RedHat