Title | ||
---|---|---|
Remote core locking: migrating critical-section execution to improve the performance of multithreaded applications |
Abstract | ||
---|---|---|
The scalability of multithreaded applications on current multicore systems is hampered by the performance of lock algorithms, due to the costs of access contention and cache misses. In this paper, we propose a new lock algorithm, Remote Core Locking (RCL), that aims to improve the performance of critical sections in legacy applications on multicore architectures. The idea of RCL is to replace lock acquisitions by optimized remote procedure calls to a dedicated server core. RCL limits the performance collapse observed with other lock algorithms when many threads try to acquire a lock concurrently and removes the need to transfer lock-protected shared data to the core acquiring the lock because such data can typically remain in the server core's cache. We have developed a profiler that identifies the locks that are the bottlenecks in multithreaded applications and that can thus benefit from RCL, and a reengineering tool that transforms POSIX locks into RCL locks. We have evaluated our approach on 18 applications: Memcached, Berkeley DB, the 9 applications of the SPLASH-2 benchmark suite and the 7 applications of the Phoenix2 benchmark suite. 10 of these applications, including Memcached and Berkeley DB, are unable to scale because of locks, and benefit from RCL. Using RCL locks, we get performance improvements of up to 2.6 times with respect to POSIX locks on Memcached, and up to 14 times with respect to Berkeley DB. |
Year | Venue | Keywords |
---|---|---|
2012 | USENIX Annual Technical Conference | performance improvement,multithreaded application,critical-section execution,performance collapse,remote core,berkeley db,lock algorithm,posix lock,lock concurrently,lock acquisition,rcl lock,new lock algorithm |
Field | DocType | Citations |
Remote procedure call,Computer science,Cache,Lock (computer science),Critical section,Parallel computing,Thread (computing),Real-time computing,POSIX,Lock convoy,Multi-core processor,Operating system | Conference | 56 |
PageRank | References | Authors |
2.08 | 20 | 5 |
Name | Order | Citations | PageRank |
---|---|---|---|
Jean-Pierre Lozi | 1 | 111 | 7.13 |
Florian David | 2 | 73 | 2.90 |
Gaël Thomas | 3 | 256 | 16.95 |
julia l lawall | 4 | 56 | 2.08 |
Gilles Muller | 5 | 852 | 55.95 |