计算机工程与科学
計算機工程與科學
계산궤공정여과학
COMPUTER ENGINEERING & SCIENCE
2011年
9期
42-47
,共6页
安腾微处理器%程序性能优化%程序性能分析
安騰微處理器%程序性能優化%程序性能分析
안등미처리기%정서성능우화%정서성능분석
高性能计算越来越广泛地应用到科学和工程的各个领域,但实际应用程序获得的性能并未随着机器峰值性能的提高而同比例提高,应用程序只能发挥峰值性能的5%~10%左右,而且两者的差距在扩大,程序性能优化作为解决该问题的方法之一得到了学术界的广泛关注.本文基于安腾微处理器,总结了程序优化的通用方法,给出了程序优化与分析的一般步骤.根据优化与分析步骤,首先对四个程序进行了详细的性能分析,找到性能瓶颈和重点子程序;然后分别根据四个程序的特点,采用基于Cache和指令流水线的优化技术,对程序进行了性能优化;最后给出了性能优化测试结果,分别得到8%~33%的性能提高,取得了良好的优化效果.
高性能計算越來越廣汎地應用到科學和工程的各箇領域,但實際應用程序穫得的性能併未隨著機器峰值性能的提高而同比例提高,應用程序隻能髮揮峰值性能的5%~10%左右,而且兩者的差距在擴大,程序性能優化作為解決該問題的方法之一得到瞭學術界的廣汎關註.本文基于安騰微處理器,總結瞭程序優化的通用方法,給齣瞭程序優化與分析的一般步驟.根據優化與分析步驟,首先對四箇程序進行瞭詳細的性能分析,找到性能瓶頸和重點子程序;然後分彆根據四箇程序的特點,採用基于Cache和指令流水線的優化技術,對程序進行瞭性能優化;最後給齣瞭性能優化測試結果,分彆得到8%~33%的性能提高,取得瞭良好的優化效果.
고성능계산월래월엄범지응용도과학화공정적각개영역,단실제응용정서획득적성능병미수착궤기봉치성능적제고이동비례제고,응용정서지능발휘봉치성능적5%~10%좌우,이차량자적차거재확대,정서성능우화작위해결해문제적방법지일득도료학술계적엄범관주.본문기우안등미처리기,총결료정서우화적통용방법,급출료정서우화여분석적일반보취.근거우화여분석보취,수선대사개정서진행료상세적성능분석,조도성능병경화중점자정서;연후분별근거사개정서적특점,채용기우Cache화지령류수선적우화기술,대정서진행료성능우화;최후급출료성능우화측시결과,분별득도8%~33%적성능제고,취득료량호적우화효과.