Re: [OT] No Swap. Re: [BUG 2.6.90-test5] kernel shits itself with 48mb ram under moderate load

From: William Lee Irwin III
Date: Sun Sep 28 2003 - 13:04:45 EST


On Sun, Sep 28, 2003 at 07:54:07PM +0200, Ihar 'Philips' Filipau wrote:
> That's what matters. Try to work in vim if it is permanently get
> swaped out. _*Very*_ _*very*_ not nice.
> And there is no memory pressure - kernel just decided to enlarge I/O
> cache... 100% stupid.
> I personally prefer to have statical I/O cache - never saw it working
> reliably with dynamic allocation.

This is a different question from what I had in mind. There are some
controls in 2.6.x to control the relative tendencies to evict unmapped
pagecache vs. unmapping etc. anonymous memory. I'd try adjusting
/proc/sys/vm/swappiness and reporting how (in)effective that is, then
if that still doesn't work, various things can be adjusted.


-- wli
-
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/