TM-dietlibc: A TM-aware Real-World System Library

Publikation: Beitrag in Buch/Konferenzbericht/Sammelband/GutachtenBeitrag in KonferenzbandBeigetragenBegutachtung

Beitragende

  • V. Smiljkovic - (Autor:in)
  • Martin Nowack - , Professur für Systems Engineering (SE) (Autor:in)
  • N. Miletic - (Autor:in)
  • T. Harris - (Autor:in)
  • O. Unsal - (Autor:in)
  • A. Cristal - (Autor:in)
  • M. Valero - (Autor:in)

Abstract

The simplicity of concurrent programming with Transactional Memory (TM) and its recent implementation in mainstream processors greatly motivates researchers and industry to investigate this field and propose new implementations and optimizations. However, there is still no standard C system library which a wide range of TM developers can adopt. TM application developers have been forced to avoid library calls inside of transactions or to execute them irrevocably (i.e. in serial order). In this paper, we present the first TM-aware system library, a complex software implementation integrated with TM principles and suited for software (STM), hardware (HTM) and hybrid TM (HyTM). The library we propose is derived from a modified lock-based implementation and can be used with the existing standard C API. In our work, we describe design challenges and code optimizations that would be specific to any TM-based system library or application. We argue about system call execution within transactions, highlighting the possibility of unexpected results from threads. For this reason we propose: (1) a mechanism for detecting conflicts over kernel data in user space, and (2) a new barrier to allow hybrid TM to be used effectively with system libraries. Our evaluation includes different TM implementations and the focus is on memory management and file operations since they are widely used in applications and require additional mechanisms for concurrent execution. We show the benefit we gain with our libc modifications providing parallel execution as much as possible. The library we propose shows high scalability when linked with STM and HTM. For file operations it shows on average a 1.1, 2.6 and 3.7x performance speedup for 8 cores using HyTM, STM and HTM, respectively (over a lock-based single-threaded execution). For a red-black tree it shows on average 3.14x performance speedup for 8 cores using STM (over a multi-read single-threaded execution).

Details

OriginalspracheEnglisch
TitelParallel Distributed Processing (IPDPS), 2013 IEEE 27th International Symposium on
Seiten1266-1274
Seitenumfang9
PublikationsstatusVeröffentlicht - 1 Mai 2013
Peer-Review-StatusJa

Konferenz

TitelIn Parallel Distributed Processing (IPDPS), 2013 IEEE 27th International Symposium on, 2013.
KurztitelIPDPS 2013
Veranstaltungsnummer
Dauer20 Mai 2013
Webseite
BekanntheitsgradInternationale Veranstaltung
Ort
StadtMassachusetts
LandUSA/Vereinigte Staaten

Externe IDs

Scopus 84884836342

Schlagworte

Forschungsprofillinien der TU Dresden

DFG-Fachsystematik nach Fachkollegium

Schlagwörter

  • concurrency control, optimisation, parallel programming, software libraries, storage management, Abstract-The parallel programming, HTM, HyTM, STM, TM application developers, TM-aware real-world system library, TM-dietlibc, code optimizations, complex software implementation, concurrent programming, file operations, hardware TM, hybrid TM, memory management, modified lock-based implementation, red-black tree, transactional memory, Buffer storage, Hardware, Kernel, Libraries, Memory management, Synchronization, I/O, memory allocation, system calls, system library, transactional memory, system library, ststem calls, I/O, memory allocation, Libraries, Kernel, Memory management, Synchronization, Hardware, Buffer storage