Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 15 Jun 2012 13:07:35 +0100
From:      RW <rwmaillists@googlemail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Freebsd without swap
Message-ID:  <20120615130735.39c11377@gumby.homeunix.com>
In-Reply-To: <20120615124813.4bb28623@gumby.homeunix.com>
References:  <1339752157.58075.24.camel@localhost> <20120615124813.4bb28623@gumby.homeunix.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, 15 Jun 2012 12:48:13 +0100
RW wrote:

> 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?


Sorry, missed this bit. No, you don't have to do anything.

> > 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.



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