Abstract
x86 ISA has implemented a very complex protection mechanism, and to fully emulate which means a great labor for system emulators. The paper provides a technic, named protection cache, that can accelerate x86 protection mechanism emulation, by caching and reusing recently accessed descriptors and recently generated protection checking results. Evaluation demonstrates that, when protection cache is enabled, emulation performance of x86 instructions or operations related to protection checking gets a speedup of 11%~24.5%, and performance of system call, page fault handling and I/O intensive applications that frequently using aforementioned instructions or operations are all steadily improved.
Access this chapter
Tax calculation will be finalised at checkout
Purchases are for personal use only
Preview
Unable to display preview. Download preview PDF.
References
Hu, W., Jian, W., Xiang, G., et al.: GODSON-3: A Scalable Multicore RISC Process with x86 Emulation. IEEE Micro 29(2), 17–29 (2009)
Cao, H.: Research on Micro-Processor Oriented Dynamic Binary Translation. Philosophy Doctor Thesis (2005)
Bungale, P.P., Luk, C.-K.: PinOS: A Programmable Framework for Whole-System Dynamic Instrumentation. In: Proceedings of the 3rd International Conference on Virtual Execution Environments, pp. 137–147. ACM, New York (2006)
Yin, H., Song, D.: TEMU - Binary Code Analysis via Whole-System Layered Annotative Execution. Technical report, UC Berkeley (2010)
Stephen, A.H.: Using Complete Machine Simulation to Understand Computer System Behavior. Technical report, Stanford University (1998)
Ebcioglu, K., Altman, E., Gschwind, M.: Dynamic binary translation and optimization. IEEE Transaction on Computer 50(6), 529–548 (2001)
Bellard, F.: QEMU: a Fast and Portable Dynamic Translator. In: Proceedings of the Annual Conference on USENIX Annual Technical Conference, pp. 41–46. USENIX Association, Berkeley (2005)
Manning, J., Kuoppala, M.: Threaded I/O Tester, http://sourceforge.net/projects/tiobench/
Author information
Authors and Affiliations
Corresponding author
Editor information
Editors and Affiliations
Rights and permissions
Copyright information
© 2012 Springer-Verlag GmbH Berlin Heidelberg
About this paper
Cite this paper
Dong, W., Jiang, L., Zeng, Y., Guo, Y. (2012). Accelerate x86 System Emulation with Protection Cache. In: Jin, D., Lin, S. (eds) Advances in Future Computer and Control Systems. Advances in Intelligent and Soft Computing, vol 159. Springer, Berlin, Heidelberg. https://doi.org/10.1007/978-3-642-29387-0_43
Download citation
DOI: https://doi.org/10.1007/978-3-642-29387-0_43
Publisher Name: Springer, Berlin, Heidelberg
Print ISBN: 978-3-642-29386-3
Online ISBN: 978-3-642-29387-0
eBook Packages: EngineeringEngineering (R0)