Re: Optimize shared LWLock acquisition for high-core-count systems

2025-05-30 Thread Zhou, Zhiguo
Thanks David! I've added the patch referred by this link: https://commitfest.postgresql.org/patch/5784/ Regards, Zhiguo On 5/30/2025 8:02 PM, David Rowley wrote: On Fri, 30 May 2025 at 23:31, Zhou, Zhiguo wrote: Please review this patch for consideration in upcoming PostgreSQL releases. Pl

Re: Optimize shared LWLock acquisition for high-core-count systems

2025-05-30 Thread David Rowley
On Fri, 30 May 2025 at 23:31, Zhou, Zhiguo wrote: > Please review this patch for consideration in upcoming PostgreSQL releases. Please add the patch to https://commitfest.postgresql.org/53/ David

Optimize shared LWLock acquisition for high-core-count systems

2025-05-30 Thread Zhou, Zhiguo
Thu, 29 May 2025 16:55:42 +0800 Subject: [PATCH] Optimize shared LWLock acquisition for high-core-count systems This patch introduces optimizations to reduce lock acquisition overhead in LWLock by merging the read and update operations for the LW_SHARED lock's state. This eliminates the