Received: from maia.hub.org (maia-3.hub.org [200.46.204.243]) by mail.postgresql.org (Postfix) with ESMTP id 00ECE1337B8F for ; Fri, 5 Nov 2010 19:06:17 -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 61995-09 for ; Fri, 5 Nov 2010 22:06:09 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from moutng.kundenserver.de (moutng.kundenserver.de [212.227.126.187]) by mail.postgresql.org (Postfix) with ESMTP id A085F1337B92 for ; Fri, 5 Nov 2010 19:06:09 -0300 (ADT) Received: from [75.208.160.232] (232.sub-75-208-160.myvzw.com [75.208.160.232]) by mrelayeu.kundenserver.de (node=mreu0) with ESMTP (Nemesis) id 0Lj7Ag-1Oh40f3xVu-00dDSy; Fri, 05 Nov 2010 23:06:09 +0100 Message-ID: <4CD47FCD.6010106@2ndquadrant.com> Date: Fri, 05 Nov 2010 15:06:05 -0700 From: Greg Smith User-Agent: Thunderbird 2.0.0.24 (X11/20100317) MIME-Version: 1.0 To: Marti Raudsepp CC: Andres Freund , pgsql-performance@postgresql.org Subject: Re: Defaulting wal_sync_method to fdatasync on Linux for 9.1? References: <4CCDCAA3.4050805@2ndquadrant.com> <201011010010.28724.andres@anarazel.de> <4CD472CC.80006@2ndquadrant.com> In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Provags-ID: V02:K0:a8aJ5Cuc5vvBTB0iQJ6NAhCKrzNbdLUuKUlhSkfx2Bh iRooHXvd3C7E1LYsKGQprL2rjU/N8rz0UilXmN7qSxQPL7xpvm OxXoH3xjxdPS3wrMcXXVd6FdOroOWp76Arc8WozTvxG6LkiMek x/pPYQgvDaDD1iRTNzyiUFahr3eCoyVshD5FSk7BPVKZPa1Dbf 3+GhNiWPslLsSXgu9/QWBx7RU/mGVk+QH6AN+cOuhc= 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/75 X-Sequence-Number: 41099 Marti Raudsepp wrote: > In fact, I was wrong in my earlier post. Linux always offered O_DSYNC > behavior. What's new is POSIX-compliant O_SYNC, and the fact that > these flags are now distinguished. > While I appreciate that you're trying to help here, I'm unconvinced you've correctly diagnosed a couple of components to what's going on here properly yet. Please refrain from making changes to popular documents like the tuning guide on the wiki based on speculation about what's happening. There's definitely at least one mistake in what you wrote there, and I just reverted the whole set of changes you made accordingly until this is sorted out better. -- 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