Multithreaded Optimizing Technique for Dynamic Binary Translator CrossBit

Haibing Guan,Bo Liu,Tingtao Li,Alei Liang
DOI: https://doi.org/10.1109/csse.2008.32
2008-01-01
Abstract:Dynamic binary translator (DBT) systems enable the architectural incompatible platforms to execute binaries of other architectures transparently. And binary translation and optimization are always deemed as the key techniques to constructing high performance DBT systems. Many previous optimization including fragment chaining, trace/superblock formation, translated code optimization, has been applied to improve performance. However, seldom any effort is made to optimize under multi-core processor environment. Therefore, this paper describes the new multiple threads execution engine (MTEE) of the dynamic binary translator CrossBit, which is a both resourceable and retargetable infrastructure for cross binary translation. The multithreaded technique decomposes the common binary translation working routine into dynamic translation and translated code execution phases, and then multi-threads enable parallelized translation of host binaries. As a result, the multithreaded optimizing technique accelerates the translation of binaries.We evaluated our binary translation system across the SPEC CPU2000 and found that the system under MTEE has reached a performance level equal to that of the conventional CrossBit engine which was executed on the IA32 multi-cores processor environment. And several SPEC benchmark programs even show that the MTEE have speed up the execution of CrossBit about 30% at best. And we are still looking forward to a higher performance improvement through this new software pipelined method.
What problem does this paper attempt to address?