- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi @Jesus
I have a program that processes data, and I would like to assess the performance impact of SGX versus the very same program without SGX.
The question is: is SGX's simulation mode the same as "no SGX at all"? If not, is the overhead significant?
Thanks a lot.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello X99,
Running in Simulation mode is not recommended for performance testing. In Simulation mode, the SGX hardware instructions are simulated in the software, which is slower than running natively in hardware. Simulation mode also uses simulated versions of the trusted libraries, untrusted libraries, and PSW, which, again, are slower than the originals. To truly test SGX performance overhead you must use an SGX platform and use "Pre-release" mode, which uses compiler optimizations, but enclaves are launched in enclave-debug mode.
For further information on the compilation profiles, refer to the section "Enclave Project Configurations" in your Intel SGX Developer Reference Guide for your OS.
Whether the performance overhead due to Simulation mode is significant depends on the tolerance of the overhead in your use-case.
Sincerely,
Jesus G.
Intel Customer Support
Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello X99,
Running in Simulation mode is not recommended for performance testing. In Simulation mode, the SGX hardware instructions are simulated in the software, which is slower than running natively in hardware. Simulation mode also uses simulated versions of the trusted libraries, untrusted libraries, and PSW, which, again, are slower than the originals. To truly test SGX performance overhead you must use an SGX platform and use "Pre-release" mode, which uses compiler optimizations, but enclaves are launched in enclave-debug mode.
For further information on the compilation profiles, refer to the section "Enclave Project Configurations" in your Intel SGX Developer Reference Guide for your OS.
Whether the performance overhead due to Simulation mode is significant depends on the tolerance of the overhead in your use-case.
Sincerely,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello X99,
Do you still need help with this issue?
Sincerely,
Jesus G.
Intel Customer Support
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
This thread has been marked as answered and Intel will no longer monitor this thread. If you want a response from Intel in a follow-up question, please open a new thread.
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page