Thanks Magnus
Guy Van Sanden wrote:
Did you also enable it to run at boot in MDK control center? You can check if the settings were made after reboot by using hdparm again (as root):
do 'hdparm /dev/hda' (repeat for every drive)
[EMAIL PROTECTED] src]# hdparm /dev/hda
/dev/hda: multcount = 16 (on) IO_support = 1 (32-bit) unmaskirq = 1 (on) using_dma = 1 (on) keepsettings = 1 (on) readonly = 0 (off) readahead = 8 (on) geometry = 9732/255/63, sectors = 156355584, start = 0
You speciefied -u -d -k, this maps to unmaskirq, keepsettings, using_dma
Happy hacking...
On Tue, 2003-09-16 at 17:07, Magnus Wirström wrote:
This is great ... I was looking for qa way to do this :) I did you say and put in a script in
/etc/init.d/idedma (the script you attached). I wonder ... if there a way to see that the script is starting correctly and the settings are really made to my system?
Anyway ... thanks for the tip
Magnus
Guy Van Sanden wrote:
First of all, what kind of system are you on (CPU - RAM), which burner are we talking about?
Is it an IDE burner with SCSI emulation?
What could help a lot is tune your disc devices with hdparm (I got a huge boost out of this). Install hdparm with 'urpmi hdparm'.
First turn to your hard drive (/dev/hda I will assume), since it is the
source of data for both your writer OS and programs, it needs to work
optimal.
- check the current settings and mail the output to the list, this way
we can advice you better.
hdparm /dev/hda
Now, make sure you have the specifications of your devices handy.
I use these settings for my Hardisk: 'hdparm -c1 -d1 -k1 -u1 -X69 /dev/hda' Breaking it up: -c1: turn on 32-bit disk access -d1: turn on DMA (is probably on already) -k1: keep settings over bus reset (you need this) -u1: Unmasq IRQ (reduces waits between different disk operations) - Watch out with this one, it has been known to cause system instabilities on some motherboards/harddisks, but it works fine for me. -X69: force IDE-DMA Mode5 (UDMA 100) (adapt to your need, check 'man hdparm'
Test them out to see which one suit you best.
Now do almost the same for the cdrom/dvd/writer devices (e.g. /dev/hdc) 'hdparm -c1 -d1 -k1 -u1 /dev/hdc' 'hdparm -c1 -d1 -k1 -u1 /dev/hdd' Again, test it carefully.
If you are satisfied with what you got, put it in a startup script like the one below (which is /etc/init.d/idedma) Then open the Control Center, go to system - services and set it to run at boot.
--> done
Additionally you can also switch filesystems to get an even better performance. I found ReiserFS very fast, XFS has been reported to be great too.
Good luck and have a lot of fun!
---- BEGIN SCRIPT ---- #!/bin/sh # description: hdparm setup voor harddisks # chkconfig: 2345 99 00
HDPARM="/sbin/hdparm"
case "$1" in 'start') echo "Setting up DMA parameters (hdparm)..." $HDPARM -qc1 -qd1 -qk1 -qu1 -qX69 /dev/hda $HDPARM -qc1 -qd1 -qk1 -qu1 /dev/hdc $HDPARM -qc1 -qd1 -qk1 -qu1 /dev/hdd touch /var/lock/subsys/idedma ;; 'stop') rm -f /var/lock/subsys/idedma ;; *) echo "Usage: $0 { start | stop }" ;; esac exit 0
---- END SCRIPT ----
On Wed, 2003-09-10 at 17:06, Vincent Chen wrote:
Dear all,
Recently, I bought a CDR. While burning CD using xcdroast at 48x, I can barely move my mouse or do anything else. It is still very smooth burning cd and surfing net under windows 2000. How should I tune my mandrake 9.0 for better performance?
Thanks,
----------------------------------------------------------------- f/e$)i= Yahoo!e%f) f57gi!h 2c http://tw.promo.yahoo.com/mail_premium/stationery.html
______________________________________________________________________
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
------------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
______________________________________________________________________
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
------------------------------------------------------------------------
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com
Want to buy your Pack or Services from MandrakeSoft? Go to http://www.mandrakestore.com