Re: [PATCH] 2.6.4-rc2-mm1: vm-split-active-lists

From: Nick Piggin
Date: Fri Mar 12 2004 - 19:02:47 EST




Bill Davidsen wrote:


I have noticed that 2.6 seems to clear memory (any version I've run for a while) and a lunch break results in a burst of disk activity before the screen saver even gets in to unlock the screen. I know this box has no cron activity during the day, so the pages were not forced out.



It shouldn't. Perhaps something else is using memory in the background?


It's a good thing IMHO to write dirty pages to swap so the space can be reclaimed if needed, but shouldn't the page be marked as clean and left in memory for use without swap-in nif it's needed? I see this on backup servers, and a machine with 3GB of free memory, no mail, no cron and no app running isn't getting much memory pressure ;-)


Well it is basically just written out and reclaimed when it is needed,
it won't just be swapped out without memory pressure.

Although, there were some highmem balancing problems in 2.6 including
2.6.4 (now fixed in -bk). This causes too much pressure to be put on
ZONE_NORMAL mapped and file cache memory in favour of slab cache. This
could easily be causing the misbehaviour.

I am not saying the behaviour is wrong, I just fail to see why the last application run isn't still in memory an hour later, absent memory pressure.


There would have to be *some* memory pressure... honestly, try 2.6-bk,
or if they are production machines and you can't, then wait for 2.6.5.


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