Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Apr 2011 17:28:48 +0300
From:      George Kontostanos <gkontos.mail@gmail.com>
To:        Pete French <petefrench@ingresso.co.uk>, freebsd-stable@freebsd.org,  freebsd@jdc.parodius.com, avg@freebsd.org,  Boris Kochergin <spawk@acm.poly.edu>
Subject:   Re: Kernel memory leak in 8.2-PRERELEASE?
Message-ID:  <BANLkTikBoBDoEbnZAoDycR4ZGy3w7V1-5Q@mail.gmail.com>
In-Reply-To: <4D9B229C.1050103@acm.poly.edu>
References:  <E1Q76rm-0001Cr-B2@dilbert.ticketswitch.com> <4D9B229C.1050103@acm.poly.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
Years ago when RAM was expensive swap a necessary workaround. That doesn't
mean that swap is useless. It all depends on what a server is doing. If you
are using a database server then it is absolutely normal and expected to
cache. Also, unlike other OS FreeBSD tends to make use of the ram. Swaping
recently used data is not bad and it is the way it works.

Regards

On Tue, Apr 5, 2011 at 5:09 PM, Boris Kochergin <spawk@acm.poly.edu> wrote:

> On 04/05/11 10:04, Pete French wrote:
>
>> Adding some swap would help a lot more.
>>>
>> So, I run a lot of systems without swap - basically my
>> thinking at the time I set them up went like this.
>>
>> "I have 4 gig of memory, and 4 gig of swap. Surely running 8 gig of
>> memory and no swap will be just as good ?"
>>
>> but, is that actually true ? Is real RAM as good as an equivalent amount
>> of swap, or is there smething special about swap which means you shoud
>> have some no matter how much RAM you have ?
>>
>> -pete.
>>
>
> I guess swap is special since I assume memory used by the kernel will never
> be offloaded to it (could be wrong), but userspace memory will, so it is
> guaranteed to be available to userspace processes only.
>
> -Boris
>
> _______________________________________________
> freebsd-stable@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"
>



-- 
George Kontostanos
aisecure.net <http://www.aisecure.net>;



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