View previous topic :: View next topic |
Author |
Message |
marshall_j Tux's lil' helper


Joined: 22 Jan 2003 Posts: 98 Location: NZ
|
Posted: Tue Jan 27, 2004 8:45 pm Post subject: Minimise Disk Access |
|
|
Hi,
Having a laptop I want to keep the disk spun down as long as possible when I'm not accessing it. But the logging daemon seems to want to write to it every couple of minutes.
Can someone please tell me if there are any logging utils which will stop this from being happening. Maybe buffer all this information and then write to the HDD every half hour or so instead?
Also, any other handy tips on how to minimise disk access by other programs would be great.
Ta! |
|
Back to top |
|
 |
gebner Tux's lil' helper

Joined: 01 Jan 2004 Posts: 100 Location: Wien, EU
|
Posted: Tue Jan 27, 2004 9:35 pm Post subject: Re: Minimise Disk Access |
|
|
marshall_j wrote: | Can someone please tell me if there are any logging utils which will stop this from being happening. Maybe buffer all this information and then write to the HDD every half hour or so instead? |
I once heard about laptop-mode, I think redhat/fedora has this by default. Unfortunately I don't have a link at hand atm.
UPDATE: Just in case you don't know, that's a kernel patch.
UPDATE: Just found a post on kerneltrap: http://kerneltrap.org/node/view/653
UPDATE: It turns out that laptop-mode is integrated into mainstream 2.6.
UPDATE: Read /usr/src/linux/Documentation/laptop-mode.txt for more info. _________________ clue = if 0 == 0 then clue else error "The poster didn't have any clue when he posted this." |
|
Back to top |
|
 |
TheCoop Veteran


Joined: 15 Jun 2002 Posts: 1814 Location: Where you least expect it
|
Posted: Tue Jan 27, 2004 10:14 pm Post subject: |
|
|
metalog can be configured to buffer logs and then write it to the disk, you'll need to have a look at the man page thou _________________ 95% of all computer errors occur between chair and keyboard (TM)
"One World, One web, One program" - Microsoft Promo ad.
"Ein Volk, Ein Reich, Ein Führer" - Adolf Hitler
Change the world - move a rock |
|
Back to top |
|
 |
|