• DocumentCode
    2224450
  • Title

    An Optimization Approach for QEMU

  • Author

    Hu, Yabin ; Jin, Hai ; Yu, Zhibin ; Zheng, Hongyang

  • Author_Institution
    Services Comput. Technol. & Syst. Lab., Huazhong Univ. of Sci. & Technol., Wuhan, China
  • fYear
    2009
  • fDate
    26-28 Dec. 2009
  • Firstpage
    129
  • Lastpage
    132
  • Abstract
    Binary translation system usually maps guest registers into host registers to accelerate the translation speed. QEMU can be treated as a typical binary translator and it uses a fixed register allocation. On most hosts, QEMU simply maps all the target registers to memory and only store a few temporary variables in host registers. However, QEMU does not consider the dependence of two or more adjacent instructions. So even a guest register´s value has been loaded into the temporary variables when executing the previous instruction, the next instruction could not use the value from the temporary variable directly, which is mapped into host register. The next instruction has to reload the value from memory again. This paper presents an approach to eliminate these unnecessary operations. Tests of benchmarks from nbench show that this approach can achieve 10%~20% speed improvement.
  • Keywords
    optimisation; program interpreters; QEMU; adjacent instructions; binary translation system; fixed register allocation; host registers; optimization approach; Acceleration; Benchmark testing; Computer science; Decoding; Grid computing; Information science; Microarchitecture; Reduced instruction set computing; Registers; Runtime;
  • fLanguage
    English
  • Publisher
    ieee
  • Conference_Titel
    Information Science and Engineering (ICISE), 2009 1st International Conference on
  • Conference_Location
    Nanjing
  • Print_ISBN
    978-1-4244-4909-5
  • Type

    conf

  • DOI
    10.1109/ICISE.2009.289
  • Filename
    5455191