On Fri, Nov 24, 2000 at 11:10:33PM +0000, Vincent Cunniffe wrote:
> Is there any way to avoid this problem while continuing to make the
> files on the filesystem available to people? Caching (256MB machine,
> very lightly loaded), tweaking of read-ahead, anything like that?
You could check out hdparm; the options I tried (as suggested in some
Corel newsletter I never knew I signed up for) are as follows:
hdparm -q -c 1 -m 16 -u 1 /dev/hda
-q Quiet operation
-c Enable (E)IDE 32-bit I/O
-m Sets multiple sector I/O (IDE block mode); do a hdparm -i /dev/hda
to find out how many it supports; MaxMultSect=16 is the usual reply
-u Set interrupt unmask (you probably need this) - this improves
responsiveness
I went from 6 to 9 MB/s with these options. I'm just not sure if it's
dangerous or not yet ;)
--
O- Nny
NP:Ashes To Ashes (German Slam Version)
Maintained by the ILUG website team. The aim of Linux.ie is to
support and help commercial and private users of Linux in Ireland. You can
display ILUG news in your own webpages, read backend
information to find out how. Networking services kindly provided by HEAnet, server kindly donated by
Dell. Linux is a trademark of Linus Torvalds,
used with permission. No penguins were harmed in the production or maintenance
of this highly praised website. Looking for the
Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!