Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Does SGX support pinning EPC page?

kai__chi
Novice
274 Views
Hi, Inside an enclave I have data that I know will be reused frequently and would like to avoid EPC page eviciton. Is there a way to pin EPC pages and keep them away from the paging process?
0 Kudos
2 Replies
JesusG_Intel
Moderator
274 Views

Hello Kai,

Paging of the EPC is handled by the OS under the hood. There is no SGX-specific method for pinning EPC pages. There are several discussions on the web on how to keep the OS from paging certain processes. You can experiment with these and see if they help.

Regards,

kai__chi
Novice
274 Views

Thank you, Jesus. I'll experiment with these.

Reply