Date: Thu, 1 May 2003 12:11:20 -0400 From: Peter Radcliffe <pir@pir.net> To: freebsd-mobile@freebsd.org Subject: Re: using RAM for swap Message-ID: <20030501161119.GE10559@pir.net> In-Reply-To: <200305011136.59414.tsasser@terra.cl> References: <200305011136.59414.tsasser@terra.cl>
next in thread | previous in thread | raw e-mail | index | archive | help
Tom <tsasser@terra.cl> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030501161119.GE10559>