Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id DEF8C6502C7 for ; Mon, 8 Dec 2008 21:23:21 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 73431-07 for ; Mon, 8 Dec 2008 21:23:19 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.185]) by mail.postgresql.org (Postfix) with ESMTP id DDB1365037E for ; Mon, 8 Dec 2008 21:23:18 -0400 (AST) Received: by nf-out-0910.google.com with SMTP id c7so702434nfi.23 for ; Mon, 08 Dec 2008 17:23:16 -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=wphKAqUswo65qZu7KJfbcaxbMJgPA8yKNKnlRSgCJdg=; b=G4A8ZWq2ZhtDoJe6Lx2urN6QgY4X37QIvoVfW3+Y6DWJLaMKl1fybF32pmhyJJB+hW ua+aZPXHKupA3hU8h8kEaRG6+/TEAQI2PQXh4l+m8onyhZ1c8B/jmz9cyuSXzHDwYc8k PmBHPqxO7SZsD95mvNG6kvqcFInYkZP6Qkv3A= 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=IHeWb5qu2+xZRnd8DkG2pqrPJBKZji2iopkRkCJY8JgJPfd5VVYEQDLq/vUcEpSjmn QkZOQSrnn9kpEugf9gBydyIvHss/QVOBFsa+/mVSJ/K3MmtMqhNXVDgrSwk4JpUZXmZf K8g9gN1abLnnT2DQbsj4SWFoWHpTwey3SjLPg= Received: by 10.103.2.14 with SMTP id e14mr1485182mui.48.1228785796384; Mon, 08 Dec 2008 17:23:16 -0800 (PST) Received: by 10.103.131.10 with HTTP; Mon, 8 Dec 2008 17:23:16 -0800 (PST) Message-ID: Date: Mon, 8 Dec 2008 20:23:16 -0500 From: "Merlin Moncure" To: "Greg Smith" Subject: Re: Need help with 8.4 Performance Testing Cc: "Scott Marlowe" , "Josh Berkus" , pgsql-performance@postgresql.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <200812071138.01215.josh@agliodbs.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200812/61 X-Sequence-Number: 32097 On Mon, Dec 8, 2008 at 5:52 PM, Greg Smith wrote: > On Mon, 8 Dec 2008, Scott Marlowe wrote: > >> Well, I have 32 Gig of ram and wanted to test it against a database >> that was at least twice as big as memory. I'm not sure why you'd >> consider the results uninteresting though, I'd think knowing how the >> db will perform with a very large transactional store that is twice or >> more the size of memory would be when it starts getting interesting. > > If you refer back to the picture associated with the link Josh suggested: > > http://www.westnet.com/~gsmith/gregsmith/content/postgresql/scaling.png > > You'll see that pgbench results hit a big drop once you clear the amount of > memory being used to cache the accounts table. This curve isn't unique to > what I did; I've seen the same basic shape traced out by multiple other > testers on different hardware, independent of me. It just expands to the > right based on the amount of RAM available. > > All I was trying to suggest was that even if you've got 32GB of RAM, you may > already be into the more flat right section of that curve even with a 40GB > database. That was a little system with 1GB of RAM+256MB of disk cache, and > it was already toast at 750MB of database. Once you've gotten a database > big enough to reach that point, results degrade to something related to > database seeks/second rather than anything else, and further increases don't > give you that much more info. This is why I'm not sure if the current limit > really matters with 32GB of RAM, but it sure will be important if you want > any sort of useful pgbench results at 64GB. I wonder if shared_buffers has any effect on how far you can go before you hit the 'tipping point'. merlin