Title :
Block-Based In-Place Replacement Strategy for x86 Sensitive Instructions in Virtual Machine
Author :
Tan Yusong ; Zhang Weihua ; Wu Qingbo
Author_Institution :
Coll. of Comput., NUDT, Changsha, China
Abstract :
It is trendy that virtualization technology is adopted by server and desktop computers recently. Binary translation is an important method to implement full virtualization supporting any guest operating system without modification. Traditional methods use trap or interrupt to catch sensitive instruction´s execution. Its performance is influenced by trap´s context switch overhead. This article proposes a novel code scanning and replacing strategy, named as Block-based In-Place Replacement. BIPR tries to find a code block whose length is longer than 5 bytes and replaces the block with 5-bytes JMP instruction. The translated code block has same run-time mode as original code. As a result, BIPR´s cost is lower than traditional trap methods. Moreover, it gives an optimize strategy, i.e. Super Block-based In-Place Replacement, to reduce unnecessary translation overhead of BIPR and get better performances. Experiment results prove that SBIPR performs pretty.
Keywords :
operating systems (computers); virtual machines; binary translation; block-based inplace replacement strategy; code replacing strategy; code scanning; guest operating system; instruction execution; translated code block; virtual machine; virtualization technology; x86 sensitive instructions; Computer aided instruction; Concurrent computing; Costs; Distributed computing; Educational institutions; Isolation technology; Operating systems; Switches; Virtual machine monitors; Virtual machining; Binary Translation; Block-based In-Place Replacement; Hypervisor;
Conference_Titel :
Parallel and Distributed Processing with Applications, 2009 IEEE International Symposium on
Conference_Location :
Chengdu
Print_ISBN :
978-0-7695-3747-4
DOI :
10.1109/ISPA.2009.33