SOLVED: Simple swap question

RW rwmaillists at googlemail.com
Fri Dec 19 19:05:41 UTC 2008


On Fri, 19 Dec 2008 13:04:26 -0500
FreeBSD <freebsd at optiksecurite.com> wrote:

  
> This server is very lightly used, so most of the time if the swap is 
> getting used it shows that something is going wrong. This warning 
> already proved usefull once, so I don't think I'm going to change it.
> I don't want to mess with the kernel actions, but there was no reason
> to keep this in swap. 

It's the other way around, if a page is written-out to swap and then
read back into ram, there's no point in ditching the on-disk copy as
long as it's still valid. If the kernel runs short of memory again, it
can reuse such pages instantaneously. 


More information about the freebsd-questions mailing list