面向FT1000微处理器的STREAM并行计算与优化  被引量:4

Parallel computation and performance optimization of STREAM on FT1000 processors

在线阅读下载全文

作  者:迟利华[1] 胡庆丰[1] 刘杰[1] 甘新标[1] 蒋杰[1] 晏益慧[1] 

机构地区:[1]国防科学技术大学并行与分布处理重点实验室,湖南长沙410073

出  处:《计算机工程与科学》2014年第12期2267-2271,共5页Computer Engineering & Science

基  金:国家863计划资助项目(2012AA01A301);国家自然科学基金资助项目(60970033;91430218)

摘  要:STREAM是微处理器上内存性能的基准测试程序,在多核多线程FT1000微处理器上发挥高性能是具有挑战性的研究工作。基于多级Cache结构,优化STREAM四个程序的指令流水线,根据寄存器数,设计了多级循环展开方法,根据指令延迟和Cache行的大小确定数据预取的数目,使用汇编语言编写了优化子程序。基于OpenMP并行环境,设计了STREAM并行程序,优化了局部化数据分配方式。数据测试结果表明,优化后的STREAM的性能比原始串行程序性能提高了19.2%-64.2%。优化后,并行程序的最高访存性能达到8.5GB/s,对比优化前的最高访存性能最大提高了22.7%。STREAM benchmark measures the memory bandwidth of microprocessors. It is a chal- lenge to get high performance of STREAM benchmark on the massively multithreaded FT1000 proces- sors. Based on the hierarchical cache, the instruction pipelines of four routines of STREAM are opti- mized. Then,a multilevel loop unrolling method is proposed according to the number of registers, the prefetched data sizes are determined by the instruction delay and the cache line size, and the optimized subroutines are written in assembly language. Under the OpenMP parallel computing environment, the parallel codes for STREAM benchmark are given with the local data optimized methods. The test results of STREAM codes with performance optimization show that the performance increases by 19.2-64.2% for sequential computation. The highest memory bandwidth of the parallel optimized codes is 8.5GB/s. In comparison to the original parallel codes, the performances of the parallel optimized codes is improved by 22.7 % .

关 键 词:多线程微处理器 STREAM测试程序 性能优化 

分 类 号:TP301.6[自动化与计算机技术—计算机系统结构]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象