arXivDaily arXiv每日学术速递 周一至周五更新
arXiv周末暂无论文更新,休息一下吧,周末愉快~~
arXiv 2403.11874cs.DB
收藏

基准测试 Intel SGXv2 中的分析型查询处理

Benchmarking Analytical Query Processing in Intel SGXv2

Adrian Lutsch, Muhammad El-Hindi, Matthias Heinrich, Daniel Ritter, Zsolt István, Carsten Binnig

AI总结:

本研究首次深入评估SGXv2内分析型查询处理算法,发现先进算法可行但存在硬件软件差异导致开销,并提出优化使飞地内性能媲美原生执行。

摘要:

可信执行环境(TEE),例如英特尔软件保护扩展(SGX),正越来越多地被用于解决公共云中的信任和合规问题。英特尔 SGX 的第二代(SGXv2)解决了其前身(SGXv1)的许多限制,为安全高效的分析型云数据库管理系统(DBMS)提供了潜力。我们评估了这一潜力,并首次对 SGXv2 内部的分析型查询处理算法进行了深入的评估研究。我们的研究揭示,与 SGXv1 不同,最先进的算法如基数连接(radix joins)和基于 SIMD 的扫描是实现在 SGXv2 内部高性能查询处理的良好起点。然而,细微的硬件和软件差异仍然会影响 SGX 飞地(enclaves)内的代码执行,并导致显著的开销。我们调查了这些差异,并提出了新的优化措施,以使飞地内的性能与飞地外的原生代码执行性能持平。

英文摘要:

Trusted Execution Environments (TEEs), such as Intel's Software Guard Extensions (SGX), are increasingly being adopted to address trust and compliance issues in the public cloud. Intel SGX's second generation (SGXv2) addresses many limitations of its predecessor (SGXv1), offering the potential for secure and efficient analytical cloud DBMSs. We assess this potential and conduct the first in-depth evaluation study of analytical query processing algorithms inside SGXv2. Our study reveals that, unlike SGXv1, state-of-the-art algorithms like radix joins and SIMD-based scans are a good starting point for achieving high-performance query processing inside SGXv2. However, subtle hardware and software differences still influence code execution inside SGX enclaves and cause substantial overheads. We investigate these differences and propose new optimizations to bring the performance inside enclaves on par with native code execution outside enclaves.

机构、总结、中文摘要均由AI分析而来,可能存在错误,请以论文正文为准。

↑