Sinof: A Dynamic-Static Combined Framework for Dynamic Binary Translation
Haibing Guan,Erzhou Zhu,Hongxi Wang,Ruhui Ma,Yindong Yang,Bin Wang
DOI: https://doi.org/10.1016/j.sysarc.2012.05.002
IF: 5.836
2012-01-01
Journal of Systems Architecture
Abstract:Dynamic binary translation (DBT) is an important technique in virtualization, and in migrating legacy binaries to platforms based on a new architecture. However, poor profile information limits the process of optimization at runtime, so the DBT system may suffer from substantial overhead. In this paper, we design and implement a static-integrated optimization framework (SINOF) to improve the runtime performance for DBT. Combining static and dynamic approaches can greatly reduce the overhead of optimizing, profiling and translating for any program that runs repeatedly. Under this framework, once the source image has been executed, the profile information and target code will be saved in a software cache, and will be available for future runs. In the static phase, the saved code is analyzed and optimized based on the information collected in the previous run. Especially, we reorganize the code layout of the software cache. Experimental results show that the proposed framework can reduce run time by more than 30% on average compared to the original versions of DBT that the framework is based on.