Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 772111336971 for ; Fri, 5 Nov 2010 19:11:53 -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 70471-06 for ; Fri, 5 Nov 2010 22:11:46 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from glacier.frostconsultingllc.com (glacier.frostconsultingllc.com [69.36.227.170]) by mail.postgresql.org (Postfix) with ESMTP id 53F911337B7D for ; Fri, 5 Nov 2010 19:11:46 -0300 (ADT) Received: from dsl081-245-111.sfo1.dsl.speakeasy.net ([64.81.245.111] helo=Sidney-Stratton.local) by glacier.frostconsultingllc.com with esmtpsa (TLSv1:CAMELLIA256-SHA:256) (Exim 4.69) (envelope-from ) id 1PEUVb-0006RE-GT for pgsql-performance@postgresql.org; Fri, 05 Nov 2010 15:11:46 -0700 Message-ID: <4CD4811F.60905@agliodbs.com> Date: Fri, 05 Nov 2010 15:11:43 -0700 From: Josh Berkus User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.1b3pre) Gecko/20090223 Thunderbird/3.0b2 MIME-Version: 1.0 To: pgsql-performance@postgresql.org Subject: Re: Major Linux performance regression; shouldn't we be worried about RHEL6? References: <4CD465D8.4070007@agliodbs.com> <4CD47678.5050002@2ndquadrant.com> In-Reply-To: <4CD47678.5050002@2ndquadrant.com> Content-Type: text/plain; charset=UTF-8 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: 201011/77 X-Sequence-Number: 41101 > The main change here was discussed back in January: > http://archives.postgresql.org/message-id/4B512D0D.4030909@2ndquadrant.com > > What I've been doing about this is the writing leading up to > http://wiki.postgresql.org/wiki/Reliable_Writes so that when RHEL6 does > ship, we have a place to point people toward that makes it better > documented that the main difference here is a reliability improvement > rather than a performance regression. I'm not sure what else we can do > here, other than organizing more testing for kernel bugs in this area on > RHEL6. The only way to regain the majority of the "lost" performance > here is to turn off synchronous_commit in the default config. Yeah, I was looking at that. However, there seems to be some indications that there was a drop in performance specifically in 2.6.32 which went beyond fixing the reliability: http://www.phoronix.com/scan.php?page=article&item=linux_2636_btrfs&num=1 However, Phoronix doesn't say what sync option they're using; quite likely it's O_DSYNC. Unfortunately, the fact that users now need to be aware of the fsync_method again, after having it set automatically for them for the last 4 years, is a usability regression for *us*. Anything that's reasonable for us to do about it? -- -- Josh Berkus PostgreSQL Experts Inc. http://www.pgexperts.com