From owner-freebsd-questions@FreeBSD.ORG Fri Dec 16 14:37:41 2005 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 D525616A41F for ; Fri, 16 Dec 2005 14:37:41 +0000 (GMT) (envelope-from lars+lister.freebsd@adventuras.no) Received: from mail.adventuras.no (mail.adventuras.no [194.63.250.215]) by mx1.FreeBSD.org (Postfix) with ESMTP id 16A8A43D49 for ; Fri, 16 Dec 2005 14:37:40 +0000 (GMT) (envelope-from lars+lister.freebsd@adventuras.no) Received: from mail.adventuras.no (seven [127.0.0.1]) by mail.adventuras.no (8.12.10/8.12.10) with ESMTP id jBGEbFjt002075 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for ; Fri, 16 Dec 2005 15:37:15 +0100 Received: (from apache@localhost) by mail.adventuras.no (8.12.10/8.12.10/Submit) id jBGEbFLe002073; Fri, 16 Dec 2005 15:37:15 +0100 Received: from 213.236.228.129 (SquirrelMail authenticated user lars) by mail.adventuras.no with HTTP; Fri, 16 Dec 2005 15:37:15 +0100 (CET) Message-ID: <63972.213.236.228.129.1134743835.squirrel@mail.adventuras.no> In-Reply-To: <43A2C35E.9060206@dial.pipex.com> References: <20051216123357.4932.qmail@web31611.mail.mud.yahoo.com> <20051216131451.GV2413@merkur.atekomi.net> <43A2C35E.9060206@dial.pipex.com> Date: Fri, 16 Dec 2005 15:37:15 +0100 (CET) From: "Lars Kristiansen" To: freebsd-questions@freebsd.org User-Agent: SquirrelMail/1.4.4-1 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Adventuras-MailScanner-Information: Please contact the ISP for more information X-Adventuras: du kan filtrere etter AdvSpamScore over 5-10 X-Adventuras-SpamCheck: not spam, SpamAssassin (score=-4.399, required 6, autolearn=not spam, ALL_TRUSTED -1.80, BAYES_00 -2.60) X-MailScanner-From: lars+lister.freebsd@adventuras.no Subject: Re: swap - 2 HDs 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: Fri, 16 Dec 2005 14:37:41 -0000 > Will Maier wrote: > >>On Fri, Dec 16, 2005 at 09:33:57AM -0300, Aguiar Magalhaes wrote: >> >> >>>Is It recommended to configure swap area in both HDs ?? >>> >>> >> >>I don't see the point -- swap is where pages that don't fit in your >>real memory go. It's less optimal than real memory in terms of >>latency, but I don't see how two disks would make swap performance >>much better. >> >> > This is contrary to the "usual" advice which is to split swap across > disks AFAIK. I've never done any benchmarks, but my gut feeling would > be that if the disks were on separate controllers, and if the machine > did swap regularly then two swap partitions would be beneficial. Even > on the same controller it could easily make a difference since > individual IDE/SATA disks can't actually reach the performance of the > channel as a whole. >From observation one can see that freebsd use the swap-partitions equally. You probarly do want to make swap-partitions on all disks, but you may later want to swapoff what is on the most busy disk if the disks are unequally busy. -- Lars > > Given that these are large hard disks, what's 2 or 4Gb in the grand > scheme? A drop in the ocean, so I would (and do) put swap on both. > > Of course, if the machine actually swaps regularly then investing in > more RAM would give the best performance! > > --Alex > > PS If the two disks are larger than your actual needs, then you might > want to consider emergency scenarios like one of your disks dieing. If, > for example, you put a spare, bootable version of FreeBSD on the 2nd > disk to aid recovery then that OS will need a swap partition anyway and > you might as well use it regularly. $0.02 > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to > "freebsd-questions-unsubscribe@freebsd.org" >