Author Login Editor-in-Chief Peer Review Editor Work Office Work

Computer Engineering

Previous Articles     Next Articles

HL-TLS:Compiling Implementation of Thread Level Speculation Supporting Hot Spot

JIN Yue,LI Chunqiang,SHANG Yunhai,LU Yongjiang   

  1. (Institute of VLSI Design,Zhejiang University,Hangzhou 310027,China)
  • Received:2014-11-06 Online:2015-11-15 Published:2015-11-13

HL-TLS:支持热点的线程级猜测编译实现

金跃,李春强,尚云海,卢永江   

  1. (浙江大学超大规模集成电路设计研究所,杭州 310027)
  • 作者简介:金跃(1990-), 男, 硕士研究生, 主研方向:编译器优化,并行计算;李春强、尚云海,硕士;卢永江,副教授、博士。
  • 基金资助:
    国家自然科学基金资助项目(61204111);“核高基”重大专项(2010ZX01030-001-001-006)。

Abstract: Thread Level Speculation(TLS) compiling can effectively improve the parallel efficiency.But the overheads,caused by the management of the speculative data and the failure of speculative thread’s rollback,decreases the improvement of the parallel performance.Aiming at the too big overhead of data management and thread rollback,the Hot Loops-TLS(HL-TLS) framework is proposed.HL-TLS marks the loops which can be efficiently paralleled as HL,using a more eager parallel way on HL to improve performance,while using conservative sequence way on non-HL to reduce the overheads.Experimental result shows that HL-TLS improves 20% performance.

Key words: parallel computing, multi-thread, speculative execution, Thread Level Speculation(TLS) parallel, Hot Loops(HL), dynamic transformation execution mechanism

摘要: 猜测并行化编译,即线程级猜测(TLS)编译,可将原来顺序运行的程序并行化。但由于猜测数据的不确定性引起的数据管理开销过大,以及猜测线程失败引起的线程回滚开销,使得并行后的执行性能较低。针对上述问题,提出一种HL-TLS并行化编译优化框架。HL-TLS能 有效地标记并行化的循环体为热点循环体,采用对最高层次热点循环体进行更激进的并行化的方式提高性能,而对非热点循环体采用保守的顺序执行以减少开销。实验结果表明,使用HL-TLS编译优化框架,实验程序的执行效率可以提高20%。

关键词: 并行计算, 多线程, 猜测执行, 线程级猜测并行, 热点循环, 动态转换执行机制

CLC Number: