On Wed, 19 Nov 2025 at 19:20, Heikki Linnakangas <hlinnaka@iki.fi> wrote:

I think those recipes need to be adjusted for 64-bit offsets.
Yes, we need to do it.

Sorry if this is too obvious, but with 32-bit offsets, we get:
SLRU_PAGES_PER_SEGMENT * BLKSZ / sizeof(MXOff) =
    32 * 8192 / 4 = 65,536 mxoff per segment.
   
Now, with 64-bits offsets, we should have half as much.

--
Best regards,
Maxim Orlov.