Show simple item record

dc.contributor.authorAfek, Yehuda
dc.contributor.authorMatveev, Alexander
dc.contributor.authorMoll Thomae, Oscar R.
dc.date.accessioned2020-04-28T18:58:05Z
dc.date.available2020-04-28T18:58:05Z
dc.date.issued2015-11
dc.identifier.isbn978-3-662-48652-8
dc.identifier.issn978-3-662-48653-5
dc.identifier.urihttps://hdl.handle.net/1721.1/124906
dc.description.abstractHardware lock-elision (HLE) introduces concurrency into legacy lock-based code by optimistically executing critical sections in a fast-path as hardware transactions. Its main limitation is that in case of repeated aborts, it reverts to a fallback-path that acquires a serial lock. This fallback-path lacks hardware-software concurrency, because all fast-path hardware transactions abort and wait for the completion of the fallback. Software lock elision has no such limitation, but the overheads incurred are simply too high. We propose amalgamated lock-elision (ALE), a novel lock-elision algorithm that provides hardware-software concurrency and efficiency: the fallback-path executes concurrently with fast-path hardware transactions, while the common-path fast-path reads incur no overheads and proceed without any instrumentation. The key idea in ALE is to use a sequence of fine-grained locks in the fallback-path to detect conflicts with the fast-path, and at the same time reduce the costs of these locks by executing the fallback-path as a series segments, where each segment is a dynamic length short hardware transaction. We implemented ALE into GCC and tested the new system on Intel Haswell 16-way chip that provides hardware transactions. We benchmarked linked-lists, hash-tables and red-black trees, as well as converting KyotoCacheDB to use ALE in GCC, and all show that ALE significantly outperforms HLE. Keywords: Multicore; Hardware Lock Elision; Hardware Transactional Memory; Algorithmsen_US
dc.description.sponsorshipIsrael Science Foundation (Grant 1386/11)en_US
dc.description.sponsorshipNational Science Foundation (U.S.) (Grant CCF-1217921)en_US
dc.description.sponsorshipNational Science Foundation (U.S.) (Grant CCF-1301926)en_US
dc.description.sponsorshipNational Science Foundation (U.S.) (Grant IIS-1447786)en_US
dc.description.sponsorshipUnited States. Department of Energy (Grant ER26116/DE-SC0008923)en_US
dc.language.isoen
dc.publisherSpringer Nature America, Incen_US
dc.relation.isversionofhttp://dx.doi.org/10.1007/978-3-662-48653-5_21en_US
dc.rightsCreative Commons Attribution-Noncommercial-Share Alikeen_US
dc.rights.urihttp://creativecommons.org/licenses/by-nc-sa/4.0/en_US
dc.sourceMIT web domainen_US
dc.titleAmalgamated Lock-Elisionen_US
dc.typeArticleen_US
dc.identifier.citationAfek, Yehuda, et al. “Amalgamated Lock-Elision.” Distributed Computing, edited by Yoram Moses, vol. 9363, Springer Berlin Heidelberg (2015): pp. 309–24.en_US
dc.contributor.departmentMassachusetts Institute of Technology. Computer Science and Artificial Intelligence Laboratoryen_US
dc.eprint.versionAuthor's final manuscripten_US
dc.type.urihttp://purl.org/eprint/type/ConferencePaperen_US
eprint.statushttp://purl.org/eprint/status/NonPeerRevieweden_US
dc.date.updated2019-07-03T12:30:55Z
dspace.date.submission2019-07-03T12:30:56Z
mit.journal.volumeInternational Symposium on Distributed Computingen_US
mit.metadata.statusComplete


Files in this item

Thumbnail

This item appears in the following Collection(s)

Show simple item record