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-23 11:12:08
Message-ID: CAEudQArStWAwxLM6ORNo2YtJ=Uw-MNRv9B-k_gQ6O=yt=7GtAA@mail.gmail.com
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Hi.

Em seg., 23 de mar. de 2026 às 01:42, lakshmi <lakshmigcdac(at)gmail(dot)com>
escreveu:

> Hi,
>
> Thanks for the reply.
>
> Here are the details of my test setup.
>
> I ran the tests on Debian Linux (6.1.0-10-amd64, x86_64) on an AMD Ryzen 5
> 7535U (6 cores / 12 threads).
>
Thanks for the tests.

>
> The PostgreSQL version was 19devel, built from source using gcc 12.2.0
> with enable-debug.
>
> For benchmarking, I used pgbench with the following command:
> pgbench -p 55432 -d postgres -c 10 -j 4 -T 60
>
> The database was initialized with scale factor 1 (pgbench -i). I ran
> multiple iterations for both the original and patched versions and compared
> TPS and latency across runs.
>
> All tests were done on the same system under similar conditions.
>
> Please let me know if you’d like me to try any other scenarios or provide
> more details.
>
Could you repeat the tests without enable-debug?

best regards,
Ranier Vilela

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Jakub Wartak 2026-03-23 11:22:59 Re: Add pg_stat_vfdcache view for VFD cache statistics
Previous Message Isaac Morland 2026-03-23 11:04:18 Re: Read-only connection mode for AI workflows.