Click to See Complete Forum and Search --> : 'Drake drive optimization (MKIII ?)


drmbb
01-23-2001, 06:24 PM
I'm hoping some other mandrake users can help me out here.

For a variety of reasons (shifting partitions and such) I decided to reinstall 'Drake 7.1. This time, just for a change, I chose the "optimize hard drives" option in the install. The performance is great, better than when I would optimize my drives in the past! But where does Mandrake put the optimization parameters???

When I do it manually, I stick my hdparm settings in rc.sysinit - this time, I've been plowing through stuff in /rc.d, but can't find where the install stuck the optimaziton settings. Anyone know where these are??


------------------
Michael
mbblack@cstone.net

"Oh my god I'm going to be sucked into a black hole I'll be sucked into oblivion and what comes out the other side, I don't know" Homer Simpson (may be not exact, but the spirit of the thought is there).

1pcWarren
01-24-2001, 04:47 AM
I know for sure that Mandrake use ide autotune in 7.2, & beleve that they switched to doing it in 7.1. It's called from a line like:
"append=IDE1=autotune"
in your /etc/lilo.conf.

You can safely put a hdparm line in one of your /etc/rc.d files though, I use:

hdparm -c1d1m16u1k1 /dev/hda

in /etc/rc.d/rc.local

Warning! using unsupported settings can cause massive data corruption! "man hdparm" 1st! (don't try a umaskirq on your CDROM like I did http://www.linuxnewbie.org/ubb/redface.gif)



------------------
Full plate and packing steel! - Minsk
http://www.linuxfreak.com/~wardonx
wardonx@linuxfreak.com

MkIII_Supra
01-24-2001, 09:42 AM
I put all my drive performance parameters in /etc/rc.local like shown below:


# Hard Drive speed tweak
hdparm -c 1 -d 1 -k 1 /dev/hda
hdparm -c 1 -d 1 -k 1 /dev/hdb

# FakeBo Start up
/usr/local/bin/fakebo -b
echo "Fakebo started."

# PortSentry StartUp
/usr/local/psionic/portsentry/portsentry -stcp
/usr/local/psionic/portsentry/portsentry -sudp
echo "Port Sentry is now active and on gaurd!"

# Firewall Start Up
/etc/xxxxxxxxx/rc.firewall
echo "Firewall started."

# THIS IS TO START THE IPLOG PROGRAM AT BOOT!
/usr/sbin/iplog -l /var/log/ip.log
echo "Internet address logging has been enabled.


Unfortunatly I haven't had time to really dig into my Linux box / layout, I basically installed, patched, set-up security then set-up all productivity and started using it. I haven't rebooted in:


5:32am up 18 days, 5:31, 1 user, load average: 0.02, 0.09, 0.09
66 processes: 62 sleeping, 4 running, 0 zombie, 0 stopped
CPU states: 4.1% user, 3.5% system, 0.0% nice, 92.2% idle
Mem: 196192K av, 193332K used, 2860K free, 0K shrd, 4172K buff
Swap: 249408K av, 3520K used, 245888K free 101808K cached

and I don't plan to until Debian comes out with the 2.4 kernel. Then I will go and buy Debian and the Metro Link Video drivers for the new 32MB Nvidia video card I will be obtaining pretty soon. After that install my system won't be rebooted until after I get out of the Navy in about 20 months as of the 30th of this month.

Maybe when I get out of school I can spend a little more time rooting through the Linux system, until then it just has to run so I can use it daily. Sorry I can't be a more help than this. http://www.linuxnewbie.org/ubb/frown.gif

------------------
The Dragon is swift and powerful. Beware his wrath...
Honor your family and yourself. Speak not out of passion but out of wisdom and temper the fires of war that reside in you, and you shall then reach your full measure as a man of Honor, Courage and Integrity.
http://www.angelfire.com/wa2/MkIIISupra/ (http://www.angelfire.com/wa2/MkIIISupra)