From owner-freebsd-questions Sun Oct 7 11:31:50 2001 Delivered-To: freebsd-questions@freebsd.org Received: from post.mail.nl.demon.net (post-11.mail.nl.demon.net [194.159.73.21]) by hub.freebsd.org (Postfix) with ESMTP id 8EE4537B403 for ; Sun, 7 Oct 2001 11:31:45 -0700 (PDT) Received: from [212.238.77.116] (helo=buffy.raggedclown.net) by post.mail.nl.demon.net with esmtp (Exim 3.22 #1) id 15qIiF-0000nJ-00 for freebsd-questions@freebsd.org; Sun, 07 Oct 2001 18:31:44 +0000 Received: by tanya.raggedclown.net (Ragged Clown Mailhost, from userid 500) id AF03D104A; Sun, 7 Oct 2001 20:31:45 +0200 (CEST) Date: Sun, 7 Oct 2001 20:31:45 +0200 From: Cliff Sarginson To: freebsd-questions@freebsd.org Subject: Re: ideal swap partition space... Message-ID: <20011007203145.B2960@tanya.raggedclown.intra> References: <20011007143231.A5864@student.uu.se> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.16i In-Reply-To: <20011007143231.A5864@student.uu.se>; from ertr1013@student.uu.se on Sun, Oct 07, 2001 at 02:32:31PM +0200 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Sun, Oct 07, 2001 at 02:32:31PM +0200, Erik Trulsson wrote: > On Sun, Oct 07, 2001 at 05:15:12AM -0500, default wrote: > > Hi, > > > > I'm curious about setting up the amount of space for the swap partition... > > is there any ideal amount for FreeBSD? Or is it dependant on the size/type > > of hard drive & other hardware that one has? If so, is there any kind of > > equasion or theory behind determining what is the best amount to provide for > > the best performance? > > > > Is there such a thing as a swap partition that is too large? > This is one of those questions that may be described as perennial. I believe no-one on the planet knows the right answer...lol. Take your pick... 1) The same size as the amount of ram you have 2) -ditto- 1) but plus a "bit" 3) Twice the size of the Ram you have 4) -ditto 3) but plus a "bit" 5) Your mother's favourite number plus 100 I don't think you create a problem by having too large a swap space (unless you are really tight on disk space). It is more critical on machines with a "small" amount of ram that you have enough for swapping, quite what "small" means depends on what you are using the system for. Super-annuated programs like "netscape" eat memory like it is going out of fashion. I always choose option 3) .. I like the sound of it .. hee hee. It is somewhat ridiculous that I have 512MB of RAM and 1 Gig of swap space, but I have a big disk .. so ... Btw I am not sure what FBSD does, but UN*X type systems usually just randomly assasinate processes when they run out of virtual memory (i.e. real memory + swap). -- Regards Cliff To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message