LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise
User Name
Password
Linux - Enterprise This forum is for all items relating to using Linux in the Enterprise.

Notices


Reply
  Search this Thread
Old 05-04-2004, 10:52 AM   #1
Miwa
LQ Newbie
 
Registered: May 2004
Posts: 1

Rep: Reputation: 0
Unhappy RH Enterprise hdparm using_dma is off.


Hi,

I am using RH Enterprise(WS) kernel-2.4.9 and I have question about hdparm settings.

Does anyone know why 'using_dma' is set to '0 (off) ' as default? It is making the system slow down quite a bit. Is there risk to keep 'using_dma' on? I would like to keep the DMA set to ''ON''. But once the system is rebooted, it sets back to 'OFF'. I think in RH 7.3, DMA is set to ''ON'' as default. Why did it changed to ''OFF'' as default? And how to set it up so that DMA will stay ''on'' after reboot?

Could anyone help me with this?

Thanks
Miwa
 
Old 05-12-2004, 05:18 AM   #2
Crashed_Again
Senior Member
 
Registered: Dec 2002
Location: Atlantic City, NJ
Distribution: Ubuntu & Arch
Posts: 3,503

Rep: Reputation: 57
I had a similar problem with hdparm in Gentoo. It turned out to be a problem with kernel configuration. Check your kernel configuration again. Also, I'm not sure where it is in RedHat, but /etc/conf.d/hdparm has the default settings for hdparm on my Gentoo box.
 
Old 05-12-2004, 08:55 AM   #3
320mb
Senior Member
 
Registered: Nov 2002
Location: pikes peak
Distribution: Slackware, LFS
Posts: 2,577

Rep: Reputation: 48
EXAMPLE:
Code:
hdparm -d 1 -c 3 -k 1 -S 253 /dev/hda
the -d 1 flag sets DMA to "on"
the -c 3 flag sets the I/O to 32-bit/ with sync
the -S 253 flag sets the Vendor Specific spin down time.
AND the -k1 flag keeps these settings intact between reboots....
read up on the different flags, options..........
man hdparm
in Slackware all this goes into........./etc/rc.d/rc.local

Last edited by 320mb; 05-12-2004 at 08:57 AM.
 
  


Reply



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 Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
hdparm xjphil Red Hat 2 10-05-2003 12:59 AM
using hdparm? box_l Linux - General 7 10-01-2003 07:49 AM
hdparm zebbedi Linux - Hardware 1 09-02-2003 01:37 PM
hdparm ash4stuff Linux - Hardware 4 08-14-2003 03:05 AM
hdparm -g NOT= hdparm -i ---LILO hangs @ L stevewalsh Linux - General 4 07-23-2001 09:37 PM

LinuxQuestions.org > Forums > Enterprise Linux Forums > Linux - Enterprise

All times are GMT -5. The time now is 12:07 AM.

Main Menu
Advertisement
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
Open Source Consulting | Domain Registration