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

SGX Heap and Stack Performance

Kuz__Eugene
Beginner
617 Views

I am having some confusion regarding performance impact of heap and stack configurations. It appears that the bigger you set the heap and stack sizes (MaxHeapSize and MaxStackSize), the more negative impact on the application. I have been running some tests measuring run time and paging, and it appears that simply increasing the size of heap and stack increases paging and also increases run time. I am having trouble understanding what is causing this. If an application is unchanged, and the extra allocated memory is unused, what is causing such performance impact?

I would appreciate any pointers in helping understand this mechanism.

0 Kudos
0 Replies
Reply