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

Computer Engineering ›› 2013, Vol. 39 ›› Issue (1): 67-70. doi: 10.3969/j.issn.1000-3428.2013.01.014

• Networks and Communications • Previous Articles     Next Articles

Quantization Analysis of Program Locality

LIU Yang, AN Hong, DENG Bo-bin, MAO Meng-jie, LIU Yu   

  1. (School of Computer Science and Technology, University of Science and Technology of China, Hefei 230027, China)
  • Received:2012-03-15 Revised:2012-04-16 Online:2013-01-15 Published:2013-01-13

程序局部性的量化分析

刘 扬,安 虹,邓博斌,毛梦捷,刘 玉   

  1. (中国科学技术大学计算机科学与技术学院,合肥 230027)
  • 作者简介:刘 扬(1986-),男,硕士研究生,主研方向:微处理器体系结构;安 虹,教授;邓博斌、毛梦捷,硕士研究生;刘 玉,博士研究生
  • 基金资助:

    国家自然科学基金资助项目(60970023);国家“973”计划基金资助项目(2011CB302501);国家“863”计划基金资助项目(2012AA010902, 2012AA010303);国家科技重大专项基金资助项目(2009ZX01036-001-002, 2011ZX01028-001-002-3)

Abstract: This paper presents an architecture-neutral locality quantization methodology, and employs it to analyze the locality of SPEC2000 benchmarks and their data, text, heap and stack. A 2-D locality distribution along axes of spatial and temporal locality intuitively exhibits benchmarks’ locality. Experimental result shows that heap section has the worst locality, which mainly constitutes the data locality of the program, while stack section has the best.

Key words: memory wall, locality, reuse distance, temporal locality, spatial locality, cache

摘要: 给出与平台无关的局部性量化方法,从空间局部性和时间局部性2个角度,量化SPEC2000测试基准程序,以及这些程序的数据段、代码段和堆栈段。时间和空间局部性组成的二维局部性分布直观地展示了基准测试程序的局部性。实验结果表明,程序数据局部性主要由堆段的局部性决定,堆段的局部性最差,栈的局部性最优。

关键词: 存储墙, 局部性, 重用距离, 时间局部性, 空间局部性, 缓存

CLC Number: