Friday, June 12. 2009Benchmarking 8.4 - Chapter 1/Read-Only workloadsTrackbacks
Trackback specific URI for this entry
No Trackbacks
Comments
Display comments as
(Linear | Threaded)
Hi Stefan,
Could you retest it with pgbench in another machine? As you said, the scaling problems is a known issue in pgbench. IIRC you posted this same analysis for 8.3; is it the same machine? Could you show us the comparison?
Thanks for testing.
at this transaction rates (ie up to 140000 queries/s) the additional latency involved in going over tcp/ip from another box is significant and seems to hide some of the pgbench issues. However I will see if I can get some numbers as well.
given that the server has 34GB of RAM would you consider allocating more memory to shared buffers? I would try 5-7GB.
This setting most likely wouldn't change the test results and I know that it's very often advised to keep shared buffers small, but given the amount of RAM available nowadays and efficiency of nehalem architecture (i.e. built-in memory controller and fasr QPI bus) I would be interested to see if more memory dedicated to shared buffers is appropriate. thanks.
The largest database test set used here (scale=100, about 1.6GB) is smaller than the 2GB shared_buffers already allocated. Giving it more RAM will just slow things down unless the working set of data is also increased.
the first chart actually contains numbers at scale=1000 which I actually did to see if shared_buffers less than the size of the database would have a noticable effect in this scenario.
To overcome pgbench scalability limit, I'd advice using tsung. Bug me when you see me there on IRC if you want me to help through setting up the client etc.
With modern Erlang version (stable and all), you can have 50 000 concurrent TCP connected clients without a problem, you typically run out of TCP ports before erlang scalability level is reached, I've been told by tsung author.
|
Blog AdministrationCategoriesTop ExitsTop Referrerswww.google.com (1045)
www.google.co.uk (253) www.planetpostgresql.org (220) www.netvibes.com (160) www.postgresql.org (140) aimtrust.com (136) www.google.de (136) www.google.ca (103) www.google.nl (92) www.google.it (69) |