摘要: Cache模拟工具可以在单机上模拟运行于异构环境下的并行程序的Cache访问。用户依照自己的需求指定Cache模型参数及替换算法,对每个进程中的某一段进行模拟,使并行程序中每个或每组子进程/线程分别对应一个Cache模型,从而同时得到每个或每组子进程/线程的Cache访问参数。使用单机Cache模拟环境降低了并行程序的Cache模拟对实际并行环境的依赖。同时,用户还可以很方便地在其基础上扩展并使用自行开发的替换算法或进程通信模块功能,适应了不同用户对并行程序Cache模拟工具的需要。
关键词:
Cache模拟,
MPI程序,
异构环境
Abstract: A new cache simulation tool, which uses only single computer to simulate cache access of those parallel programs running under heterogeneous environment is presented. By specifying the parameters and substitution algorithms for each cache model bounded to each or a group of subprocesses/subthreads within one parallel program, users can obtain groups of cache access parameters. The work listed here is helpful to reduce the dependency to those real parallel environments when doing parallel simulation, meanwhile, its function can easily be extended by defining users’ own substitution algorithms or inter-process communication block to meet their own need.
Key words:
cache simulation,
MPI programs,
heterogeneous environment
中图分类号:
胡晨光;郑启龙;许胤龙;姚 震;姚再勇;张红涛;. 异构环境下MPI程序Cache访问的单机模拟[J]. 计算机工程, 2007, 33(14): 54-56.
HU Chenguang; ZHENG Qilong; XU Yinlong; YAO Zhen; YAO Zaiyong; ZHANG Hongtao;. Cache Access Simulation of MPI Programs Under Heterogeneous Environment Using Single Computer[J]. Computer Engineering, 2007, 33(14): 54-56.