From owner-freebsd-performance@FreeBSD.ORG Mon Apr 28 01:54:57 2003 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id DA8E737B405 for ; Mon, 28 Apr 2003 01:54:57 -0700 (PDT) Received: from limes.kompakt.com.pl (limes.kompakt.com.pl [195.164.48.229]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0051243FD7 for ; Mon, 28 Apr 2003 01:54:53 -0700 (PDT) (envelope-from ryba@kompakt.pl) Received: (from root@localhost) by limes.kompakt.com.pl (8.11.6/8.11.2) id h3S89Ws09431 for freebsd-performance@freebsd.org.AVP; Mon, 28 Apr 2003 10:09:32 +0200 Received: from ryba.kompakt.pl (finis.kompakt.com.pl [195.164.48.227]) by limes.kompakt.com.pl (8.11.6/8.11.2) with ESMTP id h3S89VA09427 for ; Mon, 28 Apr 2003 10:09:31 +0200 From: Piotr Rybicki Organization: Kompakt To: freebsd-performance@freebsd.org Date: Mon, 28 Apr 2003 10:54:48 +0200 User-Agent: KMail/1.5.1 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-2" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200304281054.48976.ryba@kompakt.pl> Subject: SWAP size X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Apr 2003 08:54:58 -0000 Hi everyone. In man tuning(7) we read, that swap size should be about 2x main memmory size. Why swap size should be so big? Isn't swap size equal to main memmory size enough? Ok, if we have a very large amount (and total size) of processes, then larger swap could be desired. But i'm afraid we would end-up having swap-machine not a server. Also swap size has no impact on system tables sizes. Assuming we have MAXUSERS set to 0 (auto-scale), the value is calculated only by ammount of physical memmory size (and of course page size, but i assume it's constant). Shouldn't the section in man tuning(7) about swap size be changed, or am i missing something? Regards Piotr Rybicki