X-Original-To: pgsql-performance-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.144]) by svr1.postgresql.org (Postfix) with ESMTP id 6E32B52B51 for ; Fri, 29 Jul 2005 14:11:22 -0300 (ADT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (av.hub.org [200.46.204.144]) (amavisd-new, port 10024) with ESMTP id 91578-10 for ; Fri, 29 Jul 2005 17:11:20 +0000 (GMT) Received: from mail.Mi8.com (unknown [63.240.6.42]) by svr1.postgresql.org (Postfix) with ESMTP id 5E44852A23 for ; Fri, 29 Jul 2005 14:11:19 -0300 (ADT) Received: from 172.16.1.110 by mail.Mi8.com with ESMTP (- GW01 Welcome to Mi8 Corporation www.Mi8.com); Fri, 29 Jul 2005 13:11:10 -0400 X-Server-Uuid: F1A2E19A-84E4-48DD-8F48-B475613F58B2 Received: from MI8NYCMAIL06.Mi8.com ([172.16.1.175]) by D01SMTP01.Mi8.com with Microsoft SMTPSVC(6.0.3790.211); Fri, 29 Jul 2005 13:11:11 -0400 Received: from 67.103.45.218 ([67.103.45.218]) by MI8NYCMAIL06.Mi8.com ( [172.16.1.219]) via Exchange Front-End Server mi8owa.mi8.com ( [172.16.1.104]) with Microsoft Exchange Server HTTP-DAV ; Fri, 29 Jul 2005 13:11:10 -0500 User-Agent: Microsoft-Entourage/11.1.0.040913 Date: Fri, 29 Jul 2005 10:11:10 -0700 Subject: Re: Performance problems testing with Spamassassin From: "Luke Lonergan" To: "Alvaro Herrera" Cc: "Andrew McMillan" , "Matthew Schumacher" , pgsql-performance@postgresql.org Message-ID: In-Reply-To: <20050729132319.GA13680@alvh.no-ip.org> MIME-Version: 1.0 X-OriginalArrivalTime: 29 Jul 2005 17:11:11.0273 (UTC) FILETIME=[849F4990:01C59460] X-WSS-ID: 6EF4BCA421S3436249-01-01 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=1.552 tagged_above=0 required=5 tests=AWL, RCVD_NUMERIC_HELO X-Spam-Level: * X-Archive-Number: 200507/474 X-Sequence-Number: 13715 Alvaro, On 7/29/05 6:23 AM, "Alvaro Herrera" wrote: > On Fri, Jul 29, 2005 at 03:01:07AM -0400, Luke Lonergan wrote: > >> I guess we see the real culprit here. Anyone surprised it's the WAL? > > So what? Are you planning to suggest people to turn fsync=false? That's not the conclusion I made, no. I was pointing out that fsync has a HUGE impact on his problem, which implies something to do with the I/O sync operations. Black box bottleneck hunt approach #12. > With fsync off, there's no > work _at all_ going on, not just the WAL -- heap/index file fsync at > checkpoint is also skipped. This is no good. OK - so that's what Tom is pointing out, that fsync impacts more than WAL. However, finding out that fsync/no fsync makes a 400% difference in speed for this problem is interesting and relevant, no? - Luke