public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 2.6.xx:  dirty pages never being sync'd to disk?
@ 2005-11-14 15:30 Mark Lord
  2005-11-14 15:35 ` Arjan van de Ven
  0 siblings, 1 reply; 9+ messages in thread
From: Mark Lord @ 2005-11-14 15:30 UTC (permalink / raw)
  To: Linux Kernel

Okay, this one's been nagging me since I first began using 2.6.xx.

My Notebook computer has 2GB of RAM, and the 2.6.xx kernel seems quite
happy to leave hundreds of MB of dirty unsync'd pages laying around
more or less indefinitely.  This worries me, because that's a lot of data
to lose should the kernel crash (which it has once quite recently)
or the battery die.

/proc/sys/vm/dirty_expire_centisecs = 3000 (30 seconds)
/proc/sys/vm/dirty_writeback_centisecs = 500 (5 seconds)

My understanding (please correct if wrong) is that this means
that any (file data) page which is dirtied, should get flushed
back to disk after 30 seconds or so.

That doesn't happen here.  Hundreds of MB of dirty pages just
hang around indefinitely, until I manually type "sync",
at which point the hard drive gets very busy for 20 seconds or so.

What's going on?

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

end of thread, other threads:[~2005-11-14 17:51 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-11-14 15:30 2.6.xx: dirty pages never being sync'd to disk? Mark Lord
2005-11-14 15:35 ` Arjan van de Ven
2005-11-14 15:49   ` Mark Lord
2005-11-14 15:54     ` Mark Lord
2005-11-14 16:56     ` Badari Pulavarty
2005-11-14 17:15       ` Mark Lord
2005-11-14 17:38         ` Mark Lord
2005-11-14 17:44         ` Mark Lord
2005-11-14 17:51           ` Mark Lord

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