Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 8135CB5DC35 for ; Thu, 26 May 2011 05:25:41 -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 57415-06 for ; Thu, 26 May 2011 08:25:32 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from mail.catalyst.net.nz (bertrand.catalyst.net.nz [202.78.240.40]) by mail.postgresql.org (Postfix) with ESMTP id BDB35B5DC0D for ; Thu, 26 May 2011 05:25:31 -0300 (ADT) Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id 209A732511; Thu, 26 May 2011 20:25:29 +1200 (NZST) X-Virus-Scanned: Debian amavisd-new at catalyst.net.nz Received: from mail.catalyst.net.nz ([127.0.0.1]) by localhost (bertrand.catalyst.net.nz [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id UtEbYesvmtUd; Thu, 26 May 2011 20:25:28 +1200 (NZST) Received: from [192.168.1.11] (122-60-64-230.jetstream.xtra.co.nz [122.60.64.230]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id 3E6CC32469; Thu, 26 May 2011 20:25:28 +1200 (NZST) Message-ID: <4DDE0E77.6070804@catalyst.net.nz> Date: Thu, 26 May 2011 20:25:27 +1200 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2.17) Gecko/20110424 Thunderbird/3.1.10 MIME-Version: 1.0 To: =?UTF-8?B?R3J6ZWdvcnogSmHFm2tpZXdpY3o=?= CC: postgres performance list Subject: Re: serveRAID M5014 SAS References: <4DDD81BB.4080801@catalyst.net.nz> <4DDD85C7.6030109@catalyst.net.nz> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-1.91 tagged_above=-10 required=5 tests=BAYES_00=-1.9, T_RP_MATCHES_RCVD=-0.01 X-Spam-Level: X-Archive-Number: 201105/361 X-Sequence-Number: 43870 On 26/05/11 20:11, Grzegorz Jaƛkiewicz wrote: > The card is configured in 1+0 . with 128k stripe afaik (I'm a > developer, we don't have hardware guys here). > Are you's sure about the lack of cache by default on the card ? I > thought the difference is that 5104 has 256, and 5105 has 512 ram > already on it. No, I'm not sure about what the default is for the M5014 - I'd recommend checking this with your supplier (or looking at the invoice if you can get it). My *feeling* is that you may have 256M cache but no battery kit - as this is an optional part - so the the card will not got into writeback mode if that is the case. FWIW - we got our best (pgbench) results with 256K stripe, No (card) readahead and hyperthreading off on the host. You can interrogate the config of the card and the raid 10 array using the megaraid cli package - you need to read the (frankly terrible) manual to discover which switches to use to determine battery and cache status etc. If you email me privately I'll get you a link to the relevant docs! Cheers Mark