arXiv Open Access 2024

HMTRace: Hardware-Assisted Memory-Tagging based Dynamic Data Race Detection

Jaidev Shastri Xiaoguang Wang Basavesh Ammanaghatta Shivakumar Freek Verbeek Binoy Ravindran
Lihat Sumber

Abstrak

Data race, a category of insidious software concurrency bugs, is often challenging and resource-intensive to detect and debug. Existing dynamic race detection tools incur significant execution time and memory overhead while exhibiting high false positives. This paper proposes HMTRace, a novel Armv8.5-A memory tag extension (MTE) based dynamic data race detection framework, emphasizing low compute and memory requirements while maintaining high accuracy and precision. HMTRace supports race detection in userspace OpenMP- and Pthread-based multi-threaded C applications. HMTRace showcases a combined f1-score of 0.86 while incurring a mean execution time overhead of 4.01% and peak memory (RSS) overhead of 54.31%. HMTRace also does not report false positives, asserting all reported races.

Topik & Kata Kunci

Penulis (5)

J

Jaidev Shastri

X

Xiaoguang Wang

B

Basavesh Ammanaghatta Shivakumar

F

Freek Verbeek

B

Binoy Ravindran

Format Sitasi

Shastri, J., Wang, X., Shivakumar, B.A., Verbeek, F., Ravindran, B. (2024). HMTRace: Hardware-Assisted Memory-Tagging based Dynamic Data Race Detection. https://arxiv.org/abs/2404.19139

Akses Cepat

Lihat di Sumber
Informasi Jurnal
Tahun Terbit
2024
Bahasa
en
Sumber Database
arXiv
Akses
Open Access ✓