Re: use SIMD in GetPrivateRefCountEntry()

Поиск
Список
Период
Сортировка
От Andres Freund
Тема Re: use SIMD in GetPrivateRefCountEntry()
Дата
Msg-id 9BE2DB7F-FFA4-4CE1-89AC-1D4039AED60D@anarazel.de
обсуждение исходный текст
Ответ на Re: use SIMD in GetPrivateRefCountEntry()  (Yura Sokolov <y.sokolov@postgrespro.ru>)
Список pgsql-hackers
Hi,

On October 24, 2025 3:43:34 PM GMT+03:00, Yura Sokolov <y.sokolov@postgrespro.ru> wrote:
>03.10.2025 23:51, Nathan Bossart пишет:
>> Sorry for the noise.  I fixed x86-64 builds in v2.
>>
>
>Why not just use simplehash for private ref counts?
>Without separation on array and overflow parts.
>Just single damn simple hash table.

It's to expensive for common access patterns in my benchmarks. Buffer accesses are very very very common and hash
tableshave no spatial locality. 

Andres
--
Sent from my Android device with K-9 Mail. Please excuse my brevity.



В списке pgsql-hackers по дате отправления: