how so many codes run in SGX? isn't there any limitation?

89 views Asked by At

sgx is widely used in edge/cloud computing. in fact they use SGX to run the user's code. but it's strange for me. what is the capacity of SGX? i mean how many codes we can run in SGX? doesn't it have limitation? how they run all of the user's code (may hundreds of thousands code) in one SGX? is the capacity of the server's SGX is different from pc's SGX?

1

There are 1 answers

2
X99 On BEST ANSWER

The main limitation is the amount of RAM an enclave can use. Most common values (see your BIOS) are 128/256Mb.

Edit: Intel recently increased dramatically the limit, up to 1Tb. Yes, one terabyte. Check this thread for more details.