[lkml]   [2001]   [Dec]   [3]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: VM Problem : persistent swap cache
On Sunday, 02 December 2001, at 18:08:02 +0100,
Edouard Gomez wrote:

> Hi,
> [...]
> As you can see, there's 20Mo of swap though lot of free RAM is available.
> The strange thing is that this 20Mo keeps growing with the time and are
> never freed.
Linux's VM doesn't try to free used swap space, even there is plenty os
physical RAM available. If there are pages on swap, that is because at
some point in time those pages where considered "not used", and were
written to disk. If those pages are never reused, they stay where they
currently are, because it is the most interesting thing to do performace
wise. Trying to keep swap=0 could cause some ping-pong effect under some
workloads, with heavy access to disk, that are too slow to be accesed
more than strictly necessary.

José Luis Domingo López
Linux Registered User #189436 Debian Linux Woody (P166 64 MB RAM)

jdomingo EN internautas PUNTO org => ¿ Spam ? Atente a las consecuencias
jdomingo AT internautas DOT org => Spam at your own risk

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to
More majordomo info at
Please read the FAQ at

 \ /
  Last update: 2005-03-22 13:18    [W:0.034 / U:0.540 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site