面向多核程序确定性重演的内存竞争记录机制研究  被引量:3

Study on Memory Race Recording Mechanism in Deterministic Multi-Core Replay

在线阅读下载全文

作  者:朱素霞[1] 季振洲[1] 刘涛[1] 王庆[1] 张浩[2] 

机构地区:[1]哈尔滨工业大学计算机科学与技术学院,黑龙江哈尔滨150001 [2]中国科学院计算技术研究所,北京100190

出  处:《电子学报》2011年第12期2748-2754,共7页Acta Electronica Sinica

基  金:国家自然科学基金(No.60736012)

摘  要:内存竞争记录是实现多核程序确定性重演的关键技术.针对现有内存竞争记录算法存在消耗资源多、记录日志大、重演速度受限等问题,本文提出了一种硬件结构支持的、基于分段技术的、高效的点对点内存竞争记录算法,该算法用一种更严格的间接发生序表示内存竞争,采用分段的可推导约减算法减少记录内存竞争的次数,同时使用最大近似时戳法近似已被替换出cache的内存块的时戳,能够在引入较少硬件资源的前提下记录较小的内存竞争日志,且简单易实现,重演速度快.Memory race recording is a key technology in deterministic multi-core replay.High hardware consumption,large log size and slow replay speed limited the application of previous memory race recording algorithms.This paper proposes a new efficient hardware memory race recording algorithm,which is implemented in chunks and logs the outcomes of memory races in a point-to-point approach.In this recording mechanism,memory race is presented in a new stricter indirect dependency,a chunk-based transitive reduction algorithm is introduced to reduce the number of memory races logged,a maximum timestamp approximation method is proposed to deal with those races evicted from cache.This new memory race recording algorithm can replay a program at production run speed,and log a smaller memory race log using smaller hardware than previous point-to-point approaches.

关 键 词:多核程序 确定性重演 内存竞争记录 

分 类 号:TP303[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象