Process-based confidential computing enclaves such as Intel SGX can be used to protect the confidentiality and integrity of workloads, without the overhead of virtualisation. However, they introduce a notable performance overhead, especially when it comes to transitions in and out of the enclave context. Such overhead makes the use of enclaves impractical for running IO-intensive applications, such as network packet processing or biological sequence analysis. We build on earlier approaches to improve the IO performance of work-loads in Intel SGX enclaves and propose the SGX-Bundler library, which helps reduce the cost of both individual single enclave transitions well as of the total number of enclave transitions in trusted applications running in Intel SGX enclaves. We describe the implementation of the SGX-Bundler library, evaluate its performance and demonstrate its practicality using the case study of Open vSwitch, a widely used software switch implementation.
翻译:英特尔SGX等基于流程的机密计算飞地可以用来保护工作量的保密性和完整性,而不必靠虚拟化的间接管理,但是,它们引入了显著的业绩管理,特别是在飞地的进出过渡方面,这种管理使飞地无法用于运行IO密集应用程序,例如网络包处理或生物序列分析。我们利用早先的办法,改进IntelSGX飞地的IO工作量性能,并提议SGX-Bundler图书馆,该图书馆有助于降低单个飞地过渡的费用,以及英特尔SGX飞地可信赖应用的飞地过渡的总数。我们介绍SGX-Bundler图书馆的实施情况,评估其业绩,并使用公开 vwitch 案例研究显示其实用性,这是一个广泛使用的软件开关实施系统。