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

计算机工程 ›› 2008, Vol. 34 ›› Issue (19): 271-273,. doi: 10.3969/j.issn.1000-3428.2008.19.093

• 开发研究与设计技术 • 上一篇    下一篇

基于pfmon的性能测试与分析工具Codemon

赵永刚1,付立东2   

  1. (1. 西安卫星测控中心喀什测控站,喀什 844000;2. 西安科技大学计算机系,西安 710054)
  • 收稿日期:1900-01-01 修回日期:1900-01-01 出版日期:2008-10-05 发布日期:2008-10-05

Codemon: Tool for Performance Test and Analysis Based on pfmon

ZHAO Yong-gang1, FU Li-dong2   

  1. (1. Kashi Test & Control Station of Xi’an Satellite Control Center, Kashi 844000; 2. Dept. of Computer, Xi’an University of Science and Technology, Xi’an 710054)
  • Received:1900-01-01 Revised:1900-01-01 Online:2008-10-05 Published:2008-10-05

摘要: 通过对Linux/IA64平台上性能数据监测工具pfmon各类硬件计数器功能的分析,提出一种基于停顿时钟周期数测试存储延迟分布的监测模型,在此基础上设计和实现了程序自动测试与分析工具Codemon。应用该工具测试二维非线性扩散方程BNLAG2D求解程序模型的源代码,给出程序的性能评价和优化重点。该程序优化后性能提高了15%。

关键词: IA64体系, 硬件性能监控, 程序优化

Abstract: A method for using the Itanium 2 performance counters for bottleneck analysis is very complex and inconvenient. To cover this shortage, new model based on pfmon is proposed to monitor the performance issues in programs by using the “bubble” counters for stall analysis. The Codemon derived from the model is designed and implemented. In additions, the tool is used to characterize an application named “BNLAG2D”, the results can tell user what about this program is and how to improve the performance. Performances achieved is 15 percent higher than the original program.

Key words: IA64, hardware performance monitor, program optimization

中图分类号: