Title :
A Flexible and Scalable Affinity Lock for the Kernel
Author :
Benlong Zhang ; Junbin Kang ; Tianyu Wo ; Yuda Wang ; Renyu Yang
Author_Institution :
State Key Lab. of Software Dev. Environ., Beihang Univ., Beijing, China
Abstract :
A number of NUMA-aware synchronization algorithms have been proposed lately to stress the scalability inefficiencies of existing locks. However their presupposed local lock granularity, a physical processor, is often not the optimum configuration for various workloads. This paper further explores the design space by taking into consideration the physical affinity between the cores within a single processor, and presents FSL to support variable and finely tuned group size for different lock contexts and instances. The new design provides a uniform model for the discussion of affinity locks and can completely subsume the previous NUMA-aware designs because they have only discussed one special case of the model. The interfaces of the new scheme are kernel-compatible and thus largely facilitate kernel incorporation. The investigation with the lock shows that an affinity lock with optimal local lock granularity can outperform its NUMA-aware counterpart by 29.40% and 58.28% at 80 cores with different workloads.
Keywords :
shared memory systems; synchronisation; FSL; NUMA-aware design; NUMA-aware synchronization algorithm; design space; finely tuned group size; kernel incorporation; kernel-compatible; lock context; optimal local lock granularity; physical affinity; physical processor; scalability inefficiency; scalable affinity lock; Algorithm design and analysis; Context; Kernel; Magnetic heads; Scalability; Synchronization; Throughput; multi-core algorithms; synchronization algorithms;
Conference_Titel :
High Performance Computing and Communications, 2014 IEEE 6th Intl Symp on Cyberspace Safety and Security, 2014 IEEE 11th Intl Conf on Embedded Software and Syst (HPCC,CSS,ICESS), 2014 IEEE Intl Conf on
Print_ISBN :
978-1-4799-6122-1
DOI :
10.1109/HPCC.2014.12