- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hey guys,
I am wondering how expensive an asynchronous exit is compared to a normal context switch.
If I understand the documentation correctly, the enclave stores the CPU's registers to the sate save area (SSA). Due to some alignment requirements, the SSA should usually be the size of a single page (4096 bytes).
Intel SGX, however, allows larger SSAs (specified by SSAFRAMESIZE). What else is or can be stored in an SSA? If SSAFRAMESIZE can get large, an AEX might be rather expensive. How big is SSAFRAMESIZE usually?
Best, Urs
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
has
#define SSA_NUM 2
#define SSA_FRAME_SIZE 1
And
has the following defined:
#define SSA_NUM_MIN 2
#define SSA_FRAME_SIZE_MIN 1
#define SSA_FRAME_SIZE_MAX 2
It appears the software is using 1 page for each SSA, two SSAs per TCS.
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
has
#define SSA_NUM 2
#define SSA_FRAME_SIZE 1
And
has the following defined:
#define SSA_NUM_MIN 2
#define SSA_FRAME_SIZE_MIN 1
#define SSA_FRAME_SIZE_MAX 2
It appears the software is using 1 page for each SSA, two SSAs per TCS.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Awesome, thank you very much!

- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page