重新定位分层 HotSpot 执行相对于解释器的性能
Repositioning Tiered HotSpot Execution Performance Relative to the Interpreter
AI总结:
本文使用 Renaissance Benchmark Suite 在现代多核与并发并行负载下比较 JVM 解释执行与分层 HotSpot 执行,量化 JRE、GCC 和垃圾收集器等因素影响,发现分层执行平均快约 15 倍。
摘要:
尽管即时编译相对于传统解释执行的优势已得到广泛认可,但目前仍缺乏较新的研究,结合当代工作负载来考察并重新定位这两种执行模型之间的性能差异。具体而言,需要针对现代多核架构以及现代并发和并行基准测试工作负载,考察 Java Runtime Environment(JRE)Java Virtual Machine(JVM)分层执行与 JRE JVM 解释执行之间的性能差异。本文旨在填补这一研究空白,给出一项研究的结果;该研究在 Renaissance Benchmark Suite 所产生的负载下比较这两种执行模型的性能。对于任何希望理解即时编译代码与解释执行之间性能差异的人,本研究都具有参考意义。它相对于即时分层执行,对解释型 JVM 核心(即字节码执行的入口和起点)进行了当代评估。该研究考虑了 JRE 版本、JRE 构建工具链中使用的 GNU GCC 版本以及运行时指定的垃圾收集器算法等因素,以及它们对解释执行与分层执行之间性能差异范围的影响。我们的发现表明,分层执行比解释执行高效得多,而且性能差距已经扩大,其效率达到解释执行的 4 至 37 倍。平均而言,分层执行的效率约为解释执行的 15 倍。此外,解释执行与分层执行之间的性能差异受工作负载类别的影响:基于 Web 的工作负载观察到较窄的性能差异,而 Functional 和 Scala 类型工作负载则表现出更显著的差异。
英文摘要:
Although the advantages of just-in-time compilation over traditional interpretive execution are widely recognised, there needs to be more current research investigating and repositioning the performance differences between these two execution models relative to contemporary workloads. Specifically, there is a need to examine the performance differences between Java Runtime Environment (JRE) Java Virtual Machine (JVM) tiered execution and JRE JVM interpretive execution relative to modern multicore architectures and modern concurrent and parallel benchmark workloads. This article aims to fill this research gap by presenting the results of a study that compares the performance of these two execution models under load from the Renaissance Benchmark Suite. This research is relevant to anyone interested in understanding the performance differences between just-in-time compiled code and interpretive execution. It provides a contemporary assessment of the interpretive JVM core, the entry and starting point for bytecode execution, relative to just-in-time tiered execution. The study considers factors such as the JRE version, the GNU GCC version used in the JRE build toolchain, and the garbage collector algorithm specified at runtime, and their impact on the performance difference envelope between interpretive and tiered execution. Our findings indicate that tiered execution is considerably more efficient than interpretive execution, and the performance gap has increased, ranging from 4 to 37 times more efficient. On average, tiered execution is approximately 15 times more efficient than interpretive execution. Additionally, the performance differences between interpretive and tiered execution are influenced by workload category, with narrower performance differences observed for web-based workloads and more significant differences for Functional and Scala-type workloads.
机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。