Re: [PATCH 0/3] Add NUMA-awareness to qspinlock

2019-02-01 Thread Alex Kogan
> On Jan 31, 2019, at 4:56 AM, Peter Zijlstra wrote: > > On Wed, Jan 30, 2019 at 10:01:32PM -0500, Alex Kogan wrote: >> Lock throughput can be increased by handing a lock to a waiter on the >> same NUMA socket as the lock holder, provided care is taken to avoid >> starvation of waiters on other

Re: [PATCH 0/3] Add NUMA-awareness to qspinlock

2019-01-31 Thread Peter Zijlstra
On Wed, Jan 30, 2019 at 10:01:32PM -0500, Alex Kogan wrote: > Lock throughput can be increased by handing a lock to a waiter on the > same NUMA socket as the lock holder, provided care is taken to avoid > starvation of waiters on other NUMA sockets. This patch introduces CNA > (compact NUMA-aware l

[PATCH 0/3] Add NUMA-awareness to qspinlock

2019-01-30 Thread Alex Kogan
Lock throughput can be increased by handing a lock to a waiter on the same NUMA socket as the lock holder, provided care is taken to avoid starvation of waiters on other NUMA sockets. This patch introduces CNA (compact NUMA-aware lock) as the slow path for qspinlock. CNA is a NUMA-aware version of