Thanks, that should do it.

I found the relevant script that mandrake executes if you've enabled
optimisations in /etc/rc.d/init.d/mandrake_everytime.  I'll either try
to change the conditional to cause the script to execute here or just
copy the relevant optimisations stuff (which looks very similar to what
you provided) to rc.local.

Thanks!
Will

-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]On Behalf Of Chris Slater-Walker
Sent: Monday, August 28, 2000 10:04 AM
To: [EMAIL PROTECTED]
Subject: Re: [newbie] How to manually enable HD optimisations after
install


first of all, I don't know whether what I am about to suggest is what is
meant by "disk optimistation," but here goes:

In the console if you enter:

hdparm -t /dev/hda  (where hda is a hard disk, probably the one on which
you
have installed Linux) then you will get an answer after a number of
seconds
showing the transfer rate which that disk has achieved.

Just doing hdparm /dev/hda with no options will show you the paramters
which
the IDE controller is using for that disk

If your disk is not using DMA then try entering:

hdparm -d 1 /dev/hda and then do the -t option again. See if you get any
increase in transfer rate.

Also one worth trying is hdparm -c 1 /dev/hda which will enable 32-bit
I/O.

If you find that these improve disk performance you can put them in a
combined form, i.e.:

hdparm -c 1 -d 1 -k 1 /dev/hda

at the end of /etc/rc.local. If you have more than one disk then try it
on
the others as well.

***NB*** It is possible that using these commands will lead to data
corruption, although I myself have never had that experience. Also
remember
that if you are using SCSI disks and not IDE your device names will be
/dev/sda, /dev/sdb etc.

There are many other hdparm options covering such things as buffer size,
block size etc. which I have to admit I don't really understand.

Chris

----- Original Message -----
From: "Wise, William M." <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, August 28, 2000 2:18 PM
Subject: [newbie] How to manually enable HD optimisations after install


> Just wondering how I would manually enable HD optimisations after
> installing and specifying during the install that they should be
turned
> off.
>
> I was trying to figure out a problem I was having (turned out to be
> automount) and thought reinstalling with optimisations might do the
> trick.  How can I turn them on now that I know that they weren't the
> source of my problem.
>
> Thanks in advance for any help you can provide,
> Will
>
>


Reply via email to