Discover the SciOpen Platform and Achieve Your Research Goals with Ease.
Search articles, authors, keywords, DOl and etc.
Simple direct block linking only considers the connection at the logical level and ignores the continuity of the physical storage location, despite the fact that the "direct block linking" method can decrease the frequency of translator intervention and enhance the target program's performance during the dynamic binary translation process. Aiming at this problem, a dynamic binary translation performance optimization method based on superblock nesting is proposed, which is based on the IR instructions generated by the binary translator pre-translating the target code, and increases the instruction cache hit rate by constructing superblocks with a nested structure so that the code achieves the continuity of physical storage locations. The experimental results show that: SPEC2006, the most classic and commonly used in the field of dynamic binary translation, is used as the test benchmark, and QEMU6.0, a mainstream open-source binary translator, is used as the experimental framework. Compared with the version without superblock nesting, the proposed method can improve the cache hit rate by 53.28% on average, and the maximum increase can be 90%. The running performance of the target program can be improved by 3.07% on average and 4.58% at maximum.
Comments on this article