From owner-freebsd-questions@FreeBSD.ORG Fri Jun 15 12:07:40 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 9F274106564A for ; Fri, 15 Jun 2012 12:07:40 +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 2C6A98FC0C for ; Fri, 15 Jun 2012 12:07:40 +0000 (UTC) Received: by eeke49 with SMTP id e49so1027728eek.13 for ; Fri, 15 Jun 2012 05:07:39 -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=u5F9aGQom2YMb6xakRV1RlIMPLbbr2NVdaaW9u4JuAo=; b=k5bQ5rUdUdfmY75Zbwx0fa5knmiLvb4t5aPSAg490s9Ljvu4WHpTAJSyCNAEhnMz4H On8zEY0xxEG2Tid1Fm/7ttsQUZewlVlvxt2/NlsFktaX6mQGp81dQr2Zf5HrGDNsdsWV kccDjS+q8xfC8OI3o9XM+7fvSCkem1sF5ewl9CG/pTUVoujE86/VZasYd61EvT2JyYEq 1sZqFMmsD/IoEX1cc1yQ61vOAA91sNUkItnVGtJxmliyk7ZULc1/e6EpinVqeUU2YcRU YgyN6yuebUPAQU9BT4nTlm0DzuRs2x6ZCUGcXZ9CT2uo36Hs5tF9s9N+SRZToLdT5iO6 YOSQ== Received: by 10.14.189.5 with SMTP id b5mr1316869een.97.1339762059269; Fri, 15 Jun 2012 05:07:39 -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 u14sm30235843eem.4.2012.06.15.05.07.37 (version=SSLv3 cipher=OTHER); Fri, 15 Jun 2012 05:07:38 -0700 (PDT) Date: Fri, 15 Jun 2012 13:07:35 +0100 From: RW To: freebsd-questions@freebsd.org 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> 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 12:07:40 -0000 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.