Received: from maia.hub.org (maia-5.hub.org [200.46.204.29]) by mail.postgresql.org (Postfix) with ESMTP id BED981337B94 for ; Fri, 5 Nov 2010 18:26:51 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.29]) (amavisd-maia, port 10024) with ESMTP id 19413-06 for ; Fri, 5 Nov 2010 21:26:45 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.186]) by mail.postgresql.org (Postfix) with ESMTP id 4F9671337B92 for ; Fri, 5 Nov 2010 18:26:44 -0300 (ADT) Received: from [75.208.160.232] (232.sub-75-208-160.myvzw.com [75.208.160.232]) by mrelayeu.kundenserver.de (node=mrbap2) with ESMTP (Nemesis) id 0LejD4-1OlQ612CJ4-00prFW; Fri, 05 Nov 2010 22:26:20 +0100 Message-ID: <4CD47678.5050002@2ndquadrant.com> Date: Fri, 05 Nov 2010 14:26:16 -0700 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Josh Berkus CC: pgsql-performance@postgresql.org Subject: Re: Major Linux performance regression; shouldn't we be worried about RHEL6? References: <4CD465D8.4070007@agliodbs.com> In-Reply-To: <4CD465D8.4070007@agliodbs.com> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:pARo7RrMSuU3F7mikO2ZXxIfJ2KgTVkh/tSb3BtvBFx IquFHO9fzq3cQ9NANsbc2gXolbZbeVaGkOP95LRcuTq2kZsXAn Vo7XzIoqFOL4Xh/yEt32JEnbldeC7M3RqZqI1j5bLACSTsdI4y Jqh38WshKwlL+xJB84dhajF4Xclx0xkKhIGhqloAuKtOo9FbP9 331NuPMZeSByS1IlU788UtzncGS45lw8l4E0sn9htw= 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, RCVD_IN_DNSWL_NONE=-0.0001 X-Spam-Level: X-Archive-Number: 201011/72 X-Sequence-Number: 41096 Josh Berkus wrote: > Domas (of Facebook/Wikipedia, MySQL geek) pointed me to this report: > > http://www.phoronix.com/scan.php?page=article&item=linux_perf_regressions&num=1 > http://www.phoronix.com/scan.php?page=article&item=ext4_then_now&num=6 > 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. -- Greg Smith 2ndQuadrant US greg@2ndQuadrant.com Baltimore, MD PostgreSQL Training, Services and Support www.2ndQuadrant.us "PostgreSQL 9.0 High Performance": http://www.2ndQuadrant.com/books