Font Size: a A A

Optimization For Binary Translation System QEMU

Posted on:2008-08-16Degree:MasterType:Thesis
Country:ChinaCandidate:H WuFull Text:PDF
GTID:2178360212476201Subject:Computer applications
Abstract/Summary:PDF Full Text Request
Now, the development of computer technology is limited by the conflicts between hardware and software. To solve this problem, the researchers have invented the code migration. Binary translation is an important technology to implement code migration. Because of the importance in code migration, virtual IT shop, virtual machine, computer security, hardware design and many other aspects, binary translation become a hot point in modern computer development field.In this dissertation, the research background, the related concepts, and some means of binary translation are introduced first. Then a binary translation system, QEMU, which we developed our research on, are introduced, followed by deep research on several optimization techniques. This dissertation raises three techniques to improve the performance of binary translation system: direct jump optimization, register mapping optimization, and basic block overlapping optimization.The main contributions of this dissertation are:1. We research all existing binary translation systems, and pay special attention to the QEMU system. We research the translating mechanism of QEMU in detail, and use its user level system as our experience plant.2. Because there are too frequent status swaps and judgments after each basic block be implemented, we design and realize the jump control optimization. The basic point of this optimization is when the target basic block of a jump instrument has been translated and cached in the T-cache, the system will junction the first basic block and the one after it automatically, make it looks like one. So the system will directly implement both basic blocks without status swap and judgment between them.3. We test different mapping plan for the virtual register, and verified that under the translation mechanism of QEMU, the mapping plan already used is the best choice. But the translation mechanism is not the best design, we...
Keywords/Search Tags:Binary Translation, Optimization, Basic Block, Jump, Registar
PDF Full Text Request
Related items