Delegation and Nesting in Best-effort Hardware
Transactional Memory, Yujie Liu, Stephan Diestelhorst +1 more
The guiding design principle behind best-effort hardware transac-tional memory (BEHTM) is simplicity of implementation and ver-ification. Only minimal modifications to the base processor archi-tecture are allowed, thereby reducing the burden of verification and long-term support. In exchange, the hardware can support only rel-atively simple multiword atomic operations, and must fall back to a software run-time for any operation that exceeds the abilities of the hardware. This paper demonstrates that BEHTM simplicity does not pro-hibit advanced and complex transactional behaviors. We exploit support for immediate non-transactional stores in the AMD Ad-vanced Synchronization Facility to build a mechanism for commu-nication among transactions. While our system allows arbitrary communication patterns, we focus on a design point where each transaction communicates with a system-wide manager…