Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 6F044B5DC30 for ; Mon, 12 Sep 2011 00:10:30 -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 46053-10 for ; Mon, 12 Sep 2011 03:10:16 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-gw0-f49.google.com (mail-gw0-f49.google.com [74.125.83.49]) by mail.postgresql.org (Postfix) with ESMTP id 36173B5DC01 for ; Mon, 12 Sep 2011 00:10:16 -0300 (ADT) Received: by gwb1 with SMTP id 1so3429442gwb.22 for ; Sun, 11 Sep 2011 20:10:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=from:to:cc:references:in-reply-to:subject:date:message-id :mime-version:content-type:content-transfer-encoding:x-mailer :content-language:thread-index; bh=kwDAsk32v82ES9/MkUMTpmlOL4Pct8FOIWglLWUU7cw=; b=jS2Sx2vPzYnVdkIL7M6Dtl2mayB3tgGwECb+f40AUWZAYZRjXu3ouSiqTbs6OhmkA9 +DsvXl4TK8f4+pq1AS67N1YKCjJruT8uJcgoYS/4DYZ3oQCRdlbRX404TgoY6gdEBqCG EGuQRU2mGSDc26FN2xfrRMnxOOHqXWJGhI2xw= Received: by 10.90.70.12 with SMTP id s12mr3574713aga.107.1315797015641; Sun, 11 Sep 2011 20:10:15 -0700 (PDT) Received: from Duality (67-40-130-232.hlrn.qwest.net [67.40.130.232]) by mx.google.com with ESMTPS id 21sm12657240anp.13.2011.09.11.20.10.13 (version=SSLv3 cipher=OTHER); Sun, 11 Sep 2011 20:10:14 -0700 (PDT) From: "mark" To: "'Anthony Presley'" Cc: References: In-Reply-To: Subject: Re: RAID Controller (HP P400) beat by SW-RAID? Date: Sun, 11 Sep 2011 21:10:11 -0600 Message-ID: <007601cc70f9$7d150940$773f1bc0$@com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable X-Mailer: Microsoft Office Outlook 12.0 Content-Language: en-us Thread-Index: Acxw1G/ri11cM54cSaWL3+jO/hCBqwAIRlQA X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.899 tagged_above=-10 required=5 tests=BAYES_00=-1.9, FREEMAIL_FROM=0.001 X-Spam-Level: X-Archive-Number: 201109/139 X-Sequence-Number: 44915 >From: pgsql-performance-owner@postgresql.org [mailto:pgsql-performance-owner@postgresql.org] On Behalf Of Anthony = Presley >Sent: Sunday, September 11, 2011 4:45 PM >To: pgsql-performance@postgresql.org >Subject: [PERFORM] RAID Controller (HP P400) beat by SW-RAID? >We've currently got PG 8.4.4 running on a whitebox hardware set up, = with (2) 5410 Xeon's, and 16GB of RAM. =A0It's also got (4) 7200RPM SATA = drives, using the onboard IDE controller and ext3.=20 >A few weeks back, we purchased two refurb'd HP DL360's G5's, and were hoping to set them up with PG 9.0.2, running replicated. =A0These = machines have (2) 5410 Xeon's, 36GB of RAM, (6) 10k SAS drives, and are using the = HP SA P400i with 512MB of BBWC. =A0PG is running on an ext4 (noatime) = partition, and they drives configured as RAID 1+0 (seems with this controller, I = cannot do JBOD). =A0I've spent a few hours going back and forth benchmarking = the new systems, and have set up the DWC, and the accelerator cache using = hpacucli. =A0I've tried accelerator caches of 25/75, 50/50, and 75/25. > I would start of by recommending a more current version of 9.0...like = 9.0.4 since you are building a new box. The rumor mill says 9.0.5 and 9.1.0 = might be out soon (days?). but that is just rumor mill. Don't bank on it.=20 What kernel are you on ? Long time HP user here, for better and worse... so here are a few other little things I recommend.=20 Check the bios power management. Make sure it is set where you want it. (IIRC the G5s have this, I know G6s and G7s do). This can help with = nasty latency problems if the box has been idle for a while then needs to = start doing work. The p400i is not a great card, compared to more modern one, but you = should be able to beat the old setup with what you have. Faster clocked cpu's = more spindles, faster RPM spindles.=20 Assuming the battery is working, with XFS or ext4 you can use nobarrier mount option and you should see some improvement.=20 Make sure the raid card's firmware is current. I can't stress this = enough. HP fixed a nasty bug with Raid 1+0 a few months ago where you could eat = your data... They also seem to be fixing a lot of other bugs along the way as well. So do yourself a big favor and make sure that firmware is current. = It might just head off headache down the road. Also make sure you have a 8.10.? (IIRC the version number right) or = better version of hpacucli... there have been some fixes to that utility as = well. IIRC most of the fixes in this have been around recognizing newere cards (812s and 410s) but some interface bugs have been fixed as well. You = may need new packages for HP health. (I don't recall the official name, but = new versions if hpacucli might not play well with old versions of hp health. = Its HP so they have a new version about every month for firmware and = their cli utility... that=92s HP for us.=20 Anyways that is my fast input. Best of luck, -Mark