2009 · 25 citations · 16 references
ComputingComputer EngineeringComputer ScienceComputer ArchitectureOperating SystemsParallel ComputingMemory Protection HardwareSynchronization PrimitivesCommitCommit MechanismsConflict DetectionHardware Transactional MemoryMemory Access LocalityOperating System ArchitectureOperating System SimulationTransactional Memory
Transactional memory (TM) is an emerging technology which promises to make parallel programming easier. However, to be efficient, underlying TM system should protect only true shared data and leave thread-local data out of the transaction. This speed-up the commit phase of the transaction which is a bottleneck for a lazily versioned HTM. This paper proposes a scheme in the context of a lazy-lazy (lazy conflict detection and lazy data versioning) hardware transactional memory (HTM) system to identify dynamically variables which are local to a thread and exclude them from the commit set of the transaction. Our proposal covers sharing of both stack and heap but also filters out local accesses to both of them. We also propose, in the same scheme, to identify local variables for which versioning need not be maintained. For evaluation, we have implemented a lazy-lazy model of HTM in line with the conventional and the scalable version of the TCC in a full system simulator. For operating system, we have modified the Linux kernel. We got an average speed-up of 31% for the conventional TCC, on applications from the STAMP benchmark suite. For the scalable TCC we got an average speedup of 16%. Also, we found that on average 99% of the local variables can be safely omitted when recording their old values to handle aborts.
16
Maurice Herlihy, J. Eliot B. Moss · 1993 · 2.2K citations
STAMP: Stanford Transactional Applications for Multi-Processing
Chi Cao Minh, JaeWoong Chung, Christos Kozyrakis et al. · 2008 · 881 citations
The M5 Simulator: Modeling Networked Systems
Nathan Binkert, Ronald Dreslinski, L. Hsu et al. · IEEE Micro · 2006 · 846 citations
LogTM: Log-based Transactional Memory
K.E. Moore, Jayaram Bobba, Michelle J. Moravan et al. · 2006 · 685 citations