LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 10-26-2004, 12:32 AM   #1
true_atlantis
Member
 
Registered: Oct 2003
Distribution: fedora cor 5 x86_64
Posts: 639

Rep: Reputation: 30
hard drive performance


at one poit i got an error saying that the DMA was turned off on my hda... ever since then, the performance of the drive has been extremly poor... here are some outputs. anyone have any suggestions?? how can i make the DMA be turned on automatically for hda? thanks

root:/home/atlantis # hdparm /dev/hda

/dev/hda:
multcount = 0 (off)
IO_support = 0 (default 16-bit)
unmaskirq = 0 (off)
using_dma = 0 (off)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 7297/255/63, sectors = 117231408, start = 0
root:/home/atlantis # hdparm /dev/hdb

/dev/hdb:
multcount = 16 (on)
IO_support = 1 (32-bit)
unmaskirq = 1 (on)
using_dma = 1 (on)
keepsettings = 0 (off)
readonly = 0 (off)
readahead = 8 (on)
geometry = 14946/255/63, sectors = 240121728, start = 0
root:/home/atlantis # hdparm -tT /dev/hda

/dev/hda:
Timing buffer-cache reads: 1492 MB in 2.00 seconds = 746.00 MB/sec
Timing buffered disk reads: 10 MB in 3.53 seconds = 2.83 MB/sec
root:/home/atlantis # hdparm -tT /dev/hdb

/dev/hdb:
Timing buffer-cache reads: 1528 MB in 2.00 seconds = 764.00 MB/sec
Timing buffered disk reads: 110 MB in 3.00 seconds = 36.67 MB/sec
root:/home/atlantis #
 
Old 10-26-2004, 01:50 AM   #2
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
hi
to turn dma on

hdparm -dl /dev/hda

regards
 
Old 10-26-2004, 02:55 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 47
and you can put any/all local commands for hdparm in

/etc/rc.d/rc.local
 
Old 10-26-2004, 03:15 AM   #4
masand
Guru
 
Registered: May 2003
Location: INDIA
Distribution: Ubuntu, Solaris,CentOS
Posts: 5,522

Rep: Reputation: 58
Quote:
Originally posted by 320mb
and you can put any/all local commands for hdparm in

/etc/rc.d/rc.local
hey do we need to execute hdparm command everytime the machine starts up or the status is maintained for future

regards
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


Similar Threads
Thread Thread Starter Forum Replies Last Post
Hard drive performance jeremy Linux - General 550 03-09-2013 08:48 PM
Test Hard Drive performance? voxel Linux - Hardware 7 09-07-2005 01:44 AM
Horrible Hard Drive Performance????? linux-rulz Linux - Hardware 13 06-26-2005 08:10 PM
Did not get the Hard drive performance Raid0! alpha97 Linux - Hardware 21 07-24-2004 03:52 AM
hard drive performance bynaar Slackware 2 12-18-2002 06:21 AM


All times are GMT -5. The time now is 07:11 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration