Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2009 00:18:24 +0100
From:      Bruce Cran <bruce@cran.org.uk>
To:        "b. f." <bf1783@googlemail.com>
Cc:        invalid.pointer@gmail.com, freebsd-questions@FreeBSD.org
Subject:   Re: The question of moving vi to /bin
Message-ID:  <20090625001824.1d580de8@gluon.draftnet>
In-Reply-To: <d873d5be0906240613s1050323bpdd28aaedddf2cb9d@mail.gmail.com>
References:  <d873d5be0906240613s1050323bpdd28aaedddf2cb9d@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 24 Jun 2009 06:13:49 -0700
"b. f." <bf1783@googlemail.com> wrote:

> ??? Who is giving them that credit?  This isn't new.  You already have
> some control over swapping via several oids:
> 
> vm.swap_enabled
> vm.disable_swapspace_pageouts
> vm.defer_swapspace_pageouts
> vm.swap_idle_enabled
> vm.swap_idle_threshold1
> vm.swap_idle_threshold2
> etc.
> 
> See, for example, tuning(7).  These have been around for ages (well,
> at least since June 1996).  You can also build your kernel with:
> 
> options NO_SWAPPING
> 
> which takes precedence over these settings.  That option has been
> around even longer. Linux has corresponding features, although they
> didn't always work well on older kernels.

It looks like the best explanation of NO_SWAPPING is 
http://docs.freebsd.org/cgi/getmsg.cgi?fetch=1067315+0+archive/2003/freebsd-current/20030413.freebsd-current

I found it after attempting to trim a powerpc kernel to see just how
much I could leave out - it looks like it's not possible to leave out
support for swapping.

-- 
Bruce Cran



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