Adaptive and Efficient Dynamic Memory Management for Hardware Enclaves

dc.contributor.authorDhanraj, Vijayen
dc.contributor.authorChawla, Harpreeten
dc.contributor.authorManila, Danielen
dc.contributor.authorSchneider, Ericen
dc.contributor.authorFu, Ericaen
dc.contributor.authorPorter, Donalden
dc.contributor.authorTsai, Chia-Cheen
dc.contributor.authorVij, Monaen
dc.date.accessioned2025-10-01T17:55:21Zen
dc.date.available2025-10-01T17:55:21Zen
dc.date.issued2025-09-08en
dc.date.updated2025-10-01T07:46:28Zen
dc.description.abstractThe 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%. Using the Gramine library OS as a representative enclave runtime environment, this paper shows how to recover EDMM performance. The paper explains how implementing mutual distrust between the OS and enclave increases the cost of modifying page mappings. The paper then describes a series of optimizations and, using application benchmarks, shows that these optimizations effectively eliminate the overheads of EDMM while retaining EDMM’s performance and flexibility gains.en
dc.description.versionPublished versionen
dc.format.mimetypeapplication/pdfen
dc.identifier.doihttps://doi.org/10.1145/3757347.3759137en
dc.identifier.urihttps://hdl.handle.net/10919/137877en
dc.language.isoenen
dc.publisherACMen
dc.rightsIn Copyrighten
dc.rights.holderThe author(s)en
dc.rights.urihttp://rightsstatements.org/vocab/InC/1.0/en
dc.titleAdaptive and Efficient Dynamic Memory Management for Hardware Enclavesen
dc.typeArticle - Refereeden
dc.type.dcmitypeTexten

Files

Original bundle
Now showing 1 - 1 of 1
Loading...
Thumbnail Image
Name:
3757347.3759137.pdf
Size:
2.82 MB
Format:
Adobe Portable Document Format
Description:
Published version
License bundle
Now showing 1 - 1 of 1
Name:
license.txt
Size:
1.5 KB
Format:
Item-specific license agreed upon to submission
Description: