From owner-freebsd-questions@FreeBSD.ORG Fri Jun 15 11:48:18 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (unknown [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 47EBA1065672 for ; Fri, 15 Jun 2012 11:48:18 +0000 (UTC) (envelope-from rwmaillists@googlemail.com) Received: from mail-ee0-f54.google.com (mail-ee0-f54.google.com [74.125.83.54]) by mx1.freebsd.org (Postfix) with ESMTP id CC9D78FC14 for ; Fri, 15 Jun 2012 11:48:17 +0000 (UTC) Received: by eeke49 with SMTP id e49so1020028eek.13 for ; Fri, 15 Jun 2012 04:48:16 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=20120113; h=date:from:to:subject:message-id:in-reply-to:references:x-mailer :mime-version:content-type:content-transfer-encoding; bh=jEn2+ageBquLEJjfkqhHOP0nNy/vCx78MH/EGxsIS5E=; b=Miiy9B7lV34d46iZXEdK7CcZ0zW14QWWlmDQ7oQKMlea6Qj2Jmf88lyq1HmuG2Q4nV UDkyb9GhbBDfJe5IkFF8CvSqNacCRkLi+FWUTaKinhzN6GHZfmrQ+ZGiPZdiiX1kijd7 C6Ivvn9hPb/LPsJFIcaR4Z+Sa+DbMPCGbNRLBSxBUB5dmcRFt4IhVanX3Npaov3oQoa3 ZlkIoB2Gy2RCOOs79qawl+OgiCBlu6T4ga85SbuCGGU9WE6PODYIdrQM2NgXjm1HdiPH mW575fmo5Lxosrw40EIv132+65r2XJMIOcUAwY6zAY5oTV8n/y9O0oFd7Ay9NYEfJ6QF psfA== Received: by 10.14.45.68 with SMTP id o44mr1371245eeb.66.1339760896816; Fri, 15 Jun 2012 04:48:16 -0700 (PDT) Received: from gumby.homeunix.com (87-194-105-247.bethere.co.uk. [87.194.105.247]) by mx.google.com with ESMTPS id q53sm30031276eef.8.2012.06.15.04.48.14 (version=SSLv3 cipher=OTHER); Fri, 15 Jun 2012 04:48:15 -0700 (PDT) Date: Fri, 15 Jun 2012 12:48:13 +0100 From: RW To: freebsd-questions@freebsd.org Message-ID: <20120615124813.4bb28623@gumby.homeunix.com> In-Reply-To: <1339752157.58075.24.camel@localhost> References: <1339752157.58075.24.camel@localhost> X-Mailer: Claws Mail 3.8.0 (GTK+ 2.24.6; amd64-portbld-freebsd8.3) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: Re: Freebsd without swap 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: Fri, 15 Jun 2012 11:48:18 -0000 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.