https://bugzilla.novell.com/show_bug.cgi?id=340143
User npiggin@novell.com added comment
https://bugzilla.novell.com/show_bug.cgi?id=340143#c7
Nick Piggin changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |ASSIGNED
--- Comment #7 from Nick Piggin 2008-01-06 23:10:31 MST ---
Thanks for the reports guys...
It could be a number of issues.
Sometimes we will swap even if it doesn't appear to be required from what free
memory tells you. Eg. if you have multiple zones (i386 may have ZONE_DMA for
low
16MB memory, ZONE_NORMAL for the next ~900MB of kernel addressable memory, and
ZONE_HIGHMEM for the rest). Sometimes eg. you have lots of free memory in
ZONE_HIGHMEM, but need to allocate from ZONE_NORMAL. In that case, we still
have
to do page reclaim and may swap. So it could be some memory zone getting used
up
that is causing increased swapping. Memory fragmentation could also do
something
similar.
Setting swappiness to 0 does not actually prevent swapping completely. If there
is no other way to get the memory, the kernel will actually still prefer to
swap
than to go OOM. (although actually there are a few ways in which we could be
even
*less* aggressive with swapping when swappiness is turned down...)
Is there some memory hog program that runs sometimes and pushes swap out?
Does running `swapoff -a ; swapon -a` as root (temporarily) cure the problem?
How about running without any swap? Does that help?
--
Configure bugmail: https://bugzilla.novell.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.