Re: Page cache write performance issue
From: Andrew Morton
Date: Wed Oct 13 2004 - 03:43:27 EST
Nick Piggin <piggin@xxxxxxxxxxxxxxx> wrote:
>
> Andrew probably has better ideas.
uh, is this an ia32 highmem box?
If so, you've hit the VM sour spot. That 128M highmem zone gets 100%
filled with dirty pages and we end up doing a ton of writeout off the page
LRU. And we do that while `dd' is cheerfully writing to a totally
different part of the disk via balance_dirty_pages(). Seekstorm ensues.
Although last time I looked (a long time ago) the slowdown was only 2:1 -
perhaps your disk is in writethrough mode??
Basically, *any* other config is fine. 896MB and below, 1.5GB and above.
I could well understand that a minor kswapd tweak would make this bad
situation worse. Making the dirty ratios really small (dirty_ratio less
than the 128MB) should make it go away.
If it's not ia32 then dunno.
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/