Received: from localhost (maia-2.hub.org [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 45E399FBA04 for ; Tue, 27 Feb 2007 14:51:24 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-new, port 10024) with ESMTP id 53232-07 for ; Tue, 27 Feb 2007 14:51:15 -0400 (AST) X-Greylist: delayed 00:23:00.877152 by SQLgrey-1.7.4 Received: from out5.smtp.messagingengine.com (out5.smtp.messagingengine.com [66.111.4.29]) by postgresql.org (Postfix) with ESMTP id 712A19FBA4D for ; Tue, 27 Feb 2007 14:51:16 -0400 (AST) Received: from out1.internal (unknown [10.202.2.149]) by out1.messagingengine.com (Postfix) with ESMTP id E87B31EA490; Tue, 27 Feb 2007 13:28:14 -0500 (EST) Received: from heartbeat2.messagingengine.com ([10.202.2.161]) by out1.internal (MEProxy); Tue, 27 Feb 2007 13:28:14 -0500 X-Sasl-enc: dffhUGvQ3qFIjG9FmHP0xc93XkjVkRxJCFGb8ZYzbfRZ 1172600894 Received: from Inspiron9300 (adsl-214-37-168.asm.bellsouth.net [68.214.37.168]) by mail.messagingengine.com (Postfix) with ESMTP id 4A4521660F; Tue, 27 Feb 2007 13:28:14 -0500 (EST) From: "Joe Uhl" To: "'Scott Marlowe'" , "'Joe Uhl'" Cc: Subject: Re: Opinions on Raid Date: Tue, 27 Feb 2007 13:28:13 -0500 MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook, Build 11.0.5510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028 thread-index: AcdamJJWNDq/uRRQQTeiKaDlY0EOjgAAZ6wQ In-Reply-To: <1172598967.20651.72.camel@state.g2switchworks.com> Message-Id: <20070227182814.4A4521660F@heartbeat2.messagingengine.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200703/101 X-Sequence-Number: 23506 Really appreciate all of the valuable input. The current server has the Perc4ei controller. The impression I am taking from the responses is that we may be okay with software raid, especially if raid 1 and 10 are what we intend to use. I think we can collect enough information from the archives of this list to help make decisions for the new machine(s), was just very interested in hearing feedback on software vs. hardware raid. We will likely be using the 2.6.18 kernel. Thanks for everyone's input, Joe -----Original Message----- From: Scott Marlowe [mailto:smarlowe@g2switchworks.com] Sent: Tuesday, February 27, 2007 12:56 PM To: Joe Uhl Cc: pgsql-performance@postgresql.org Subject: Re: [PERFORM] Opinions on Raid On Tue, 2007-02-27 at 07:12, Joe Uhl wrote: > We have been running Postgres on a 2U server with 2 disks configured in > raid 1 for the os and logs and 4 disks configured in raid 10 for the > data. I have since been told raid 5 would have been a better option > given our usage of Dell equipment and the way they handle raid 10. Some controllers do no layer RAID effectively. Generally speaking, the cheaper the controller, the worse it's gonna perform. Also, some controllers are optimized more for RAID 5 than RAID 1 or 0. Which controller does your Dell have, btw? > I > have just a few general questions about raid with respect to Postgres: > > [1] What is the performance penalty of software raid over hardware raid? > Is it truly significant? We will be working with 100s of GB to 1-2 TB > of data eventually. For a mostly read system, the performance is generally pretty good. Older linux kernels ran layered RAID pretty slowly. I.e. RAID 1+0 was no faster than RAID 1. The best performance software RAID I found in older linux kernels (2.2, 2.4) was plain old RAID-1. RAID-5 was good at reading, but slow at writing.