Kernel memory leak in 8.2-PRERELEASE?
George Kontostanos
gkontos.mail at gmail.com
Tue Apr 5 14:28:49 UTC 2011
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 at 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 at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-stable
> To unsubscribe, send any mail to "freebsd-stable-unsubscribe at freebsd.org"
>
--
George Kontostanos
aisecure.net <http://www.aisecure.net>
More information about the freebsd-stable
mailing list