sgx-perf: A Performance Analysis Tool for Intel SGX Enclaves

VenueCategory
Middleware'18SGX performance

sgx-perf: A Performance Analysis Tool for Intel SGX Enclaves1. SummaryMotivation of this paperSGX-PerfImplementation and Evaluation2. Strength (Contributions of the paper)3. Weakness (Limitations of the paper)4. Some Insights (Future work)

1. Summary

Motivation of this paper

SGX-Perf

image-20201128184758932

image-20201128194505744

Implementation and Evaluation

  1. performance overhead of logging
  2. optimization of enclaves

2. Strength (Contributions of the paper)

  1. summary identified performance critical factors of SGX
  2. present sgx-perf, a collection of tools for high-level dynamic performance analysis of SGX-based application.

perform fine-grained profiling of performance critical events in enclave also provide recommendations on how to improve enclave performance

  1. show how to use sgx-perf to improve the SGX-based application performance.

3. Weakness (Limitations of the paper)

4. Some Insights (Future work)

  1. how to optimize the enclave performance?

asynchronous calls extended memory management support

  1. EPC protection All enclave memory is fully and transparently encrypted as well as integrity protected.
  2. Security enhancements It is necessary to reduce the attack surface of their interfaces.

public ecall: can always be called private ecall: can only be called during an ocall

the attacker may change the control path of the execution of the program and gain access to enclave secrets.