Optimize Arm64 crc32 implementation in PostgreSQL

Поиск
Список
Период
Сортировка
От Xiang Gao
Тема Optimize Arm64 crc32 implementation in PostgreSQL
Дата
Msg-id DB9PR08MB69915C40B7EA107E9DFCBE46F51EA@DB9PR08MB6991.eurprd08.prod.outlook.com
обсуждение исходный текст
Ответы Re: Optimize Arm64 crc32 implementation in PostgreSQL  (Nathan Bossart <nathandbossart@gmail.com>)
Список pgsql-hackers

Hi all,

 

Currently PostgreSQL has three different variants of a 32-bit CRC calculation: CRC-32C, CRC-32(Ethernet polynomial),

and a legacy CRC-32 version that uses the lookup table. Some ARMv8 (AArch64) CPUs implement the CRC32 extension which

is equivalent with CRC-32(Ethernet polynomial), so they can also benefit from hardware acceleration.

 

Can I propose a patch to optimize crc32 calculation with Arm64 specific instructions?

 

Any comments or feedback are welcome.

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 по дате отправления:

Предыдущее
От: Daniel Gustafsson
Дата:
Сообщение: Re: [dsm] comment typo
Следующее
От: "Zhijie Hou (Fujitsu)"
Дата:
Сообщение: RE: [PoC] pg_upgrade: allow to upgrade publisher node