CHERI Performance Enhancement for a Bytecode Interpreter

CHERI Performance Enhancement for a Bytecode Interpreter
复制标题

字节码解释器的 CHERI 性能增强

DOI:
10.1145/3623507.3623552
复制
发表时间:
2023
期刊:
--
影响因子:
--
通讯作者:
Lowther D
Lowther D
中科院分区:
--
文献类型:
--
作者:
Lowther D

文献摘要

参考文献

被引文献

相似文献

在将MicroPython字节码解释器移植到基于CHERI的Arm Morello平台期间,我们遇到了一些严重的性能下降。本文将详细探讨其中的几个性能问题, 我们描述了问题的原因,修复方法,以及相对于一组标准Python基准测试的相应解释器性能改进。虽然我们认识到Morello是CHERI概念的原型物理实例,我们表明,消除由于CHERI能力的较大规模而出现的某些类型的软件引起的运行时开销是可能的(128位)相对于本机指针(通常为64位)。 在我们的例子中,相对于AArch 64,无能力,执行,我们将几何平均基准减速从5倍(优化前)减少到1.7倍(优化后)。最坏情况下的减速大大改善,从100倍(优化前)到2倍(优化后)。关键的洞察力是,隐含的指针大小的前提遍布系统代码;而以前的CHERI移植项目强调的编译时和执行时的错误暴露的指针大小的假设,我们反而专注于这些假设的性能影响。
During our port of the MicroPython bytecode interpreter to the CHERI-based Arm Morello platform, we encountered a number of serious performance degradations. This paper explores several of these performance issues in detail, in each case we characterize the cause of the problem, the fix, and the corresponding interpreter performance improvement over a set of standard Python benchmarks.While we recognize that Morello is a prototypical physical instantiation of the CHERI concept, we show that it is possible to eliminate certain kinds of software-induced runtime overhead that occur due to the larger size of CHERI capabilities (128 bits) relative to native pointers (generally 64 bits). In our case, we reduce a geometric mean benchmark slowdown from 5x (before optimization) to 1.7x (after optimization) relative to AArch64, non-capability, execution. The worst-case slowdowns are greatly improved, from 100x (before optimization) to 2x (after optimization).The key insight is that implicit pointer size presuppositions pervade systems code; whereas previous CHERI porting projects highlighted compile-time and execution-time errors exposed by pointer size assumptions, we instead focus on the performance implications of such assumptions.
CHERI Concentrate:实用的压缩功能
DOI: 10.1109/tc.2019.2914037
发表时间: 2019
影响因子: 3.7
作者:
Woodruff J
通讯作者: Woodruff J
选择 CHERI 分配器:安全性和性能考虑因素
DOI: 10.1145/3591195.3595278
发表时间: 2023
期刊: --
影响因子: --
作者:
Bramley J
通讯作者: Bramley J
跨语言编译器基准测试:我们快了吗?
DOI: --
发表时间: 2016
期刊: Dynamic Languages Symposium
影响因子: --
作者:
Stefan Marr;Benoit Daloze;H. Mössenböck
通讯作者: H. Mössenböck
功能硬件增强型 RISC 指令:CHERI 指令集架构(版本 6)
DOI: --
发表时间: 2017
期刊:
影响因子: --
作者:
Robert N. M. Watson;Peter G. Neumann;Jonathan Woodruff;Michael Roe;Jonathan Anderson;John Baldwin;D. Chisnall;Brooks Davis;Alexandre Joannou;Ben Laurie;Simon W. Moore;S. Murdoch;Robert M. Norton;Stacey D. Son;Hongyan Xia
通讯作者: Hongyan Xia
CHERI 功能的内存安全:安全分析、语言解释器和堆临时安全
DOI: 10.17863/cam.90220
发表时间: 2022
期刊: Proceedings of the 18th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments
影响因子: --
作者:
B. F. Gutstein
通讯作者: B. F. Gutstein