X-Original-To: pgsql-performance-postgresql.org@postgresql.org Received: from localhost (mx1.hub.org [200.46.208.251]) by postgresql.org (Postfix) with ESMTP id 0C6B79F95E3 for ; Tue, 18 Jul 2006 16:48:53 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.208.251]) (amavisd-new, port 10024) with ESMTP id 91716-09 for ; Tue, 18 Jul 2006 16:48:47 -0300 (ADT) X-Greylist: from auto-whitelisted by SQLgrey- Received: from exchange.g2switchworks.com (mail.g2switchworks.com [63.87.162.25]) by postgresql.org (Postfix) with ESMTP id 94A959F94F3 for ; Tue, 18 Jul 2006 16:48:47 -0300 (ADT) Received: from 10.10.1.37 ([10.10.1.37]) by exchange.g2switchworks.com ([10.10.1.2]) with Microsoft Exchange Server HTTP-DAV ; Tue, 18 Jul 2006 19:48:46 +0000 Received: from state.g2switchworks.com by mail.g2switchworks.com; 18 Jul 2006 14:48:46 -0500 Subject: Re: RAID stripe size question From: Scott Marlowe To: Ron Peacetree Cc: PG Performance In-Reply-To: <3595533.1153251809718.JavaMail.root@elwamui-huard.atl.sa.earthlink.net> References: <3595533.1153251809718.JavaMail.root@elwamui-huard.atl.sa.earthlink.net> Content-Type: text/plain Content-Transfer-Encoding: 7bit Message-Id: <1153252126.2744.78.camel@state.g2switchworks.com> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 (1.4.6-2) Date: Tue, 18 Jul 2006 14:48:46 -0500 X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200607/186 X-Sequence-Number: 20046 Nope, haven't tried that. At the time I was testing this I didn't even think of trying it. I'm not even sure I'd heard of RAID 50 at the time... :) I basically had an old MegaRAID 4xx series card in a dual PPro 200 and a stack of 6 9 gig hard drives. Spare parts. And even though the RAID 1+0 was relatively much faster on this hardware, the Dual P IV 2800 with a pair of 15k USCSI drives and a much later model MegaRAID at it for lunch with a single mirror set, and was plenty fast for our use at the time, so I never really had call to test it in production. But it definitely made our test server, the aforementioned PPro200 machine, more livable. On Tue, 2006-07-18 at 14:43, Ron Peacetree wrote: > Have you done any experiments implementing RAID 50 this way (HBA does RAID 5, OS does RAID 0)? If so, what were the results? > > Ron > > -----Original Message----- > >From: Scott Marlowe > >Sent: Jul 18, 2006 3:37 PM > >To: Alex Turner > >Cc: Luke Lonergan , Mikael Carneholm , Ron Peacetree , pgsql-performance@postgresql.org > >Subject: Re: [PERFORM] RAID stripe size question > > > >On Tue, 2006-07-18 at 14:27, Alex Turner wrote: > >> This is a great testament to the fact that very often software RAID > >> will seriously outperform hardware RAID because the OS guys who > >> implemented it took the time to do it right, as compared with some > >> controller manufacturers who seem to think it's okay to provided > >> sub-standard performance. > >> > >> Based on the bonnie++ numbers comming back from your array, I would > >> also encourage you to evaluate software RAID, as you might see > >> significantly better performance as a result. RAID 10 is also a good > >> candidate as it's not so heavy on the cache and CPU as RAID 5. > > > >Also, consider testing a mix, where your hardware RAID controller does > >the mirroring and the OS stripes ((R)AID 0) over the top of it. I've > >gotten good performance from mediocre hardware cards doing this. It has > >the advantage of still being able to use the battery backed cache and > >its instant fsync while not relying on some cards that have issues > >layering RAID layers one atop the other. >