From owner-freebsd-questions@FreeBSD.ORG Thu Jul 19 14:27:57 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 48B1916A409 for ; Thu, 19 Jul 2007 14:27:57 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id E9CB013C4AC for ; Thu, 19 Jul 2007 14:27:52 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.12.11) with ESMTP id l6JERbo3046785; Thu, 19 Jul 2007 09:27:38 -0500 (CDT) Message-Id: <6.0.0.22.2.20070719091620.024d0518@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Thu, 19 Jul 2007 09:27:12 -0500 To: Gabriel Linder , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <469F1ABC.6070503@jeuxvideo.com> References: <469F1ABC.6070503@jeuxvideo.com> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: Swap size 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: Thu, 19 Jul 2007 14:27:57 -0000 At 03:03 AM 7/19/2007, Gabriel Linder wrote: >Hi, > >I plan to setup FreeBSD 6.2-RELEASE on my Core Duo laptop with 1GB of RAM. > >The handbook says "ideal swap size is 2xRAM", so should I use 2GB of swap ? Yes unless you know how many applications will ever be run and their run size. The 2xRAM is so you can always have a reasonable performance allowing swap. You can still run out of swap, and this will cause a panic. With disks so cheap, why not use 2XRAM? > This seems a bit huge to me, I never used more than 400MB on Linux. >If so, is there a limit of swap partition size (or number) on i386 (for >Linux it's 2GB per partition and 32 partitions max, but I don't know for >FreeBSD) ? You can add more swap using a swap file you can check that out doing: man swapon I don't believe there is a limit to swap partitions, other than the limit on other partitions. I have no knowledge on efficiency of a swap partition vs a swap file. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.