跳到正文
EasyXiv 检索
投稿 关于 登录

按回车检索 · 直接输入编号(如 1706.03762)可跳转到论文

计算机科学 > 性能

arXiv:1412.6765 (cs)
[提交于 2014年12月21日]

标题:Performance comparison between Java and JNI for optimal implementation of computational micro-kernels

作者:Nassim A. Halli, Henri-Pierre Charles, Jean-François Mehaut
查看论文《Performance comparison between Java and JNI for optimal implementation of computational micro-kernels》的 PDF
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读
摘要:General purpose CPUs used in high performance computing (HPC) support a vector instruction set and an out-of-order engine dedicated to increase the instruction level parallelism. Hence, related optimizations are currently critical to improve the performance of applications requiring numerical computation. Moreover, the use of a Java run-time environment such as the HotSpot Java Virtual Machine (JVM) in high performance computing is a promising alternative. It benefits from its programming flexibility, productivity and the performance is ensured by the Just-In-Time (JIT) compiler. Though, the JIT compiler suffers from two main drawbacks. First, the JIT is a black box for developers. We have no control over the generated code nor any feedback from its optimization phases like vectorization. Secondly, the time constraint narrows down the degree of optimization compared to static compilers like GCC or LLVM. So, it is compelling to use statically compiled code since it benefits from additional optimization reducing performance bottlenecks. Java enables to call native code from dynamic libraries through the Java Native Interface (JNI). Nevertheless, JNI methods are not inlined and require an additional cost to be invoked compared to Java ones. Therefore, to benefit from better static optimization, this call overhead must be leveraged by the amount of computation performed at each JNI invocation. In this paper we tackle this problem and we propose to do this analysis for a set of micro-kernels. Our goal is to select the most efficient implementation considering the amount of computation defined by the calling context. We also investigate the impact on performance of several different optimization schemes which are vectorization, out-of-order optimization, data alignment, method inlining and the use of native memory for JNI methods.
评论: Part of ADAPT Workshop proceedings, 2015 (arXiv:1412.2347)
主题: 性能 (cs.PF); 分布式、并行与集群计算 (cs.DC); 程序设计语言 (cs.PL)
报告编号: ADAPT/2015/06
引用方式: arXiv:1412.6765 [cs.PF]
  (或者 arXiv:1412.6765v1 [cs.PF] 对于此版本)
  https://doi.org/10.48550/arXiv.1412.6765

提交历史

来自:Nassim Halli
[v1] 2014年12月21日 星期日 11:26:39 UTC
全文链接:

访问论文:

  • 查看原文 PDF
  • 中文 PDF (下批处理)
  • EasyResearch 阅读
  • TeX 源文件
  • arXiv 原文页面
查看许可

当前浏览上下文:

cs.PF
< 上一篇   |   下一篇 >
最新 | 近期 | 2014-12
切换浏览方式为:
cs
cs.DC
cs.PL

参考文献与引用

  • Google Scholar
  • Semantic Scholar

BibTeX 格式的引用

EasyXiv 是独立运营的中文预印本站点,与 arXiv 及康奈尔大学无隶属关系。 论文元数据与原文来自 arXiv.org,感谢 arXiv 提供开放获取服务。
关于 · 帮助 · 投稿指南 · 版权 · arXiv 原站