ARM TrustZone has become a cornerstone of security in mobile edge devices, but its protective measures often come at the expense of energy efficiency and system performance. Existing optimization methods rely heavily on cloud-based deep learning models and real-time measurements, making them vulnerable to fluctuating workloads and variable network conditions. This paper introduces a novel offline tuning framework for optimizing Trusted Applications (TAs) within the Open Portable Trusted Execution Environment (OP-TEE), an open-source TEE built on ARM TrustZone. Unlike traditional approaches, our method dispenses with on-device measurements and repeated TA compilations. Instead, it uses a predictive model trained on runtime characteristics observed in the Rich Execution Environment (REE) to estimate energy and performance metrics. Guided by these predictions, the framework then applies targeted optimizations through an automated tuning mechanism. Experimental results show that this offline approach accelerates the tuning process by 196× compared to the default method, while delivering a 27.23% performance improvement and a 25% reduction in energy consumption within just 170 s. These gains underscore the practicality and effectiveness of the proposed framework, paving the way for more efficient and adaptive TA optimization.
Publications
- Article type
- Year
- Co-author
Article type
Year
Open Access
Research Article
Issue
Tsinghua Science and Technology 2026, 31(2): 867-879
Published: 21 October 2025
Downloads:100
Total 1
京公网安备11010802044758号