| From: | Simon Riggs <simon(at)2ndQuadrant(dot)com> |
|---|---|
| To: | PostgreSQL-development <pgsql-hackers(at)postgresql(dot)org> |
| Subject: | Separating Buffer LWlocks |
| Date: | 2015-09-06 13:10:24 |
| Message-ID: | CANP8+jLDJ+Rh6pw_3Dh1jzrKcY-5JBffMVH1h6PC96_1hbD29w@mail.gmail.com |
| Views: | Whole Thread | Raw Message | Download mbox | Resend email |
| Thread: | |
| Lists: | pgsql-hackers |
Looks like the right time to post this patch.
It separates the Buffer LWLocks from the main LW locks, allowing them to
have different padding.
Tests showed noticeable/significant performance gain due to reduced false
sharing on main LWlocks, though without wasting memory on the buffer
LWlocks.
--
Simon Riggs http://www.2ndQuadrant.com/
<http://www.2ndquadrant.com/>
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
| Attachment | Content-Type | Size |
|---|---|---|
| separate_buffer_lwlocks.v2.patch | application/octet-stream | 6.0 KB |
| From | Date | Subject | |
|---|---|---|---|
| Next Message | Michael Paquier | 2015-09-06 13:27:37 | Re: replication slot restart_lsn initialization |
| Previous Message | Magnus Hagander | 2015-09-06 12:38:27 | Re: Add support for RADIUS passwords longer than 16 octets |