科技报告详细信息
Gadara: Dynamic Deadlock Avoidance for Multithreaded Programs
Wang, Yin ; Kelly, Terence ; Kudlur, Manjunath ; Lafortune, Stephane ; Mahlke, Scott
HP Development Company
关键词: deadlock avoidance;    discrete control theory;    multithreaded software;    concurrent programming;   
RP-ID  :  HPL-2009-200
学科分类:计算机科学(综合)
美国|英语
来源: HP Labs
PDF
【 摘 要 】

Deadlock is an increasingly pressing concern as the multicore revolution forces parallel programming upon the average programmer. Existing approaches to deadlock impose onerous burdens on developers, entail high runtime performance overheads, or offer no help for unmodified legacy code. Gadara automates dynamic deadlock avoidance for conventional multithreaded programs. It employs whole-program static analysis to model programs, and Discrete Control Theory to synthesize lightweight, decentralized, highly concurrent logic that controls them at runtime. Gadara is safe, and can be applied to legacy code with modest programmer effort. Gadara is efficient because it performs expensive deadlock-avoidance computations offline rather than online. We have implemented Gadara for C/Pthreads programs. In benchmark tests, Gadara successfully avoids injected deadlock faults, imposes negligible to modest performance overheads (at most 18%), and outperforms a software transactional memory system. Tests on a real application show that Gadara identifies and avoids both previously known and unknown deadlocks while adding performance overheads ranging from negligible to 10%.

【 预 览 】
附件列表
Files Size Format View
RO201804100002595LZ 194KB PDF download
  文献评价指标  
  下载次数:49次 浏览次数:20次