From owner-freebsd-questions@FreeBSD.ORG Wed Jun 24 23:34:51 2009 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 1E92E1065670 for ; Wed, 24 Jun 2009 23:34:51 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [66.246.138.153]) by mx1.freebsd.org (Postfix) with ESMTP id E7F268FC13 for ; Wed, 24 Jun 2009 23:34:50 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from gluon.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA id 516168AC9; Wed, 24 Jun 2009 23:18:28 +0000 (UTC) Date: Thu, 25 Jun 2009 00:18:24 +0100 From: Bruce Cran To: "b. f." Message-ID: <20090625001824.1d580de8@gluon.draftnet> In-Reply-To: References: X-Mailer: Claws Mail 3.7.1 (GTK+ 2.16.2; i386-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: invalid.pointer@gmail.com, freebsd-questions@FreeBSD.org Subject: Re: The question of moving vi to /bin X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jun 2009 23:34:51 -0000 On Wed, 24 Jun 2009 06:13:49 -0700 "b. f." 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