基于龙芯3B处理器的Linpack优化实现  被引量:3

Optimization of Linpack for Loongson 3B processor

在线阅读下载全文

作  者:刘刚[1] 张恒[1] 张滇[1] 毛睿[1] 

机构地区:[1]深圳大学计算机与软件学院,广东省普及型高性能计算机实验室,深圳518060

出  处:《深圳大学学报(理工版)》2014年第3期286-292,共7页Journal of Shenzhen University(Science and Engineering)

基  金:国家高技术研究发展计划资助项目(2012AA01A30904);广东省院士工作站建设项目(2012B090500020)~~

摘  要: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.

关 键 词:计算机系统结构 龙芯3B处理器 线性系统软件包 矩阵乘法 数据预取 

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

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

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