Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql Performance > Re: shared_buff...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 8 of 14 Topic 3991 of 4424
Post > Topic >>

Re: shared_buffers performance

by gsmith@[EMAIL PROTECTED] (Greg Smith) Apr 14, 2008 at 11:42 AM

On Mon, 14 Apr 2008, Gaetano Mendola wrote:

> I'm using postgres 8.2.3 on Red Hat compiled with GCC 3.4.6.

8.2.3 has a performance bug that impacts how accurate pgbench results are;

you really should be using a later version.

> http://img84.imageshack.us/my.php?image=totalid7.png
> as you can see using 64MB as value for shared_buffers I'm obtaining 
> better results.

I'm assuming you've read my scaling article at 
http://www.westnet.com/~gsmith/content/postgresql/pgbench-scaling.htm

since you're using the graph template I suggest there.

If you look carefully at your results, you are getting better results for 
higher shared_buffers values in the cases where performance is memory 
bound (the lower scale numbers).  Things reverse so that more buffers 
gives worse performance only when your scale >100.  I wouldn't conclude 
too much from that.  The pgbench select test is doing a low-level 
operation that doesn't benefit as much from having more memory available 
to PostgreSQL instead of the OS as a real-world workload will.

--
* Greg Smith gsmith@[EMAIL PROTECTED]
 http://www.gregsmith.com
Baltimore, MD

-- 
Sent via pgsql-performance mailing list (pgsql-performance@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-performance
 




 14 Posts in Topic:
shared_buffers performance
mendola@[EMAIL PROTECTED]  2008-04-14 11:13:05 
Re: shared_buffers performance
stark@[EMAIL PROTECTED]   2008-04-14 11:56:47 
Re: shared_buffers performance
dev@[EMAIL PROTECTED] (R  2008-04-14 12:25:45 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 11:44:44 
Re: shared_buffers performance
tgl@[EMAIL PROTECTED] (T  2008-04-14 15:31:54 
Re: shared_buffers performance
stark@[EMAIL PROTECTED]   2008-04-14 20:58:21 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 16:08:48 
Re: shared_buffers performance
gsmith@[EMAIL PROTECTED]   2008-04-14 11:42:50 
Re: shared_buffers performance
Gaetano Mendola <mendo  2008-04-15 11:05:12 
Re: shared_buffers performance
Gaetano Mendola <mendo  2008-04-15 11:11:31 
Vacuum settings
dforums@[EMAIL PROTECTED]  2008-04-20 19:48:53 
Re: Vacuum settings
alvherre@[EMAIL PROTECTED  2008-04-21 11:03:37 
Re: shared_buffers performance
mendola@[EMAIL PROTECTED]  2008-04-15 17:08:02 
Re: Vacuum settings
gc@[EMAIL PROTECTED] (Gu  2008-04-21 17:31:03 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 7:24:28 CST 2008.