From owner-freebsd-current@FreeBSD.ORG Fri Jul 8 00:09:13 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 9E24E16A41C for ; Fri, 8 Jul 2005 00:09:13 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: from spew.ugcs.caltech.edu (spew.ugcs.caltech.edu [131.215.176.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 631AB43D48 for ; Fri, 8 Jul 2005 00:09:13 +0000 (GMT) (envelope-from jd@ugcs.caltech.edu) Received: by spew.ugcs.caltech.edu (Postfix, from userid 3640) id 16DA9E816; Thu, 7 Jul 2005 17:09:13 -0700 (PDT) Received: from localhost (localhost [127.0.0.1]) by spew.ugcs.caltech.edu (Postfix) with ESMTP id 06AF6E815; Thu, 7 Jul 2005 17:09:13 -0700 (PDT) Date: Thu, 7 Jul 2005 17:09:12 -0700 (PDT) From: Jon Dama To: Kris Kennaway In-Reply-To: <20050707235933.GA19467@xor.obsecurity.org> Message-ID: References: <42CD9728.000003.16936@colgate.yandex.ru> <5BFCCFD5-15C5-400D-8CA1-CF5E2802A3DD@mac.com> <20050707235933.GA19467@xor.obsecurity.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: polachok@narod.ru, freebsd-current@freebsd.org Subject: Re: out of swap space X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 08 Jul 2005 00:09:13 -0000 Yes, well I assumed: 1) this was i386 2) he already had a lot of RAM and was hitting the wall my point was primarily to point out that he shouldn't assume ram + swap must be under 4GB. Otherwise I agree. Though, I typically have a large MFS /tmp directory. Having lots of swaps helps make that configuration robust. -Jon On Thu, 7 Jul 2005, Kris Kennaway wrote: > On Thu, Jul 07, 2005 at 02:57:01PM -0700, Jon Dama wrote: > > It is also it is worthwhile to remember that on i386 you can use > > roughly >20GB of swap space. swap + ram need not sum to less than 4GB > > common misunderstandings aside. > > > > If your memory load warrants larger swap allocations, you should just bump > > that number up. > > Better to add more RAM or reduce or optimize the workload - as soon as > you load your machine enough that it begins heavily using swap your > machine performance will fall in the toilet. > > Kris >