Intel Confidential Computing
Discussion board focused on Intel Confidential Computing technologies and how they can protect data and AI security, privacy, and sovereignty.

Enclave Memory size in simulation mode

Kassem
Beginner
5,081 Views

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
1 Solution
JesusG_Intel
Moderator
5,068 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

0 Kudos
3 Replies
JesusG_Intel
Moderator
5,069 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


0 Kudos
Kassem
Beginner
5,033 Views
Thanks Jesus for the detailed reply!
0 Kudos
JesusG_Intel
Moderator
5,017 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.


0 Kudos
Reply