Re: 2.6.0-test9 - poor swap performance on low end machines

Andrew Morton
2003-12-17T21:40:38Z

Roger Luethi <rl@hellgate.ch> wrote:
>
> FWIW akpm posted a patch to initialize min_free_kbytes depending on
> available RAM which seemed to make sense but it hasn't made it into
> mainline yet.

Yup. ftp://ftp.kernel.org/pub/linux/kernel/people/akpm/patches/2.6/2.6.0-test11/2.6.0-test11-mm1/broken-out/scale-min_free_kbytes.patch

Also, note that setup_per_zone_pages_min() plays games to ensure that the
highmem zone's free pages limit is small: there's not a lot of point in
keeping lots of highmem pages free.