Re: spinlock->pthread_mutex : first results with Jeff's pgbench+plsql
From:
Robert Haas <robertmhaas(at)gmail(dot)com>
To:
Nils Goroll <slink(at)schokola(dot)de>
Cc:
Jeff Janes <jeff(dot)janes(at)gmail(dot)com>, Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>, Martijn van Oosterhout <kleptog(at)svana(dot)org>, Merlin Moncure <mmoncure(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject:
Re: spinlock->pthread_mutex : first results with Jeff's pgbench+plsql
On Mon, Jul 2, 2012 at 11:38 AM, Nils Goroll <slink(at)schokola(dot)de> wrote:
>> 3.1.7?
>
> Sorry, that was a typo. 9.1.3.
>
> Yes, I had mentioned the Version in my initial posting. This version is the one
> I need to work on as long as 9.2 is beta.
>
>> 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.
>
> Apparently I have not pointed this out clearly enough. Sorry.
You might try back-porting that one commit and see whether it fixes
your problem.
--
Robert Haas
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company