一句话:通过最小化信任根与测量开销,将 SEV 机密 microVM 的冷启动性能提升 86–93%。
Serverless 平台依赖快速容器初始化来保障低延迟;但 AMD SEV 等硬件 TEE 因建立信任根的开销,使机密 microVM 启动过慢,难以用于延迟敏感场景。本文考察 SEV microVM 的启动路径,提出 SEVeriFast 引导方案,重新审视删除引导阶段、绕过 guest 内核解压等快速启动技术。反直觉的是,新增一个引导组件并恢复内核压缩,可把测量从关键启动路径移出并形成最小信任根,从而优化冷启动。作者首次系统探索机密 microVM 启动的权衡,并给出面向机密 serverless 的指导原则。实验表明,相比现有方法,SEVeriFast 将 SEV VM 冷启动性能提升 86–93%。
Serverless computing platforms rely on fast container initialization to provide low latency and high throughput for requests. While hardware enforced trusted execution environments (TEEs) have gained popularity, confidential computing has yet to be widely adopted by latency-sensitive platforms due to its additional initialization overhead. We investigate the application of AMD's Secure Encrypted Virtualization (SEV) to microVMs and find that current startup times for confidential VMs are prohibitively slow due to the high cost of establishing a root of trust for each new VM. We present SEVeriFast, a new bootstrap scheme for SEV VMs that reevaluates current microVM techniques for fast boot, such as eliminating bootstrap stages and bypassing guest kernel decompression. Counter-intuitively, we find that introducing an additional bootstrap component and reintroducing kernel compression optimizes the cold boot performance of SEV microVMs by reducing the cost of measurement on the critical boot path and producing a minimal root of trust. To our knowledge, SEVeriFast is the first work to explore the trade-offs associated with booting confidential microVMs and provide a set of guiding principles as a step toward confidential serverless. We show that SEVeriFast improves cold start performance of SEV VMs over current methods by 86-93%.