Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
18 Views

performance optimization within enclave

Jump to solution

Is there any tool (SEP, VTune ...) which would allow to somehow analyze enclave SW (non release, e.g. debug build). If so, is there any documentation? 

0 Kudos

Accepted Solutions
Highlighted
18 Views

An enclave is an isolated environment. Performance analysis tools such as AQtime*, perf tools, VTune*, Valgrind* are not supported inside an enclave. The Intel® Software Guard Extensions Evaluation SDK provides a tool called sgx_emmt to measure the real usage of protected memory by the enclave at runtime.

Please refer the following link for more details "Intel® Software Guard Extensions Evaluation SDK" 

View solution in original post

0 Kudos
3 Replies
Highlighted
19 Views

An enclave is an isolated environment. Performance analysis tools such as AQtime*, perf tools, VTune*, Valgrind* are not supported inside an enclave. The Intel® Software Guard Extensions Evaluation SDK provides a tool called sgx_emmt to measure the real usage of protected memory by the enclave at runtime.

Please refer the following link for more details "Intel® Software Guard Extensions Evaluation SDK" 

View solution in original post

0 Kudos
Highlighted
18 Views

Chapter 7 of the PRM details some of the performance / debugging that is available in the architecture:

https://software.intel.com/sites/default/files/managed/48/88/329298-002.pdf

Searching for SGX in the VTune release notes indicates which version of VTune has some support for SGX:

https://software.intel.com/sites/default/files/managed/ae/63/release_notes_amplifier_windows.pdf

EDIT:
However, version 1.1 of the software does not include support for VTune.

0 Kudos
Highlighted
18 Views

SGX 1.6 is now available, with "Support for profiling SGX applications using Intel® VTune™. To profile SGX applications, use VTune™ 2016 Update 2 which contains an analysis type, SGX Hotspots"

https://software.intel.com/en-us/sgx-sdk/download

 

 

0 Kudos