From owner-freebsd-mobile@FreeBSD.ORG Thu May 1 09:11:21 2003 Return-Path: Delivered-To: freebsd-mobile@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7951B37B401 for ; Thu, 1 May 2003 09:11:21 -0700 (PDT) Received: from moek.pir.net (moek.pir.net [130.64.1.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id D7B3B43FA3 for ; Thu, 1 May 2003 09:11:20 -0700 (PDT) (envelope-from pir@pir.net) Received: from pir by moek.pir.net with local (Exim) id 19BGeW-0003BA-00 for freebsd-mobile@freebsd.org; Thu, 01 May 2003 12:11:20 -0400 Date: Thu, 1 May 2003 12:11:20 -0400 From: Peter Radcliffe To: freebsd-mobile@freebsd.org Message-ID: <20030501161119.GE10559@pir.net> Mail-Followup-To: freebsd-mobile@freebsd.org References: <200305011136.59414.tsasser@terra.cl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <200305011136.59414.tsasser@terra.cl> User-Agent: Mutt/1.4.1i X-fish: < X-Copy-On-Listmail: Please do NOT Cc: me on list mail. Subject: Re: using RAM for swap X-BeenThere: freebsd-mobile@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-mobile@freebsd.org List-Id: Mobile computing with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 May 2003 16:11:21 -0000 Tom probably said: > how does one put the swap partition in RAM? One doesn't. Swap is for when you don't have enough ram. > also, what is the recommended ratio of RAM to swap for freebsd? There really isn't one. It helps if you have at least as much swap than ram to make sure you can get kernel crash dumps if you ever need to, but the right amount of swap is "as least much as you need for what you are doing on that machine". > i want to do this to reduce battery use on my laptop. You could try mounting /tmp as mfs, with something like this; /dev/ad0s2b /tmp mfs rw,nodev,nosuid,-s=524288 0 0 Adding more physical memory can help battery life if your machine swaps or pages a lot, but adding more swap won't. P. -- pir pir-sig@pir.net pir-sig@net.tufts.edu