Re: Avoid multiple calls to memcpy (src/backend/access/index/genam.c)

From: Ranier Vilela <ranier(dot)vf(at)gmail(dot)com>
To: lakshmi <lakshmigcdac(at)gmail(dot)com>
Cc: Bryan Green <dbryan(dot)green(at)gmail(dot)com>, Pg Hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Avoid multiple calls to memcpy (src/backend/access/index/genam.c)
Date: 2026-03-20 10:58:11
Message-ID: CAEudQAoF2xfpA7tgW3gusg0dyMTwTDDwAzBqR_bbv08NBkqv-A@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

Em sex., 20 de mar. de 2026 às 06:50, lakshmi <lakshmigcdac(at)gmail(dot)com>
escreveu:

> Hi,
>
> I tried this change on PostgreSQL (19devel) and ran a few simple tests
> using pgbench to see how it behaves in practice.
>
> I used 10 clients and 4 threads and ran each test for 60 seconds.
>
> From my runs, the original version was giving around ~663 TPS with ~15.07
> ms latency.
> With the patched version, I observed TPS in the range of ~638–657,
> averaging around ~648 TPS, with latency slightly higher (~15.2–15.6 ms).
>
Thanks for the benchmark.
Could you share the tests and the environment?
compiler
OS
etc.

best regards,
Ranier Vilela

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message shveta malik 2026-03-20 11:08:12 Re: synchronized_standby_slots behavior inconsistent with quorum-based synchronous replication
Previous Message Nisha Moond 2026-03-20 10:30:03 Re: [Proposal] Adding Log File Capability to pg_createsubscriber