摘要
HPL是高性能计算广泛采用的Linpack测试软件包.针对龙芯3B处理器体系结构的特点,为Linpack中的核心部分——矩阵乘法设计矩阵分块策略,利用龙芯3B的cache锁机制将频繁调用的数据分块锁在cache中,从而显著降低cache缺失率.同时为龙芯3B处理器中的访存加速部件设计了高效的预取算法,以实现计算时间掩盖访存时间.另外,分别对Linpack所调用的dtrsm和行交换等热点函数进行优化,并通过参数训练来优化Linpack参数.实验结果表明,在龙芯3B处理器上,单节点4核以及双节点8核的Linpack实测性能均达到理论峰值的60%左右,优化后的Linpack性能较优化前提升了10倍左右.
High performance Linpack(HPL) is a linpack benchmark package widely adopted in high performance computing.An efficient partition strategy is introduced by Loongson 3B processor's architectural features in the matrix multiplication,and the cache lock mechanism which locks the frequently used data blocks into the locked cache is introduced to reduce the missing cache.To make the computation cost hides the memory access cost,a new prefetching algorithm is included in the memory access acceleration device.Other functions,such as dtrsm and line swapping,are optimized,and the optimal value is achieved for each parameter by training.Experimental results indicate that both single-node(4 cores) and double-node(8 cores) have achieved about 60% of theoretical peak performance,which are nearly 10 times performance improvement compared with non-optimized Linpack.
出处
《深圳大学学报(理工版)》
EI
CAS
北大核心
2014年第3期286-292,共7页
Journal of Shenzhen University(Science and Engineering)
基金
国家高技术研究发展计划资助项目(2012AA01A30904)
广东省院士工作站建设项目(2012B090500020)~~