Freebsd without swap

RW rwmaillists at googlemail.com
Fri Jun 15 11:48:18 UTC 2012


On Fri, 15 Jun 2012 12:22:37 +0300
mbsd wrote:

> Hi there.
> 
> Now I'm using FreeBSD 9 without swap, and without additional swap -
> related configurations.
>.. 
> And the question is:
> Does it correct to use freebsd like this? Or I need specific setup?
> 
> Option NO_SWAPPING if I understand right not for this purpose.
> Sysctl vm.swap_enabled=0 seems to be useful.

NO_SWAPPING builds-out code related to paging to swap along with the
related sysctl options, and is probably what you are after.

vm.swap_enabled enables actual swapping in addition to normal paging
when short of memory, and isn't relevant if you have no swap space.


More information about the freebsd-questions mailing list