Intel® Software Guard Extensions (Intel® SGX)
Discussion board focused on hardware-based isolation and memory encryption to provide extended code protection in solutions.

About EPC size

sera_l_
Beginner
673 Views

At SGXv1, there is a EPC limitation 128MB.

is there a plan for extending the maximum size of EPC at SGXv2?

I know that SGXv2 will be releasing with Dynamic memory allocation feature. Does it mean that the maximum size of EPC is fixed and when the memory is allocated more than the maximum size, the page will be swapped?

 

thanks

0 Kudos
1 Reply
Anusha_K_Intel
Employee
673 Views

Hi,

In SGX2  there is  Statically Allocated  memory and dynamically allocated memory. The size of the statically allocated memory is fixed and  the value is not known as of now. SGX2 Extensions give software the ability to dynamically add and remove pages from an enclave and to manage the attributes of enclave pages.comparision.png

In Section 4 of this document you can read how the dynamic memory management is done--http://caslab.csl.yale.edu/workshops/hasp2016/HASP16-17.pdf

http://caslab.csl.yale.edu/workshops/hasp2016/HASP16-16_slides.pdf

http://www.cs.wayne.edu/fengwei/16fa-csc6991/slides/5-SGX1.pdf

 

Regards,

Anusha

0 Kudos
Reply