Adaptive and Efficient Dynamic Memory Management for Hardware Enclaves

Vijay Dhanraj, Harpreet Singh Chawla, Daniel Manila, Eric Thomas Schneider, Erica Fu, Donald E. Porter, Chia-Che Tsai, Mona Vij · 2025

The second version of Intel® Software Guard Extensions (Intel SGX), or SGX2, adds dynamic management of enclave memory and threads. The first version required the address space and thread counts to be fixed before execution. The Enclave Dynamic Memory Management (EDMM) feature of SGX2 has the potential to lower launch times and overall execution time. Despite reducing the enclave loading time by 28-93%, straightforward EDMM adoption strategies actually slow execution time down by as much as 58%.

Read the paper · More papers on PaperTik