HMTRace:基于硬件辅助内存标记的动态数据竞争检测
HMTRace: Hardware-Assisted Memory-Tagging based Dynamic Data Race Detection
AI总结:
本文提出基于Armv8.5-A内存标记扩展的动态数据竞争检测框架HMTRace,以低执行时间和内存开销实现高精度检测,在OpenMP和Pthread多线程C应用中达到0.86的f1分数且无误报。
摘要:
数据竞争是一类隐蔽的软件并发缺陷,其检测与调试往往具有挑战性且资源密集。现有动态竞争检测工具在执行时间和内存开销方面代价显著,同时存在较高的误报率。本文提出HMTRace,一种基于Armv8.5-A内存标记扩展(MTE)的新型动态数据竞争检测框架,强调低计算和低内存需求,同时保持高准确率与精确率。HMTRace支持在用户空间基于OpenMP和Pthread的多线程C应用中进行竞争检测。HMTRace展示了0.86的综合f1分数,同时平均执行时间开销为4.01%,峰值内存(RSS)开销为54.31%。HMTRace不报告误报,对其报告的所有竞争均予以确认。
英文摘要:
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.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。