Minor optimisation of XLogInsert()

From: Simon Riggs <simon(at)2ndQuadrant(dot)com>
To: pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Minor optimisation of XLogInsert()
Date: 2011-11-15 11:24:01
Message-ID: CA+U5nM+spotJZ3gLgU0MhhdTc2rUUamso7DCXJ-ZSoD2xt2jnA@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Patch adds cacheline padding around parts of XLogCtl.

Idea from way back, but never got performance tested in a situation
where WALInsertLock was the bottleneck.

So this is speculative, in need of testing to investigate value.

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

Attachment Content-Type Size
XLogInsert_cacheline_opt.v3.patch application/octet-stream 11.7 KB

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Robert Haas 2011-11-15 13:50:25 FlexLocks
Previous Message Simon Riggs 2011-11-15 11:07:35 Re: Regression tests fail once XID counter exceeds 2 billion