LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 07-13-2003, 07:56 PM   #1
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Rep: Reputation: 15
Dma


I activated dma on /dev/hdc to speed up my dvd playback on xine. The commands I used was hdparm -d1 /dev/hdc but whenever I restart the comp it switches back to it being deactivated. What option do I add to fstab to activated it on startup.
 
Old 07-13-2003, 08:02 PM   #2
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
add that same line to your rc.local file.
and also add:
options hdc-cd dma=1
to your /etc/modules.conf file
 
Old 07-13-2003, 08:04 PM   #3
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
thanks
 
Old 07-13-2003, 08:25 PM   #4
DrOzz
Senior Member
 
Registered: May 2003
Location: Sydney, Nova Scotia, Canada
Distribution: slackware
Posts: 4,185

Rep: Reputation: 60
did it work alright?
 
Old 07-13-2003, 10:38 PM   #5
InsaneBob
Member
 
Registered: Mar 2003
Posts: 105

Original Poster
Rep: Reputation: 15
Ya it worked I was wondering though if I should activate dma for my hard drive too?
 
Old 07-13-2003, 10:48 PM   #6
LoungeLizard
Member
 
Registered: Apr 2003
Location: Tampa, Florida
Distribution: Mint 17.2 ,OpenSuse, Kali and Pepermint OS 6
Posts: 276

Rep: Reputation: 30
I would you will see a big difference in proformance if you do
 
Old 07-15-2003, 08:45 PM   #7
Bruce Hill
HCL Maintainer
 
Registered: Jun 2003
Location: McCalla, AL, USA
Distribution: Arch, Gentoo
Posts: 6,940

Rep: Reputation: 129Reputation: 129
Quote:
Originally posted by LoungeLizard
I would you will see a big difference in proformance if you do
I changed I/O from 16-bit to 32-bit, and enabled DMA, and only saw a change from 47.06 MB/sec to 47.41 MB/sec, and I don't even know if these times are good or not. I would like to hear what someone has to say about this.
 
Old 07-16-2003, 05:49 AM   #8
crashmeister
Senior Member
 
Registered: Feb 2002
Distribution: t2 - trying to anyway
Posts: 2,541

Rep: Reputation: 47
Just do hdparm -I /dev/whatever and you'll see what is enabled.There is a * beside the mode that is currently running - like *udma5 or whatever is on.
I only get 30 MB/sec out of my drive.
 
  


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
Hard Drive Problems: timeout waiting for DMA; error waiting for DMA mintee Linux - Hardware 10 09-21-2007 05:06 AM
DMA works but not by default (despite "use DMA by default" kernel) mehlkelm Linux - Hardware 7 04-11-2005 03:29 PM
Dma hpcpg Linux - Hardware 4 03-10-2004 12:54 AM
dma talkinggoat Linux - Hardware 6 01-30-2004 07:04 PM
Suse 8.2 change my DMA setting on my DVD-R drive to off & IDE DMA MODE NOT SHOWING IT maximalred Linux - General 0 08-23-2003 04:58 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 07:43 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