From owner-freebsd-performance@FreeBSD.ORG Wed Sep 23 16:30:30 2009 Return-Path: Delivered-To: freebsd-performance@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 11452106568B for ; Wed, 23 Sep 2009 16:30:30 +0000 (UTC) (envelope-from oliver@FreeBSD.org) Received: from avocado.salatschuessel.net (avocado.salatschuessel.net [78.111.72.186]) by mx1.freebsd.org (Postfix) with SMTP id 638138FC21 for ; Wed, 23 Sep 2009 16:30:29 +0000 (UTC) Received: (qmail 16701 invoked by uid 89); 23 Sep 2009 16:03:46 -0000 Received: from unknown (HELO kartoffel.salatschuessel.net) (78.111.72.187) by avocado.salatschuessel.net with SMTP; 23 Sep 2009 16:03:46 -0000 Date: Wed, 23 Sep 2009 18:03:47 +0200 From: Oliver Lehmann To: freebsd-performance@freebsd.org Message-Id: <20090923180347.ee0ae193.oliver@FreeBSD.org> X-Mailer: Sylpheed 2.7.1 (GTK+ 2.16.6; amd64-portbld-freebsd7.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: gjournal, hardware raid, software raid X-BeenThere: freebsd-performance@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Performance/tuning List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Sep 2009 16:30:30 -0000 Hi, I'll have soon the following System configuration: two 250GB harddisks (WD2500KS) - configured as RAID1 using gmirror - disks are attached to a Promise SATA300 TX2plus - are supposed to hold the whole base system+swap four 1TB harddisks (WD10EADS) - configured as RAID5 using a 3ware 3500-4LP with a battery backup unit having write cache enabled. - will hold one big (around 3TB) partition using GPT The system itself has 2GB of RAM and is an old dual PIII 850 running on an intel L440GX+ I now plan to setup gjournal for the 3TB partition to slow down the fsck run times. The system crashes from time to time so this is vital for me ;) I thought about what would be the best configuration here and I saw 3 solutions: 1) have one partition on the 3TB RAID sharing data and journal 2) have two partitions, one holding the journal, one holding the data. Both on the 3TB RAID. Preferable the journal at the "beginning" of the disks. 3) same partitions like above but the journal partition will be on the gmirror RAID1 holding the base system. I like the 3rd option because on a heavy I/O load on the RAID5 the 3ware must not switch between data and journal and can stick to handling the data only. The Promise controller will then stick to handle the data. Looks like some I/O balancing for me... I maybe want gjournal for the /usr partition of the RAID1 as well. So I would then have two 6GB (2GB*3) journaling partitions on the RAID1 if I go for option 3. What do you guys think. Please keep me CCed - I'm not subscribed. -- Oliver Lehmann http://www.pofo.de/ http://wishlist.ans-netz.de/