LinHES Forums
http://forums.linhes.org/

HDPARM
http://forums.linhes.org/viewtopic.php?f=6&t=2196
Page 1 of 1

Author:  dardack [ Mon Aug 16, 2004 8:29 pm ]
Post subject:  HDPARM

Um everytime i reboot dma get's turned off for the hd that i have the recordings go to. This is why i was having such high cpu usuage. It would be turned on but anytime i rebooted it turned off. So how do i get that to stay on?

Author:  cesman [ Mon Aug 16, 2004 8:51 pm ]
Post subject: 

I'd would say perhaps a search of the forum, but I use that line too much...

Author:  khrusher [ Mon Aug 16, 2004 8:53 pm ]
Post subject: 

add your hdparm command to /etc/init.d/bootmisc.sh...

I have added:

Code:
# enable DMA
 /sbin/hdparm -qd1 /dev/hda
 /sbin/hdparm -c1 -k1 -u1 -d1 -m16 -a8 -Xudma6 /dev/hdb

Author:  dardack [ Tue Aug 17, 2004 4:24 pm ]
Post subject: 

Code:
# enable DMA
/sbin/hdparm -qd1 /dev/hda
/sbin/hdparm -c1 -k1 -u1 -d1 -m16 -a8 -Xudma6 /dev/hdb

OK what is the -q option

and the second command what is all that? I only know -d1 to turn dma on.

Author:  khrusher [ Tue Aug 17, 2004 5:33 pm ]
Post subject: 

got it here http://mysettopbox.tv/phpBB2/viewtopic.php?t=531&highlight=dma

From man page:

-q Handle the next flag quietly, supressing normal output.

Page 1 of 1 All times are UTC - 6 hours
Powered by phpBB® Forum Software © phpBB Group
http://www.phpbb.com/