From owner-freebsd-questions@FreeBSD.ORG Thu Nov 9 19:33:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8AABC16A412 for ; Thu, 9 Nov 2006 19:33:42 +0000 (UTC) (envelope-from xfb52@dial.pipex.com) Received: from smtp-out2.blueyonder.co.uk (smtp-out2.blueyonder.co.uk [195.188.213.5]) by mx1.FreeBSD.org (Postfix) with ESMTP id EDC7443D99 for ; Thu, 9 Nov 2006 19:33:20 +0000 (GMT) (envelope-from xfb52@dial.pipex.com) Received: from [172.23.170.145] (helo=anti-virus03-08) by smtp-out2.blueyonder.co.uk with smtp (Exim 4.52) id 1GiFeI-0003Me-Lv; Thu, 09 Nov 2006 19:33:18 +0000 Received: from [80.192.2.119] (helo=[192.168.0.2]) by asmtp-out4.blueyonder.co.uk with esmtp (Exim 4.52) id 1GiFeH-0007nD-Un; Thu, 09 Nov 2006 19:33:17 +0000 Message-ID: <4553827D.7030506@dial.pipex.com> Date: Thu, 09 Nov 2006 19:33:17 +0000 From: Alex Zbyslaw User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-GB; rv:1.7.13) Gecko/20061106 X-Accept-Language: en MIME-Version: 1.0 To: Jerry McAllister References: <2cd0a0da0611082139g7a529a61x76db1c52638fdec9@mail.gmail.com> <20061109155632.GA82382@gizmo.acns.msu.edu> <455364CE.9080100@dial.pipex.com> <20061109175407.GA82958@gizmo.acns.msu.edu> In-Reply-To: <20061109175407.GA82958@gizmo.acns.msu.edu> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: HELP! Installation Questions 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, 09 Nov 2006 19:33:42 -0000 Jerry McAllister wrote: >On Thu, Nov 09, 2006 at 05:26:38PM +0000, Alex Zbyslaw wrote: > >>Jerry McAllister wrote: >> >>>On Thu, Nov 09, 2006 at 06:39:50AM +0100, VeeJay wrote: >>> >>>>Maximum space required for SWAP to get high performance. >>>> >>>> >>If you end up using swap space you will *not* get performance. The >>second you start swapping is the second that your performance goes into >>a downward spiral, especially with multi-user servers. >> >> > >Sort of, but don't forget paging. >The system always pages - pushes out pages that don't get used >so often, but are still part of the active processes. The >system pages to swap space. Paging and possible core dumps >are the main uses of swap space, not actual swapping. > Sure. I should probably have said "If you end up using swap space for swapping ..." I wasn't advocating not having any swap space, just pointing out that maximizing swap space in no way maximized performance of a multi-user server, just made it's death from overwork that much more drawn out. There are certainly uses for swap space, but generally the least desirable usage is swapping. Maximizing swap space won't improve any paging usage, though splitting it across multiple disks might, and once you get a core dump you don't exactly have maximum performance either ;-) Personally I still go by the hoary old rule of thumb - 2x RAM, or even 4x RAM to allow for possible upgrades. But if I actually used it for swapping on a regular basis I'd be looking at the price of larger memory sticks - or writing the software more efficiently :-) --Alex