作者投稿和查稿 主编审稿 专家审稿 编委审稿 远程编辑

计算机工程 ›› 2007, Vol. 33 ›› Issue (14): 54-56. doi: 10.3969/j.issn.1000-3428.2007.14.019

• 软件技术与数据库 • 上一篇    下一篇

异构环境下MPI程序Cache访问的单机模拟

胡晨光1,2,郑启龙1,2,许胤龙1,2,姚 震1,2,姚再勇1,2,张红涛1,2

  

  1. (1. 中国科学技术大学计算机科学技术系国家高性能计算中心(合肥),合肥 230026; 2. 中国科学技术大学高性能计算与应用省部共建重点实验室,合肥 230026)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2007-07-20 发布日期:2007-07-20

Cache Access Simulation of MPI Programs Under Heterogeneous Environment Using Single Computer

HU Chenguang1,2, ZHENG Qilong1,2, XU Yinlong1,2, YAO Zhen1,2, YAO Zaiyong1,2, ZHANG Hongtao1,2   

  1. (1. Department of Computer Science, National High Performance Computing Center(Hefei), University of Science and Technology of China, Hefei 230026; 2. Anhui Province MOST Co-key Laboratory of High Performance Computing and Its Application, University of Science and Technology of China, Hefei 230026)
  • Received:1900-01-01 Revised:1900-01-01 Online:2007-07-20 Published:2007-07-20

摘要: 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

中图分类号: