Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id 4F1CC2E1EFF for ; Tue, 22 Jan 2008 08:03:40 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 96007-04 for ; Tue, 22 Jan 2008 08:03:34 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by postgresql.org (Postfix) with ESMTP id 32F9B2E006D for ; Tue, 22 Jan 2008 08:03:39 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.14.1/8.14.1) with ESMTP id m0MC3YrQ017763 for ; Tue, 22 Jan 2008 08:03:34 -0400 (AST) (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.14.1/8.14.1/Submit) id m0MBvBfa065891 for pgsql-performance@postgresql.org; Tue, 22 Jan 2008 07:57:11 -0400 (AST) (envelope-from news) From: Hannes Dorbath X-Newsgroups: pgsql.performance Subject: Re: 8.3 synchronous_commit Date: Tue, 22 Jan 2008 12:56:59 +0100 Organization: Hub.Org Networking Services Lines: 19 Message-ID: <4795DA0B.7000202@theendofthetunnel.de> References: <82d4rumfae.fsf@mid.bfk.de> <1d4e0c10801220049p7b184a52s1b2b2e86bc414395@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@news.hub.org To: Guillaume Smet User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) In-Reply-To: <1d4e0c10801220049p7b184a52s1b2b2e86bc414395@mail.gmail.com> To: pgsql-performance@postgresql.org X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200801/178 X-Sequence-Number: 28417 Guillaume Smet wrote: > Also with SATA? If your SATA disk is lying about effectively SYNCing > the data, I'm not that surprised you don't see any improvement. Being > slower is a bit surprising though. The disc is not lying, but LVM does not support write barriers, so the result is the same. Indeed nothing is flushing the disc's write cache on fsync. However I could disable the disc's write cache entirely. One reason why I'm a ZFS fan boy lately. It just get's all of this right by *default*. Anyway, with some further testing my benchmark results vary so much that further discussion seems pointless. I'll repost when I really have reproducible values and followed Greg Smith's advice. -- Best regards, Hannes Dorbath