Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Beginner
73 Views

About EPC size

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
Highlighted
Employee
73 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