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

Number of enclaves in an application

Kumar__Dixit
Novice
597 Views

How many enclave containers can be created within a application?

0 Kudos
1 Solution
Rodolfo_S_
New Contributor III
597 Views

Hi there.

It really depends on the size of the enclaves dealt with by your application. I did some experimenting a while ago, and I was able to instantiate over a thousand enclaves before running out of EPC.

Best regards,
Rodolfo

View solution in original post

0 Kudos
2 Replies
Rodolfo_S_
New Contributor III
598 Views

Hi there.

It really depends on the size of the enclaves dealt with by your application. I did some experimenting a while ago, and I was able to instantiate over a thousand enclaves before running out of EPC.

Best regards,
Rodolfo

0 Kudos
Kumar__Dixit
Novice
597 Views

Hi Rodolfo,

Thanks for your answer.

As you said, an application can have multiple enclaves in it. So, in this case, whenever the teardown phase happens, OS needs to call EREMOVE instructions to destroys each of these enclaves individually.

I mean for each enclave, we will have an independent enclave life cycle. Please correct me, If I am wrong somewhere.

Regards,
Dixit

0 Kudos
Reply