Received: from maia.hub.org (maia-2.hub.org [200.46.204.251]) by mail.postgresql.org (Postfix) with ESMTP id BA49FB5DBD8 for ; Sun, 14 Aug 2011 14:33:57 -0300 (ADT) Received: from mail.postgresql.org ([200.46.204.86]) by maia.hub.org (mx1.hub.org [200.46.204.251]) (amavisd-maia, port 10024) with ESMTP id 32752-06 for ; Sun, 14 Aug 2011 17:33:51 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from sss.pgh.pa.us (sss.pgh.pa.us [66.207.139.130]) by mail.postgresql.org (Postfix) with ESMTP id 20515B5DBCC for ; Sun, 14 Aug 2011 14:33:50 -0300 (ADT) Received: from sss2.sss.pgh.pa.us (tgl@localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.2/8.14.2) with ESMTP id p7EHXjA5028387; Sun, 14 Aug 2011 13:33:45 -0400 (EDT) To: tv@fuzzy.cz cc: "Greg Smith" , pgsql-performance@postgresql.org Subject: Re: strange pgbench results (as if blocked at the end) In-reply-to: References: <2f9ba8ed6e4ed11d9a6d236cb4d2a2ec.squirrel@sq.gransy.com> <4E45EAD3.9030102@2ndQuadrant.com> Comments: In-reply-to message dated "Sun, 14 Aug 2011 14:51:37 +0200" Date: Sun, 14 Aug 2011 13:33:44 -0400 Message-ID: <28386.1313343224@sss.pgh.pa.us> From: Tom Lane X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=-2.712 tagged_above=-10 required=5 tests=BAYES_00=-1.9, RP_MATCHES_RCVD=-0.812 X-Spam-Level: X-Archive-Number: 201108/161 X-Sequence-Number: 44608 writes: > On 13 Srpen 2011, 5:09, Greg Smith wrote: >> And I keep seeing too many data corruption issues on ext4 to recommend >> anyone use it yet for PostgreSQL, that's why I focused on XFS. ext4 >> still needs at least a few more months before all the bug fixes it's >> gotten in later kernels are backported to the 2.6.32 versions deployed >> in RHEL6 and Debian Squeeze, the newest Linux distributions my customers >> care about right now. On RHEL6 for example, go read >> http://docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6/html/6.1_Technical_Notes/kernel.html >> , specifically BZ#635199, and you tell me if that sounds like it's >> considered stable code yet or not. "The block layer will be updated in >> future kernels to provide this more efficient mechanism of ensuring >> ordering...these future block layer improvements will change some kernel >> interfaces..." Yikes, that does not inspire confidence to me. > XFS is naturally much more mature / stable than EXT4, but I'm not quite > sure I want to judge the stability of code based on a comment in release > notes. As I understand it, the comment says something like "things are > not working as efficiently as it should, we'll improve that in the > future" and it relates to the block layer as a whole, not just specific > file systems. But I don't have access to the bug #635199, so maybe I > missed something. I do ;-). The reason for the tech note was to point out that RHEL6.1 would incorporate backports of upstream kernel changes that broke the ABI for loadable kernel modules, compared to what it had been in RHEL6.0. That's of great interest to third-party software developers who add device or filesystem drivers to RHEL, but I don't think it speaks at all to whether the code is unstable from a user's standpoint. (The changes in question were purely for performance, and involved a conversion from write barriers in the block layer to flush+fua, whatever that is.) Furthermore, this affected every filesystem not only ext4, so it really entirely fails to support Greg's argument. regards, tom lane