Hardware Transactional Memory on Haswell EP
Viktor Leis
Technische Universität München
1 / 14
Hardware Transactional Memory on Haswell EP Viktor Leis Technische - - PowerPoint PPT Presentation
Hardware Transactional Memory on Haswell EP Viktor Leis Technische Universitt Mnchen 1 / 14 Introduction Intels new mid-level server platform: Haswell EP up to 18 cores per socket (up to 72 hardware threads with 2 sockets)
1 / 14
2 / 14
◮ built-in Hardware Lock Elision (HLE) ◮ lock elision implemented using RTM, restarts and
◮ Adaptive Radix Tree (trie, fanout 2-256), designed for
◮ random lookups in tree with 64M entries ◮ 64M random inserts into (initially empty) tree 3 / 14
(to other socket)
4 / 14
5 / 14
6 / 14
7 / 14
8 / 14
◮ built-in HLE does not scale ◮ lock elision with 20 restarts and re-speculation should be used
◮ even infrequent kernel traps or system calls can be a problem
9 / 14