Title
TEE-Perf: A Profiler for Trusted Execution Environments
Abstract
We introduce TEE-PERF, an architecture-and platform-independent performance measurement tool for trusted execution environments (TEEs). More specifically, TEE-PERF supports method-level profiling for unmodified multithreaded applications, without relying on any architecture-specific hardware features (e.g. Intel VTune Amplifier), or without requiring platform-dependent kernel features (e.g. Linux perf). Moreover, TEE-PERF provides accurate profiling measurements since it traces the entire process execution without employing instruction pointer sampling. Thus, TEE-PERF does not suffer from sampling frequency bias, which can occur with threads scheduled to align to the sampling frequency. We have implemented TEE-P ERF with an easy to use interface, and integrated it with Flame Graphs to visualize the performance bottlenecks. We have evaluated TEE-PERF based on the Phoenix multithreaded benchmark suite and real-world applications (RocksDB, SPDK, etc.), and compared it with Linux perf. Our experimental evaluation shows that TEE-PERF incurs low profiling overheads, while providing accurate profile measurements to identify and optimize the application bottlenecks in the context of TEEs. TEE-PERF is publicly available.
Year
DOI
Venue
2019
10.1109/DSN.2019.00050
2019 49th Annual IEEE/IFIP International Conference on Dependable Systems and Networks (DSN)
Keywords
DocType
ISSN
TEE,profiler,SGX,tool
Conference
1530-0889
ISBN
Citations 
PageRank 
978-1-7281-0058-6
2
0.37
References 
Authors
11
4
Name
Order
Citations
PageRank
Maurice Bailleu120.37
Donald Dragoti230.72
Pramod Bhatotia341428.94
Christof Fetzer42429172.89