嵌入式系统WebAssembly的实时编译支持

Konrad Moron, Stefan Wallentowitz
{"title":"嵌入式系统WebAssembly的实时编译支持","authors":"Konrad Moron, Stefan Wallentowitz","doi":"10.1109/MECO58584.2023.10155088","DOIUrl":null,"url":null,"abstract":"WebAssembly gains increasing interest outside the browser, such as in servers or desktops. It also becomes a viable candidate as a managed virtual machine for embedded systems, supported by multiple runtimes. However, the performance of interpreters is limited. Outside embedded systems, just-in-time compilation is used to significantly improve the performance of bytecode execution. Existing WebAssembly runtimes with just-in-time compilation support are either unsuitable for the use on low-resource hardware such as micro-controllers, or they employ a basic compilation strategy that doesn't utilize optimization opportunities and increases the compilation overhead. In this work, we present a micro-controller compatible WebAssembly runtime that supports the general framework for enabling advanced, feedback guided just-in-time compilation and evaluate the memory overhead it incurs on the runtime. Our measurements show that such systems are viable on a variety of low-resource hardware and previous research suggests that a production-ready system is likely to considerably improve the speed of WebAssembly on embedded system-on-chip.","PeriodicalId":187825,"journal":{"name":"2023 12th Mediterranean Conference on Embedded Computing (MECO)","volume":"37 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2023-06-06","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"1","resultStr":"{\"title\":\"Support for Just-in-Time Compilation of WebAssembly for Embedded Systems\",\"authors\":\"Konrad Moron, Stefan Wallentowitz\",\"doi\":\"10.1109/MECO58584.2023.10155088\",\"DOIUrl\":null,\"url\":null,\"abstract\":\"WebAssembly gains increasing interest outside the browser, such as in servers or desktops. It also becomes a viable candidate as a managed virtual machine for embedded systems, supported by multiple runtimes. However, the performance of interpreters is limited. Outside embedded systems, just-in-time compilation is used to significantly improve the performance of bytecode execution. Existing WebAssembly runtimes with just-in-time compilation support are either unsuitable for the use on low-resource hardware such as micro-controllers, or they employ a basic compilation strategy that doesn't utilize optimization opportunities and increases the compilation overhead. In this work, we present a micro-controller compatible WebAssembly runtime that supports the general framework for enabling advanced, feedback guided just-in-time compilation and evaluate the memory overhead it incurs on the runtime. Our measurements show that such systems are viable on a variety of low-resource hardware and previous research suggests that a production-ready system is likely to considerably improve the speed of WebAssembly on embedded system-on-chip.\",\"PeriodicalId\":187825,\"journal\":{\"name\":\"2023 12th Mediterranean Conference on Embedded Computing (MECO)\",\"volume\":\"37 1\",\"pages\":\"0\"},\"PeriodicalIF\":0.0000,\"publicationDate\":\"2023-06-06\",\"publicationTypes\":\"Journal Article\",\"fieldsOfStudy\":null,\"isOpenAccess\":false,\"openAccessPdf\":\"\",\"citationCount\":\"1\",\"resultStr\":null,\"platform\":\"Semanticscholar\",\"paperid\":null,\"PeriodicalName\":\"2023 12th Mediterranean Conference on Embedded Computing (MECO)\",\"FirstCategoryId\":\"1085\",\"ListUrlMain\":\"https://doi.org/10.1109/MECO58584.2023.10155088\",\"RegionNum\":0,\"RegionCategory\":null,\"ArticlePicture\":[],\"TitleCN\":null,\"AbstractTextCN\":null,\"PMCID\":null,\"EPubDate\":\"\",\"PubModel\":\"\",\"JCR\":\"\",\"JCRName\":\"\",\"Score\":null,\"Total\":0}","platform":"Semanticscholar","paperid":null,"PeriodicalName":"2023 12th Mediterranean Conference on Embedded Computing (MECO)","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1109/MECO58584.2023.10155088","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 1

摘要

WebAssembly在浏览器之外(例如服务器或桌面)获得了越来越多的兴趣。它还可以作为嵌入式系统的托管虚拟机,由多个运行时支持。然而,口译员的表现是有限的。在嵌入式系统之外,实时编译用于显著提高字节码执行的性能。具有即时编译支持的现有WebAssembly运行时要么不适合在微控制器等低资源硬件上使用,要么采用不利用优化机会并增加编译开销的基本编译策略。在这项工作中,我们提出了一个微控制器兼容的WebAssembly运行时,它支持通用框架,以实现高级的、反馈引导的实时编译,并评估它在运行时产生的内存开销。我们的测量表明,这样的系统在各种低资源硬件上是可行的,以前的研究表明,生产就绪的系统可能会大大提高嵌入式片上系统的WebAssembly速度。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
Support for Just-in-Time Compilation of WebAssembly for Embedded Systems
WebAssembly gains increasing interest outside the browser, such as in servers or desktops. It also becomes a viable candidate as a managed virtual machine for embedded systems, supported by multiple runtimes. However, the performance of interpreters is limited. Outside embedded systems, just-in-time compilation is used to significantly improve the performance of bytecode execution. Existing WebAssembly runtimes with just-in-time compilation support are either unsuitable for the use on low-resource hardware such as micro-controllers, or they employ a basic compilation strategy that doesn't utilize optimization opportunities and increases the compilation overhead. In this work, we present a micro-controller compatible WebAssembly runtime that supports the general framework for enabling advanced, feedback guided just-in-time compilation and evaluate the memory overhead it incurs on the runtime. Our measurements show that such systems are viable on a variety of low-resource hardware and previous research suggests that a production-ready system is likely to considerably improve the speed of WebAssembly on embedded system-on-chip.
求助全文
通过发布文献求助,成功后即可免费获取论文全文。 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Analysis of Blockchain Platforms for Generation and Verification of Diplomas Minimizing the Total Completion Time of Jobs for a Permutation Flow-Shop System Double Buffered Angular Speed Measurement Method for Self-Calibration of Magnetoresistive Sensors Quantum Resilient Public Key Cryptography in Internet of Things Crop yield forecasting with climate data using PCA and Machine Learning
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
现在去查看 取消
×
提示
确定
0
微信
客服QQ
Book学术公众号 扫码关注我们
反馈
×
意见反馈
请填写您的意见或建议
请填写您的手机或邮箱
已复制链接
已复制链接
快去分享给好友吧!
我知道了
×
扫码分享
扫码分享
Book学术官方微信
Book学术文献互助
Book学术文献互助群
群 号:481959085
Book学术
文献互助 智能选刊 最新文献 互助须知 联系我们:info@booksci.cn
Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。
Copyright © 2023 Book学术 All rights reserved.
ghs 京公网安备 11010802042870号 京ICP备2023020795号-1