Re: spinlock->pthread_mutex : first results with Jeff's pgbench+plsql
Robert Haas <robertmhaas@gmail.com>
From: Robert Haas <robertmhaas@gmail.com>
To: Nils Goroll <slink@schokola.de>
Cc: Jeff Janes <jeff.janes@gmail.com>, Tom Lane <tgl@sss.pgh.pa.us>, Martijn van Oosterhout <kleptog@svana.org>, Merlin Moncure <mmoncure@gmail.com>, pgsql-hackers@postgresql.org
Date: 2012-07-02T15:34:11Z
Lists: pgsql-hackers
On Mon, Jul 2, 2012 at 11:26 AM, Nils Goroll <slink@schokola.de> wrote: > Please note that this is with 3.1.7. I understand that many scalability > improvements have been implemented in later versions and it would have to be > expected that using less synchronization points will imply that spinlock > overhead is less. In other words, the results _should_ look less drastic with > later versions. 3.1.7? A major scalability bottleneck caused by spinlock contention was fixed in 9.2 - see commit b4fbe392f8ff6ff1a66b488eb7197eef9e1770a4. I'm not sure that it's very meaningful to do performance testing on versions that are known to be out of date. -- Robert Haas EnterpriseDB: http://www.enterprisedb.com The Enterprise PostgreSQL Company
Commits
Same data as JSON:
GET /api/v1/messages/:b64id/commits
the thread's linked commits as JSON, with link sources.
API reference →
-
Reduce sinval synchronization overhead.
- b4fbe392f8ff 9.2.0 cited