MTSDT: Multithreaded Software Dynamic Translator for Multi-Core System

作者:Guan, Haibing; Ma, Ruhui*; Ni, Zhichen; Liang, Alei; Yang, Hongbo
来源:Advanced Science Letters, 2011, 4(6-7): 2331-2336.
DOI:10.1166/asl.2011.1703

摘要

Software dynamic translator (SDT) systems enable the architectural incompatible platforms to execute binaries of the others transparently. And binary translation is always deemed as the key technique to constructing high performance SDT systems. Many previous optimizations including fragment chaining, trace/superblock formation, translated code optimization, and so on, have been applied to speed up SDT system. However, few efforts are made to optimize SDTs under multicore processor environment. Therefore, this paper describes the new multiple threads execution engine (MTEE) of the SDT Cross Bit, which is a both resourceable and retargetable infrastructure for binary translation. The MTEE decomposes the common SDT working routine into dynamic translation and translated code execution phases, and then multi-threads them to enable parallelized translation of host binaries. As a result, the MTEE accelerates the translation of binaries and eliminates the context-switch overhead for the translated code blocks unlinked. Currently, measurements using SPEC CPU2000 indicate that the MTEE has reached a performance level equal to that of the conventional Cross Bit engine under an IA32 multi-cores processor environment. The results of some SPEC benchmark programs even show that the MTEE has speed up the execution of Cross Bit about 15% at best. And we are still looking forward to the new break-through of performance increasing by this new software-pipelined method.

全文