Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Kassem
Beginner
112 Views

Enclave Memory size in simulation mode

Jump to solution

Hi,

SGX processors come with a 128MB for enclaves, while newer versions have a 256MB enclave size. I have a few questions about the simulation mode in terms of simulating various hardware enclave's memory size.

Q1- Can I set the EPC maximum size in simulation mode to simulate a 128 and 256 enclave, and how?

Q2- Will page swapping be triggered in simulation mode, and will it simulation mode simulate the performance overhead?

 

Thanks in advance.

0 Kudos

Accepted Solutions
JesusG_Intel
Moderator
99 Views

Hello Kassem,


No, you cannot set the EPC size or simulate performance overhead in Simulation mode.


Simulation mode is merely for functional testing. Simulation mode allows you to test the functionality of your enclave and untrusted app on a non-SGX system . The app and enclave are treated like a regular application and are subject to regular page swapping by the OS.


Sincerely,

Jesus G.

Intel Customer Support


View solution in original post

3 Replies
JesusG_Intel
Moderator
100 Views

Hello Kassem,


No, you cannot set the EPC size or simulate performance overhead in Simulation mode.


Simulation mode is merely for functional testing. Simulation mode allows you to test the functionality of your enclave and untrusted app on a non-SGX system . The app and enclave are treated like a regular application and are subject to regular page swapping by the OS.


Sincerely,

Jesus G.

Intel Customer Support


View solution in original post

Kassem
Beginner
64 Views
Thanks Jesus for the detailed reply!
JesusG_Intel
Moderator
48 Views

This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.