Intel® Software Guard Extensions (Intel® SGX)
Use hardware-based isolation and memory encryption to provide more code protection in your solutions.

Number of enclaves in an application

Kumar__Dixit
Novice
259 Views

How many enclave containers can be created within a application?

0 Kudos
1 Solution
Rodolfo_S_
New Contributor III
259 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

2 Replies
Rodolfo_S_
New Contributor III
260 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

Kumar__Dixit
Novice
259 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

Reply