From owner-freebsd-questions Thu Nov 21 23:20:14 2002 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 EB70037B401 for ; Thu, 21 Nov 2002 23:20:12 -0800 (PST) Received: from post-21.mail.nl.demon.net (post-21.mail.nl.demon.net [194.159.73.20]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31E6943E3B for ; Thu, 21 Nov 2002 23:20:12 -0800 (PST) (envelope-from cls@raggedclown.net) Received: from [212.238.197.102] (helo=mailhost.raggedclown.net) by post-21.mail.nl.demon.net with esmtp (Exim 3.36 #1) id 18F86l-000KoC-00 for questions@FreeBSD.ORG; Fri, 22 Nov 2002 07:20:11 +0000 Received: from localhost (localhost [127.0.0.1]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id 5D11E677C for ; Fri, 22 Nov 2002 08:20:10 +0100 (CET) Received: from willow.raggedclown.net (willow.raggedclown.intra [192.168.1.10]) by mailhost.raggedclown.net (Ragged Clown Mail Gateway [dawn]) with ESMTP id 94ECE1CD9 for ; Fri, 22 Nov 2002 08:19:59 +0100 (CET) Received: by willow.raggedclown.net (Ragged Clown Host [willow], from userid 1009) id C289C225F6; Fri, 22 Nov 2002 08:19:59 +0100 (CET) Date: Fri, 22 Nov 2002 08:19:59 +0100 From: Cliff Sarginson To: FreeBSD List Subject: Re: A question of where to put swap Message-ID: <20021122071959.GG83161@raggedclown.net> References: <20021121234453.GA62470@raggedclown.net> <20021122000458.GA79549@happy-idiot-talk.infracaninophi> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20021122000458.GA79549@happy-idiot-talk.infracaninophi> User-Agent: Mutt/1.5.1i X-Virus-Scanned: by AMaViS 0.3.12pre8 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 Fri, Nov 22, 2002 at 12:04:58AM +0000, Matthew Seaman wrote: > On Fri, Nov 22, 2002 at 12:44:54AM +0100, Cliff Sarginson wrote: > > I am in the business of re-arranging my disk layouts to reflect the > > realities if life :) > > My FreeBSD system currently runs on a SCSI-3 Disk, but I have two > > modern, fast IDE disks that will be gaining a considerable amount of > > free space in the re-arrangements. I tend to run during the course of > > the day several extremely memory loving programs which cause > > paging/swapping to occur. I would like opinions on whether I would > > notice an improvement if I moved the swap area (which lives on the SCSI > > disk with the rest of the system) to the front of one of the IDE disks. > > I intend to make a new slice on the IDE disk anyway. > > A good thing to do is to put a swap partition on each disk[*]. That > permits the system to maximize IO throughput while paging. You can > divide up your total required swap space between the three disks > however you want, but remember that to be able to get a system crash > dump, you need at least one of your swap areas to be slightly larger > than the amount of RAM in your machine. Having approximately equally > sized swap areas gets the absolute maximum performance out of the > machine --- see The Handbook, Section 6.2.1.2 > http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/configtuning-initial.html > All good reminders, I think that is what I will end up doing. > > [*] so long as the IDE drives are on different channels --- you won't > gain anything by having swap areas (or any areas of high disk IO for > that matter) on both Master and Slave on the same channel. > Oh yes, they are, the other channels are a DVD player and a CD burner. Thanks. -- Regards Cliff Sarginson The Netherlands [ This mail has been checked as virus-free ] To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message