Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8C2A5B5DBD9 for ; Wed, 17 Aug 2011 16:04:46 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.243]) (amavisd-maia, port 10024) with ESMTP id 50980-02 for ; Wed, 17 Aug 2011 19:04:40 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from gpdnet.co.uk (gpdnet.plus.com [212.56.100.243]) by mail.postgresql.org (Postfix) with SMTP id 5E534B5DBD6 for ; Wed, 17 Aug 2011 16:04:39 -0300 (ADT) Received: (qmail 9726 invoked by uid 453); 17 Aug 2011 19:04:36 -0000 Received: from pc-00002.gpdnet.co.uk (HELO [192.168.1.2]) (192.168.1.2) by gpdnet.co.uk (qpsmtpd/0.83) with (AES256-SHA encrypted) ESMTPS; Wed, 17 Aug 2011 20:04:36 +0100 Message-ID: <4E4C10C9.1000806@gpdnet.co.uk> Date: Wed, 17 Aug 2011 20:04:41 +0100 From: Gary Doades User-Agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0) Gecko/20110812 Thunderbird/6.0 MIME-Version: 1.0 To: Ogden CC: pgsql-performance@postgresql.org Subject: Re: Raid 5 vs Raid 10 Benchmarks Using bonnie++ References: <959BD2FA-0312-458B-BD5F-ED358D2C47ED@darkstatic.com> <75A85649-2B95-43D5-8404-4776D2E580EC@darkstatic.com> <4E4C0969.5030401@gpdnet.co.uk> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.9 tagged_above=-10 required=5 tests=BAYES_00=-1.9 X-Spam-Level: X-Archive-Number: 201108/195 X-Sequence-Number: 44642 On 17/08/2011 7:56 PM, Ogden wrote: > On Aug 17, 2011, at 1:33 PM, Gary Doades wrote: > >> On 17/08/2011 7:26 PM, Ogden wrote: >>> I am using bonnie++ to benchmark our current Postgres system (on RAID 5) with the new one we have, which I have configured with RAID 10. The drives are the same (SAS 15K). I tried the new system with ext3 and then XFS but the results seem really outrageous as compared to the current system, or am I reading things wrong? >>> >>> The benchmark results are here: >>> >>> http://malekkoheavyindustry.com/benchmark.html >>> >> The results are not completely outrageous, however you don't say what drives, how many and what RAID controller you have in the current and new systems. You might expect that performance from 10/12 disks in RAID 10 with a good controller. I would say that your current system is outrageous in that is is so slow! >> >> Cheers, >> Gary. > > Yes, under heavy writes the load would shoot right up which is what caused us to look at upgrading. If it is the RAID 5, it is mind boggling that it could be that much of a difference. I expected a difference, now that much. > > The new system has 6 drives, 300Gb 15K SAS and I've put them into a RAID 10 configuration. The current system is ext3 with RAID 5 over 4 disks on a Perc/5i controller which has half the write cache as the new one (256 Mb vs 512Mb). Hmm... for only 6 disks in RAID 10 I would say that the figures are a bit higher than I would expect. The PERC 5 controller is pretty poor in my opinion, PERC 6 a lot better and the new H700's pretty good. I'm guessing you have a H700 in your new system. I've just got a Dell 515 with a H700 and 8 SAS in RAID 10 and I only get around 600 MB/s read using ext4 and Ubuntu 10.4 server. Like I say, your figures are not outrageous, just unexpectedly good :) Cheers, Gary.