Re: Optimize LWLock scalability via ReadBiasedLWLock for heavily-shared locks

2025-07-03 Thread Zhou, Zhiguo
Hi Andres, On 7/1/2025 10:06 PM, Andres Freund wrote: Hi, On 2025-07-01 09:57:18 -0400, Andres Freund wrote: On 2025-06-26 13:07:49 +0800, Zhou, Zhiguo wrote: This patch addresses severe LWLock contention observed on high-core systems where hundreds of processors concurrently access frequentl

Re: Optimize LWLock scalability via ReadBiasedLWLock for heavily-shared locks

2025-07-01 Thread Zhou, Zhiguo
On 6/26/2025 1:07 PM, Zhou, Zhiguo wrote: Hi Hackers, This patch addresses severe LWLock contention observed on high-core systems where hundreds of processors concurrently access frequently-shared locks. Specifically for ProcArrayLock (exhibiting 93.5% shared-mode acquires), we implement a new

Re: Optimize LWLock scalability via ReadBiasedLWLock for heavily-shared locks

2025-07-01 Thread Andres Freund
Hi, On 2025-07-01 09:57:18 -0400, Andres Freund wrote: > On 2025-06-26 13:07:49 +0800, Zhou, Zhiguo wrote: > > This patch addresses severe LWLock contention observed on high-core systems > > where hundreds of processors concurrently access frequently-shared locks. > > Specifically for ProcArrayLoc

Re: Optimize LWLock scalability via ReadBiasedLWLock for heavily-shared locks

2025-07-01 Thread Andres Freund
Hi, On 2025-06-26 13:07:49 +0800, Zhou, Zhiguo wrote: > This patch addresses severe LWLock contention observed on high-core systems > where hundreds of processors concurrently access frequently-shared locks. > Specifically for ProcArrayLock (exhibiting 93.5% shared-mode acquires), we > implement a

Optimize LWLock scalability via ReadBiasedLWLock for heavily-shared locks

2025-06-25 Thread Zhou, Zhiguo
Hi Hackers, This patch addresses severe LWLock contention observed on high-core systems where hundreds of processors concurrently access frequently-shared locks. Specifically for ProcArrayLock (exhibiting 93.5% shared-mode acquires), we implement a new ReadBiasedLWLock mechanism to eliminate the