> On 19 Dec 2024, at 15:01, Yura Sokolov <y.soko...@postgrespro.ru> wrote: > > - `&` takes 0.69ns > - `mult-rec` takes 2.94ns > - `%` takes 3.24ns. Thanks, Yura, for benchmarks and off-list conversation. I’ve reproduced similar numbers on my Apple M2. I agree that additional 3-4ns are negligible in case of SLRU access. + bits16 nbanks; Perhaps, it’s not bits anymore. Also, is 64K banks ought enough for everybody? Best regards, Andrey Borodin.
- Fix bank selection logic in SLRU Yura Sokolov
- Re: Fix bank selection logic in SLRU Andrey M. Borodin
- Re: Fix bank selection logic in SLRU Dilip Kumar
- Re: Fix bank selection logic in SLRU Andrey M. Borodin
- Re: Fix bank selection logic in SLRU Dilip Kumar
- Re: Fix bank selection logic in SL... Robert Haas
- Re: Fix bank selection logic i... Dilip Kumar
- Re: Fix bank selection logic in SL... Andrey M. Borodin
- Re: Fix bank selection logic in SLRU Dilip Kumar
- Re: Fix bank selection logic in SLRU Yura Sokolov
- Re: Fix bank selection logic in SLRU Andrey Borodin
- Re: Fix bank selection logic in SL... Yura Sokolov
- Re: Fix bank selection logic i... Andrey M. Borodin
- Re: Fix bank selection log... Yura Sokolov
- Re: Fix bank selection log... Andrey Borodin
- Re: Fix bank selection log... Alvaro Herrera