pgsql: Specialize checkpointer sort functions.

From: Thomas Munro <tmunro(at)postgresql(dot)org>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Specialize checkpointer sort functions.
Date: 2021-03-12 11:05:24
Message-ID: E1lKfbg-0002e6-TD@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Specialize checkpointer sort functions.

When sorting a potentially large number of dirty buffers, the
checkpointer can benefit from a faster sort routine. One reported
improvement on a large buffer pool system was 1.4s -> 0.6s.

Reviewed-by: Andres Freund <andres(at)anarazel(dot)de>
Discussion: https://postgr.es/m/CA%2BhUKGJ2-eaDqAum5bxhpMNhvuJmRDZxB_Tow0n-gse%2BHG0Yig%40mail.gmail.com

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/1b88b8908e751271933c076234fa085cda251421

Modified Files
--------------
src/backend/storage/buffer/bufmgr.c | 37 ++++++++++++++++++++++---------------
1 file changed, 22 insertions(+), 15 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2021-03-12 16:08:55 pgsql: Forbid marking an identity column as nullable.
Previous Message Amit Kapila 2021-03-12 10:16:21 pgsql: Fix size overflow in calculation introduced by commits d6ad34f3