Re: always use runtime checks for CRC-32C instructions

Поиск
Список
Период
Сортировка
От Nathan Bossart
Тема Re: always use runtime checks for CRC-32C instructions
Дата
Msg-id 20231031195743.GB77436@nathanxps13
обсуждение исходный текст
Ответ на Re: always use runtime checks for CRC-32C instructions  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
On Tue, Oct 31, 2023 at 03:42:33PM -0400, Tom Lane wrote:
> The one machine using slicing-by-8 where there might be a better
> alternative is arowana, which is CentOS 7 with a pretty ancient gcc
> version.  So I reject the idea that slicing-by-8 is an appropriate
> baseline for comparisons.  There isn't anybody who will see an
> improvement over current behavior: in the population of interest,
> just about all platforms are using CRC instructions with or without
> a runtime check.

I only included the slicing-by-8 benchmark to demonstrate that 1) the CRC
computations are a big portion of that pg_waldump -z command and that 2)
the CRC instructions provide significant performance gains.

-- 
Nathan Bossart
Amazon Web Services: https://aws.amazon.com



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

Предыдущее
От: Nathan Bossart
Дата:
Сообщение: Re: always use runtime checks for CRC-32C instructions
Следующее
От: "Tristan Partin"
Дата:
Сообщение: Use thread-safe locale APIs