Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 05 Apr 1998 13:22:34 -0700
From:      David Greenman <dg@root.com>
To:        dag-erli@ifi.uio.no (Dag-Erling Coidan =?iso-8859-1?Q?Sm=F8rgrav?= )
Cc:        stable@FreeBSD.ORG, current@FreeBSD.ORG
Subject:   Re: swap-leak in 2.2.5 ? 
Message-ID:  <199804052022.NAA11264@implode.root.com>
In-Reply-To: Your message of "05 Apr 1998 18:13:06 %2B0200." <xzplntk6yct.fsf@hrotti.ifi.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help
>while. It's simply a *lot* faster to keep already-linked executables
>in memory (and move them into swap when memory goes full) rather than
>throwing them out and having to reload and relink them next time they
>are invoked, as long as they haven't changed in the meantime.
>
>David, I hope my explanation is not too far off?

   Actually, it's not that the system has to do any re-linking. The reason
that swap space is consumed even when you have plenty of memory is that the
system also tries to cache regular file data, so freeing up memory for that
by moving modified but not recently used process pages to swap is usually a
good thing.

-DG

David Greenman
Core-team/Principal Architect, The FreeBSD Project

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804052022.NAA11264>