From owner-freebsd-amd64@FreeBSD.ORG Tue May 31 03:18:05 2005 Return-Path: X-Original-To: freebsd-amd64@FreeBSD.org Delivered-To: freebsd-amd64@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id D09EC16A41C for ; Tue, 31 May 2005 03:18:05 +0000 (GMT) (envelope-from oceanare@pacific.net.sg) Received: from sarajevo.pacific.net.sg (sarajevo.pacific.net.sg [203.120.90.134]) by mx1.FreeBSD.org (Postfix) with SMTP id 07F8543D1D for ; Tue, 31 May 2005 03:18:04 +0000 (GMT) (envelope-from oceanare@pacific.net.sg) Received: (qmail 23316 invoked from network); 31 May 2005 03:18:03 -0000 Received: from unknown (HELO maxwell6.pacific.net.sg) (203.120.90.212) by sarajevo with SMTP; 31 May 2005 03:18:03 -0000 Received: from [192.168.0.107] ([210.24.246.101]) by maxwell6.pacific.net.sg with ESMTP id <20050531031802.RUZX1233.maxwell6.pacific.net.sg@[192.168.0.107]>; Tue, 31 May 2005 11:18:02 +0800 Message-ID: <429BD75A.2080304@pacific.net.sg> Date: Tue, 31 May 2005 11:17:46 +0800 From: Erich Dollansky Organization: oceanare pte ltd User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050514) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Ken Gunderson References: <20050530090525.246b0c35.kgunders@teamcool.net> In-Reply-To: <20050530090525.246b0c35.kgunders@teamcool.net> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-amd64@FreeBSD.org Subject: Re: swap sizing X-BeenThere: freebsd-amd64@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the AMD64 platform List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 31 May 2005 03:18:05 -0000 Hi, Ken Gunderson wrote: > Hello: > > On larger systems sporting several gigs of ram, what it the recommended > swap scheme? I'm aware of the 2x ram rule of thumb and also that this > rule is considered "old school" by many. And of course that you need > at least as much swap as ram if you want to get a full dump... > But other than that it seems we pretty much don't want/need to be > swapping at all on modern machines. Curious what folks are doing in the > modern world with larger systems. > It is still the same old problem. How much memory will be needed when the maximum number of users are working with the maximum number of applications. The 2x RAM is a good compromise between speed and effort. You do not need any swap space if you never expect it to be used. But keep in mind that your machine might crash in this case if it gets loaded to that maximum once. Swapping has a nice side effect. The machine becomes slower when it starts. Users see then that something is wrong and at least stop starting new programs. Erich