Add spin_delay() implementation for Arm in s_lock.h

Поиск
Список
Период
Сортировка
От Blake, Geoff
Тема Add spin_delay() implementation for Arm in s_lock.h
Дата
Msg-id 78338F29-9D7F-4DC8-BD71-E9674CE71425@amazon.com
обсуждение исходный текст
Ответы Re: Add spin_delay() implementation for Arm in s_lock.h  (Tom Lane <tgl@sss.pgh.pa.us>)
Список pgsql-hackers
Hi,

Have a tiny patch to add an implementation of spin_delay() for Arm64 processors to match behavior with x86's PAUSE
instruction. See negligible benefit on the pgbench tpcb-like workload so at worst it appears to do no harm but should
helpsome workloads that experience some lock contention that need to spin.
 

Thanks,
Geoffrey Blake


Вложения

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

Предыдущее
От: Tomas Vondra
Дата:
Сообщение: Re: track_io_timing default setting
Следующее
От: "Godfrin, Philippe E"
Дата:
Сообщение: RE: [EXTERNAL] Re: track_io_timing default setting