计算机与现代化

• 软件工程 • 上一篇    下一篇

基于JNI和C+〖KG-*3〗+的Intel集成众核并行方法

  

  1. (1.重庆邮电大学生物信息学院,重庆400065; 2.重庆邮电大学软件工程学院,重庆400065)
  • 出版日期:2018-04-28 发布日期:2018-05-02
  • 作者简介:桑喆(1995),男,河南新乡人,重庆邮电大学生物信息学院本科生,研究方向:高性能计算; 邓川(1994),男,四川达州人,本科生,研究方向:生物信息学; 苟聪(1996),男,本科生,研究方向:高性能服务器; 刘开兴(1997),男,重庆酉阳人,重庆邮电大学软件工程学院本科生,研究方向:高性能计算; 白明泽(1982),男(土家族),重庆酉阳人,副教授,博士,研究方向:生物信息学。

A Parallelization Method with JNI and C+〖KG-*3〗+ for Many Integrated Core Application

  1.  (1. School of Bioinformation, Chongqing University of Posts and Telecommunications, Chongqing 400065, China;
    2. School of Software Engineering, Chongqing University of Posts and Telecommunications, Chongqing 400065, China)
  • Online:2018-04-28 Published:2018-05-02

摘要: 针对当前Intel集成众核协处理器(MIC)只能使用C/C+〖KG-*3〗+/Fortran编程语言进行并行计算,不能对已有的Java程序提供高性能计算支持的问题,提出基于Java Native Interface(JNI)技术和C+〖KG-*3〗+的MIC混合并行计算方法。该方法基于JNI设计Java代码与C+〖KG-*3〗+代码的数据交换机制,使MIC协处理器强大的浮点计算能力加速Java应用程序成为可能。通过实验测试分析基于MIC多线程并行的Java程序计算性能效果,结果表明该方法能有效利用MIC协处理器,对Java程序的计算性能提升显著。

关键词: 集成众核, 并行计算, Java native interface

Abstract: Currently, the Intel many integrated core (MIC) coprocessor can be used for parallel computing only through C/C+〖KG-*3〗+  and Fortran programming language, lacking the support for existed Java program. In this passage, we propose to exploit the powerful computing resources of MIC coprocessor to boost the Java application basing on the hybrid parallel computing strategy of Java native interface (JNI) technique and C+〖KG-*3〗+, the interface achieves the data exchange between C+〖KG-*3〗+ and Java program. We design an experiment to test and analyze MICbased Java multithreads parallel computing program. The results show the performance improvement of Java program brought by Phi coprocessor Java program.

Key words:  many integrated core, parallel computing, Java native interface

中图分类号: