Sami Farin wrote: > On Tue, Sep 04, 2007 at 21:37:35 -0400, Rik van Riel wrote: >> Is the system trying to evict pages like crazy when your >> system becomes unusable? > > I think so.. > >> If so, I wonder if kswapd is simply doing the wrong thing >> and trying to evict data from all zones, simply because the >> highmem zone is low on free pages... > > *shrug* The attached patch should make sure kswapd does not free an excessive number of pages in zone_normal just because the pages in zone_highmem are difficult to free. It does give kswapd a large margin to continue putting equal pressure on all zones in normal situations. Sami, could you try out this patch to see if it helps your situation? Signed-off-by: Rik van Riel