Re: Wait free LW_SHARED acquisition

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: Bernd Helmle <mailings(at)oopsware(dot)de>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Wait free LW_SHARED acquisition
Date: 2013-09-30 17:00:06
Message-ID: 20130930170006.GC30125@awork2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi,

On 2013-09-30 18:54:11 +0200, Bernd Helmle wrote:
> HEAD (default):
>
> tps = 181738.607247 (including connections establishing)
> tps = 182665.993063 (excluding connections establishing)
>
> HEAD (padding + 16 partitions + your lwlocks patch applied):
>
> tps = 269328.259833 (including connections establishing)
> tps = 270685.666091 (excluding connections establishing)
>
> So, still an improvement but far away from what you got. Do you have some
> other tweaks in your setup?

The only relevant setting changed was -c shared_buffers=1GB, no other
patches applied. At which scale did you pgbench -i?

Your processors are a different microarchitecture, I guess that could
also explain some of the difference. Any chance you could run a perf record -ag
(after compiling with -fno-omit-frame-pointer)?

Greetings,

Andres Freund

--
Andres Freund http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Heikki Linnakangas 2013-09-30 17:20:19 Re: Minmax indexes
Previous Message Bernd Helmle 2013-09-30 16:54:11 Re: Wait free LW_SHARED acquisition