Received: from magus.postgresql.org (magus.postgresql.org [87.238.57.229]) by mail.postgresql.org (Postfix) with ESMTP id E8A331B31A53 for ; Thu, 24 May 2012 02:00:08 -0300 (ADT) Received: from [2404:130:0:10::40:2] (helo=mail.catalyst.net.nz) by magus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1SXQ9c-0007r7-Ba for pgsql-performance@postgresql.org; Thu, 24 May 2012 05:00:07 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.catalyst.net.nz (Postfix) with ESMTP id A01D432DD4; Thu, 24 May 2012 16:59:45 +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 UVYixtjWaPXh; Thu, 24 May 2012 16:59:45 +1200 (NZST) Received: from [IPv6:2404:130:0:1000:60ee:f93c:b6af:81bb] (unknown [IPv6:2404:130:0:1000:60ee:f93c:b6af:81bb]) (Authenticated sender: mark.kirkwood) by mail.catalyst.net.nz (Postfix) with ESMTPSA id EA8D0325F5; Thu, 24 May 2012 16:59:44 +1200 (NZST) Message-ID: <4FBDC040.2000406@catalyst.net.nz> Date: Thu, 24 May 2012 16:59:44 +1200 From: Mark Kirkwood User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:12.0) Gecko/20120430 Thunderbird/12.0.1 MIME-Version: 1.0 To: Jan Nielsen CC: pgsql-performance@postgresql.org Subject: Re: Configuration Recommendations References: <4F96FFE1.2030809@peak6.com> <4F97ABBB.1000708@kickstone.co.uk> <4F986CAC.4060904@peak6.com> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Host-Lookup-Failed: Reverse DNS lookup failed for 2404:130:0:10::40:2 (failed) X-Pg-Spam-Score: -1.1 (-) X-Archive-Number: 201205/115 X-Sequence-Number: 46939 On 20/05/12 03:47, Jan Nielsen wrote: > In this test, the local mount's buffered reads perform best around RA~10k @ > 150MB/sec then starts a steady decline. The SAN mount has a similar but > more subtle decline with a maximum around RA~5k @ 80MB/sec but with much > greater variance. I was surprised at the 80MB/sec for the SAN - I was > expecting 150MB/sec - and I'm also surprised at the variance. I understand > that there are many more elements involved for the SAN: more drives, > network overhead& latency, iscsi, etc. but I'm still surprised. > > Is this expected behavior for a SAN mount or is this a hint at some > misconfiguration? Thoughts? > > Is the SAN mount via iSCSI? If so and also if the connection is a single 1Gbit interface then 80MB/s is reasonable. You might get closer to 100MB/s by tweaking things like MTU for the interface concerned, but to get more performance either bonding several 1Gbit links or using 10Gbit is required. Regards Mark