public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* 3.6-rc7 32-bit PAE miscalculates dirty page limits
@ 2012-09-30  9:38 Pierre Beck
  2012-09-30 18:52 ` H. Peter Anvin
  0 siblings, 1 reply; 7+ messages in thread
From: Pierre Beck @ 2012-09-30  9:38 UTC (permalink / raw)
  To: linux-kernel

Hi,

there seems to be a bug in either ext4 or VM code triggered with 16 GB 
memory when compiled with 32-bit and PAE. dirty_background_ratio 
defaults to 10, dirty_ratio to 20. But in effect, dirty pages are 
strongly limited (zero or negative?). I observed extreme I/O wait states 
and slow disk access. A quick cure was to set dirty_bytes and 
dirty_background_bytes to sane values, overriding the ratios. An 
educated guess: the result of dirty_ratio calculation is stored as an 
unsigned 32-bit integer and overflows?

Greetings,

Pierre Beck

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

end of thread, other threads:[~2012-10-01 22:00 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-09-30  9:38 3.6-rc7 32-bit PAE miscalculates dirty page limits Pierre Beck
2012-09-30 18:52 ` H. Peter Anvin
2012-10-01 21:10   ` Pierre Beck
2012-10-01 21:52     ` Borislav Petkov
2012-10-01 21:53       ` H. Peter Anvin
2012-10-01 21:59         ` Borislav Petkov
2012-10-01 22:00           ` H. Peter Anvin

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