Received: from localhost (unknown [200.46.204.182]) by postgresql.org (Postfix) with ESMTP id A5D702E0322 for ; Wed, 26 Dec 2007 13:12:32 -0400 (AST) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.182]) (amavisd-maia, port 10024) with ESMTP id 50674-09 for ; Wed, 26 Dec 2007 13:12:18 -0400 (AST) Received: from hu-out-0506.google.com (hu-out-0506.google.com [72.14.214.229]) by postgresql.org (Postfix) with ESMTP id EA3B62E0352 for ; Wed, 26 Dec 2007 13:12:23 -0400 (AST) Received: by hu-out-0506.google.com with SMTP id 22so1912240hug.23 for ; Wed, 26 Dec 2007 09:12:22 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; bh=6IfFowHtyHE/aiNHf8Lc9mEOjZ+rmuMfe/AdxeTEeWU=; b=DalVO7nwnSYdWenIXOEMvsLk0jdWjAeza9uqo9oVBGniAntfO6kNObW2jbIhlRQEWzhdLyS9bjKzDddPv3WiT0JQieGCwXt1WMQ3QFzLGs5f8mPz3pPqxYKU9TVpoF9v33OMZnu9PFsJ9QIIUz9rqBTgVGUsLrgYjVhosPlrtvU= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=ZG835YXawQXKHdl2gRWV2qWDn4j8y+zcAxBUCzBLBX8EmhP8BCEDUodlV8PR7vBiyZT4zvTyOML9/YFqkyeSoqjXaWFsnh0rH+H0bLf4lbDC2mJv+UZjoM5X6CmRkuQFeKFWTA+ksoRKyiM632Px3egh/72rn2+b1uNZZP5wi/A= Received: by 10.78.183.8 with SMTP id g8mr8318925huf.42.1198689141868; Wed, 26 Dec 2007 09:12:21 -0800 (PST) Received: by 10.78.35.10 with HTTP; Wed, 26 Dec 2007 09:12:21 -0800 (PST) Message-ID: <162867790712260912p1e00dd75yfaebf6fffe6d2403@mail.gmail.com> Date: Wed, 26 Dec 2007 18:12:21 +0100 From: "Pavel Stehule" To: "Guillaume Smet" Subject: Re: More shared buffers causes lower performances Cc: "Simon Riggs" , pgsql-performance , "Stefan Kaltenbrunner" In-Reply-To: <1d4e0c10712260741w1f141fd6x2f482143d526ad48@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <1d4e0c10712251606q6f9503deye3da4b68c51bf5e@mail.gmail.com> <1198668065.4221.288.camel@ebony.site> <1d4e0c10712260741w1f141fd6x2f482143d526ad48@mail.gmail.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200712/361 X-Sequence-Number: 28177 Hello I tested it and it is true. In my configuration 1GRam, Fedora 8, is PostgreSQL most fast with 32M shared buffers :(. Diff is about 5% to 256M Regards Pavel Stehule On 26/12/2007, Guillaume Smet wrote: > On Dec 26, 2007 12:21 PM, Simon Riggs wrote: > > bgwriter_lru_maxpages = 0 > > > > So we can see if the bgwriter has any hand in this? > > It doesn't change the behaviour I have. > > It's not checkpointing either as using pgbench-tools, I can see that > tps and latency are quite stable during the entire run. Btw, thanks > Greg for these nice tools. > > I thought it may be some sort of lock contention so I made a few tests > with -N but I have the same behaviour. > > Then I decided to perform read-only tests using -S option (pgbench -S > -s 100 -c 16 -t 30000 -U postgres bench). And still the same > behaviour: > shared_buffers=64MB : 20k tps > shared_buffers=1024MB : 8k tps > > Any other idea? > > -- > Guillaume > > ---------------------------(end of broadcast)--------------------------- > TIP 2: Don't 'kill -9' the postmaster >