Optimize Arm64 crc32c implementation in Postgresql

Поиск
Список
Период
Сортировка
От Yuqi Gu
Тема Optimize Arm64 crc32c implementation in Postgresql
Дата
Msg-id HE1PR0801MB1323D171938EABC04FFE7FA9E3110@HE1PR0801MB1323.eurprd08.prod.outlook.com
обсуждение исходный текст
Ответы Re: Optimize Arm64 crc32c implementation in Postgresql
Re: Optimize Arm64 crc32c implementation in Postgresql
Список pgsql-hackers

Hi all

 

Currently PostgreSQL only implements hardware support for CRC32 checksums for the x86_64 architecture.

Some ARMv8 (AArch64) CPUs implement the CRC32 extension which is implemented by inline assembly,

so they can also benefit from hardware acceleration in IO-intensive workloads.

 

I would like to propose the patch to optimize crc32c calculation with Arm64 specific instructions.

The hardware-specific code implementation is used under #if defined USE_ARMCE_CRC32C_WITH_RUNTIME_CHECK.

And the performance is improved on platforms: cortex-A57, cortex-A72, cortex-A73, etc.

 

I'll create a CommitFests ticket for this submission.

Any comments or feedback are welcome.

 

BRs,

Yuqi

IMPORTANT NOTICE: The contents of this email and any attachments are confidential and may also be privileged. If you are not the intended recipient, please notify the sender immediately and do not disclose the contents to any other person, use it for any purpose, or store or copy the information in any medium. Thank you.
Вложения

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

Предыдущее
От: Edmund Horner
Дата:
Сообщение: Re: [HACKERS] PATCH: psql tab completion for SELECT
Следующее
От: Michael Paquier
Дата:
Сообщение: Re: Optimize Arm64 crc32c implementation in Postgresql