Skip to main navigation Skip to search Skip to main content

Optimization of Linpack for Loongson 3B processor = 基于龙芯3B处理器的Linpack优化实现

  • Gang LIU
  • , Heng ZHANG
  • , Dian ZHANG
  • , Rui MAO*
  • *Corresponding author for this work

Research output: Journal PublicationsJournal Article (refereed)peer-review

Abstract

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.

HPL是高性能计算广泛采用的Linpack 测试软件包。针对龙芯3B处理器体系结构的特点,为Linpack中的核心部分——矩阵乘法设计矩阵分块策略,利用龙芯3B的cache锁机制将频繁调用的数据分块锁在cache中,从而显著降低cache缺失率。同时为龙芯3B处理器中的访存加速部件设计了高效的预取算法,以实现计算时间掩盖访存时间。另外,分别对Linpack所调用的dtrsm和行交换等热点函数进行优化,并通过参数训练来优化Linpack参数。实验结果表明,在龙芯3B处理器上,单节点4核以及双节点8核的Linpack实测性能均达到理论峰值的60%左右,优化后的Linpack性能较优化前提升了10倍左右。
Original languageEnglish
Pages (from-to)286-292
Number of pages7
JournalJournal of Shenzhen University Science and Engineering
Volume31
Issue number3
DOIs
Publication statusPublished - May 2014
Externally publishedYes

Funding

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

Keywords

  • Computer architecture
  • Data prefetching
  • Linear system package
  • Loongson 3B processor
  • Matrix multiplication
  • 计算机系统结构
  • 龙芯3B处理器
  • 线性系统软件包
  • 矩阵乘法
  • 数据预取

Fingerprint

Dive into the research topics of 'Optimization of Linpack for Loongson 3B processor = 基于龙芯3B处理器的Linpack优化实现'. Together they form a unique fingerprint.

Cite this