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 DF32D52A22 for ; Tue, 19 Jul 2005 12:33:27 -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 59115-05 for ; Tue, 19 Jul 2005 15:33:25 +0000 (GMT) Received: from boutiquenumerique.com (boutiquenumerique.com [82.67.9.10]) by svr1.postgresql.org (Postfix) with ESMTP id 39BC0529DE for ; Tue, 19 Jul 2005 12:33:23 -0300 (ADT) Received: (qmail 10631 invoked from network); 19 Jul 2005 17:33:57 +0200 Received: from unknown (HELO localhost) (boutiquenumerique-lists@192.168.0.4) by boutiquenumerique.com with SMTP; 19 Jul 2005 17:33:57 +0200 To: "Christopher Petrilli" , "Tom Lane" Cc: "Vivek Khera" , pgsql-performance@postgresql.org Subject: Re: Impact of checkpoint_segments under continual load conditions References: <59d991c4050717100874c08a86@mail.gmail.com> <59d991c405071811457ccdd3f1@mail.gmail.com> <16394.1121715156@sss.pgh.pa.us> <59d991c405071812342e290f57@mail.gmail.com> <16794.1121718743@sss.pgh.pa.us> <59d991c405071907482bb0689b@mail.gmail.com> Message-ID: Date: Tue, 19 Jul 2005 17:33:21 +0200 From: PFC Organization: =?iso-8859-15?Q?La_Boutique_Num=E9rique?= Content-Type: text/plain; format=flowed; delsp=yes; charset=iso-8859-15 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <59d991c405071907482bb0689b@mail.gmail.com> User-Agent: Opera M2/8.0 (Linux, build 1095) X-Virus-Scanned: by amavisd-new at hub.org X-Spam-Status: No, hits=0.005 tagged_above=0 required=5 tests=AWL X-Spam-Level: X-Archive-Number: 200507/282 X-Sequence-Number: 13523 What happens if, say at iteration 6000 (a bit after the mess starts), you pause it for a few minutes and resume. Will it restart with a plateau like at the beginning of the test ? or not ? What if, during this pause, you disconnect and reconnect, or restart the postmaster, or vacuum, or analyze ? > On 7/18/05, Tom Lane wrote: >> > The table has 15 columns, 5 indexes (character, inet and timestamp). >> > No foreign keys. The only other thing running on the machine was the >> > application actually DOING the benchmarking, written in Python >> > (psycopg), but it was, according to top, using less than 1% of the >> > CPU. It was just talking through a pipe to a psql prompt to do the >> > COPY. >> >> Sounds pretty plain-vanilla all right. >> >> Are you in a position to try the same benchmark against CVS tip? >> (The nightly snapshot tarball would be plenty close enough.) I'm >> just wondering if the old bgwriter behavior of locking down the >> bufmgr while it examined the ARC/2Q data structures is causing this... > > Tom, > > It looks like the CVS HEAD is definately "better," but not by a huge > amount. The only difference is I wasn't run autovacuum in the > background (default settings), but I don't think this explains it. > Here's a graph of the differences and density of behavior: > > http://blog.amber.org/diagrams/pgsql_copy_803_cvs.png > > I can provide the raw data. Each COPY was 500 rows. Note that fsync > is turned off here. Maybe it'd be more stable with it turned on? > > Chris