Improving Dynamically-Generated Code Performance on Dynamic Binary Translators

Wenwen Wang, Jiacheng Wu, Xiaoli Gong, Tao Li, P. Yew
{"title":"Improving Dynamically-Generated Code Performance on Dynamic Binary Translators","authors":"Wenwen Wang, Jiacheng Wu, Xiaoli Gong, Tao Li, P. Yew","doi":"10.1145/3186411.3186413","DOIUrl":null,"url":null,"abstract":"The recent transition in the software industry toward dynamically generated code poses a new challenge to existing dynamic binary translation (DBT) systems. A significant re-translation overhead could be introduced due to the maintenance of the consistency between the dynamically-generated guest code and the corresponding translated host code. To address this issue, this paper presents a novel approach to optimize DBT systems for guest applications with dynamically-generated code. The proposed approach can maximize the reuse of previously translated host code to mitigate the re-translation overhead. A prototype based on such an approach has been implemented on an existing DBT system HQEMU. Experimental results on a set of JavaScript applications show that it can achieve a 1.24X performance speedup on average compared to the original HQEMU.","PeriodicalId":176740,"journal":{"name":"Proceedings of the 14th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments","volume":"211 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2018-03-25","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"10","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 14th ACM SIGPLAN/SIGOPS International Conference on Virtual Execution Environments","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3186411.3186413","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 10

Abstract

The recent transition in the software industry toward dynamically generated code poses a new challenge to existing dynamic binary translation (DBT) systems. A significant re-translation overhead could be introduced due to the maintenance of the consistency between the dynamically-generated guest code and the corresponding translated host code. To address this issue, this paper presents a novel approach to optimize DBT systems for guest applications with dynamically-generated code. The proposed approach can maximize the reuse of previously translated host code to mitigate the re-translation overhead. A prototype based on such an approach has been implemented on an existing DBT system HQEMU. Experimental results on a set of JavaScript applications show that it can achieve a 1.24X performance speedup on average compared to the original HQEMU.
查看原文
分享 分享
微信好友 朋友圈 QQ好友 复制链接
本刊更多论文
改进动态二进制翻译器上动态生成代码的性能
最近软件行业向动态生成代码的转变对现有的动态二进制翻译(DBT)系统提出了新的挑战。由于维护动态生成的来宾代码和相应的已翻译的主机代码之间的一致性,可能会引入大量的重新翻译开销。为了解决这个问题,本文提出了一种新的方法,用动态生成的代码为客户应用程序优化DBT系统。所提出的方法可以最大限度地重用以前翻译的主机代码,以减少重新翻译的开销。基于这种方法的原型已经在现有DBT系统HQEMU上实现。在一组JavaScript应用程序上的实验结果表明,与原始HQEMU相比,它可以实现1.24倍的平均性能加速。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 去求助
来源期刊
自引率
0.00%
发文量
0
期刊最新文献
Improving Dynamically-Generated Code Performance on Dynamic Binary Translators Demon: An Efficient Solution for on-Device MMU Virtualization in Mediated Pass-Through Hop, Skip, & Jump: Practical On-Stack Replacement for a Cross-Platform Language-Neutral VM gMig: Efficient GPU Live Migration Optimized by Software Dirty Page for Full Virtualization Fast PokeEMU: Scaling Generated Instruction Tests Using Aggregation and State Chaining
×
引用
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