public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* Question on bdflush
@ 2000-11-14 23:52 Zhiruo Cao
  2000-11-15  8:52 ` Peter Samuelson
  2000-11-15  9:38 ` Pierre Etchemaite
  0 siblings, 2 replies; 3+ messages in thread
From: Zhiruo Cao @ 2000-11-14 23:52 UTC (permalink / raw)
  To: linux-kernel


Hello,

Why does bdflush (kupdated and kflushed) writes to disk periodically even
though the system is apparently idle.  I think if no more new buffers
becomes dirty, kflushed show not write anything to disk.   I'm working
on a notebook, and I found the periodic disk access is very annoying and
consuming a lot of power.

Thanks!

Joe

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: Question on bdflush
  2000-11-14 23:52 Question on bdflush Zhiruo Cao
@ 2000-11-15  8:52 ` Peter Samuelson
  2000-11-15  9:38 ` Pierre Etchemaite
  1 sibling, 0 replies; 3+ messages in thread
From: Peter Samuelson @ 2000-11-15  8:52 UTC (permalink / raw)
  To: Zhiruo Cao; +Cc: linux-kernel


[Zhiruo Cao]
> Why does bdflush (kupdated and kflushed) writes to disk periodically
> even though the system is apparently idle.  I think if no more new
> buffers becomes dirty, kflushed show not write anything to disk.

kill -STOP {your cron process}
mount all ext2 filesystems with '-o noatime' or at least '-o nodiratime'

Lots of other small things can be done to reduce disk access.  I think
you can even 'kill -STOP {kflushd}' (but don't forget to reenable it at
some point).

Peter
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 3+ messages in thread

* RE: Question on bdflush
  2000-11-14 23:52 Question on bdflush Zhiruo Cao
  2000-11-15  8:52 ` Peter Samuelson
@ 2000-11-15  9:38 ` Pierre Etchemaite
  1 sibling, 0 replies; 3+ messages in thread
From: Pierre Etchemaite @ 2000-11-15  9:38 UTC (permalink / raw)
  To: Zhiruo Cao; +Cc: linux-kernel


Le 14-Nov-2000, Zhiruo Cao écrivait :
> Why does bdflush (kupdated and kflushed) writes to disk periodically even
> though the system is apparently idle.  I think if no more new buffers
> becomes dirty, kflushed show not write anything to disk.   I'm working
> on a notebook, and I found the periodic disk access is very annoying and
> consuming a lot of power.

Look for noflushd on Freshmeat...


-- 
Linux blade.workgroup 2.4.0-test11 #1 Tue Nov 14 16:44:49 CET 2000 i686 unknown
 10:38am  up 17:34,  2 users,  load average: 1.13, 1.17, 1.17

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
Please read the FAQ at http://www.tux.org/lkml/

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2000-11-15 10:10 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2000-11-14 23:52 Question on bdflush Zhiruo Cao
2000-11-15  8:52 ` Peter Samuelson
2000-11-15  9:38 ` Pierre Etchemaite

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox