A Framework for Safe Execution of User-Uploaded Algorithms

Toni Tan, René Weller, G. Zachmann
{"title":"A Framework for Safe Execution of User-Uploaded Algorithms","authors":"Toni Tan, René Weller, G. Zachmann","doi":"10.1145/3564533.3564560","DOIUrl":null,"url":null,"abstract":"In recent years, a trend has existed for an open benchmark aiming for reproducible and comparable benchmarking results. The best reproducibility can be achieved when performing the benchmarks in the same hard- and software environment. This can be offered as a web service. One challenge of such a web service is the integration of new algorithms into the existing benchmarking tool due to security concerns. In this paper, we present a framework that allows the safe execution of user-uploaded algorithms in such a benchmark-as-a-service web tool. To guarantee security as well as reproducibility and comparability of the service, we extend an existing system architecture to allow the execution of user-uploaded algorithms in a virtualization environment. Our results show that although the results from the virtualization environment are slightly slower by around 3.7% to 4.7% compared with the native environment, the results are consistent across all scenarios with different algorithms, object shapes, and object complexity. Moreover, we have automated the entire process from turning on/off a virtual machine, starting benchmark with intended parameters to communicating with the backend server when the benchmark has finished. Our implementation is based on Microsoft Hyper-V that allows us to benchmark algorithms that use Single Instruction, Multiple Data (SIMD) instruction sets as well as access to the Graphics Processing Unit (GPU).","PeriodicalId":277384,"journal":{"name":"Proceedings of the 27th International Conference on 3D Web Technology","volume":"42 1","pages":"0"},"PeriodicalIF":0.0000,"publicationDate":"2022-11-02","publicationTypes":"Journal Article","fieldsOfStudy":null,"isOpenAccess":false,"openAccessPdf":"","citationCount":"0","resultStr":null,"platform":"Semanticscholar","paperid":null,"PeriodicalName":"Proceedings of the 27th International Conference on 3D Web Technology","FirstCategoryId":"1085","ListUrlMain":"https://doi.org/10.1145/3564533.3564560","RegionNum":0,"RegionCategory":null,"ArticlePicture":[],"TitleCN":null,"AbstractTextCN":null,"PMCID":null,"EPubDate":"","PubModel":"","JCR":"","JCRName":"","Score":null,"Total":0}
引用次数: 0

Abstract

In recent years, a trend has existed for an open benchmark aiming for reproducible and comparable benchmarking results. The best reproducibility can be achieved when performing the benchmarks in the same hard- and software environment. This can be offered as a web service. One challenge of such a web service is the integration of new algorithms into the existing benchmarking tool due to security concerns. In this paper, we present a framework that allows the safe execution of user-uploaded algorithms in such a benchmark-as-a-service web tool. To guarantee security as well as reproducibility and comparability of the service, we extend an existing system architecture to allow the execution of user-uploaded algorithms in a virtualization environment. Our results show that although the results from the virtualization environment are slightly slower by around 3.7% to 4.7% compared with the native environment, the results are consistent across all scenarios with different algorithms, object shapes, and object complexity. Moreover, we have automated the entire process from turning on/off a virtual machine, starting benchmark with intended parameters to communicating with the backend server when the benchmark has finished. Our implementation is based on Microsoft Hyper-V that allows us to benchmark algorithms that use Single Instruction, Multiple Data (SIMD) instruction sets as well as access to the Graphics Processing Unit (GPU).
安全执行用户上传算法的框架
近年来,开放式基准测试已成为一种趋势,其目标是获得可重复和可比较的基准测试结果。当在相同的硬件和软件环境中执行基准测试时,可以实现最佳的再现性。这可以作为web服务提供。这种web服务的一个挑战是,由于安全考虑,需要将新算法集成到现有的基准测试工具中。在本文中,我们提出了一个框架,该框架允许在这样一个基准即服务web工具中安全执行用户上传的算法。为了保证服务的安全性、再现性和可比性,我们扩展了现有的系统架构,以允许在虚拟化环境中执行用户上传的算法。我们的结果表明,尽管虚拟化环境的结果比原生环境稍微慢了3.7%到4.7%,但在具有不同算法、对象形状和对象复杂性的所有场景中,结果是一致的。此外,我们已经自动化了整个过程,从打开/关闭虚拟机,使用预期的参数启动基准测试,到在基准测试完成时与后端服务器通信。我们的实现基于Microsoft Hyper-V,它允许我们对使用单指令多数据(SIMD)指令集以及访问图形处理单元(GPU)的算法进行基准测试。
本文章由计算机程序翻译,如有差异,请以英文原文为准。
求助全文
约1分钟内获得全文 求助全文
来源期刊
自引率
0.00%
发文量
0
×
引用
GB/T 7714-2015
复制
MLA
复制
APA
复制
导出至
BibTeX EndNote RefMan NoteFirst NoteExpress
×
提示
您的信息不完整,为了账户安全,请先补充。
现在去补充
×
提示
您因"违规操作"
具体请查看互助需知
我知道了
×
提示
确定
请完成安全验证×
copy
已复制链接
快去分享给好友吧!
我知道了
右上角分享
点击右上角分享
0
联系我们:info@booksci.cn Book学术提供免费学术资源搜索服务,方便国内外学者检索中英文文献。致力于提供最便捷和优质的服务体验。 Copyright © 2023 布克学术 All rights reserved.
京ICP备2023020795号-1
ghs 京公网安备 11010802042870号
Book学术文献互助
Book学术文献互助群
群 号:604180095
Book学术官方微信