1 / 13

Background Optimization in Full System Binary Translation

Background Optimization in Full System Binary Translation Roman Sokolov Alexander Ermolovich MCST Intel

trygg
Download Presentation

Background Optimization in Full System Binary Translation

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Background Optimization in Full System Binary Translation Roman Sokolov Alexander Ermolovich MCST Intel Presentation for 5th Spring/Summer Young Researchers‘ Colloquium on Software Engineering (SYRCoSE), May 12-13, 2011

  2. Elbrus Binary Translation Technology for IA-32 Compatibility Full system binary translation Application-level binary translation IA-32 Applications Native Applications IA-32 Applications IA-32 BIOS, OS & Libraries App level BT Native BIOS, OS & Libraries Full System BT HW HW

  3. Adaptive binary translation (1/2)

  4. Adaptive binary translation (2/2) Profile of dynamic binary translation

  5. Dynamic optimization vs. Latency

  6. Background optimization Our Approach • Optimizing translation is separated in a different thread (optimization thread), that can run simultaneously with the main execution thread. • Hot regions are detected by the execution thread and are then scheduled to be optimized in background by the optimization thread. • Single-core • Optimization is interleaved with execution • Benefits • Improves application’s execution latency Dual(many)-core • Optimization is moved onto underutilized processor core • Benefits • Improves application’s execution latency • Removes overhead from the application’s execution • Enables the application of more aggressive optimizations.

  7. Single-core background optimization (1/3)

  8. Single-core background optimization (2/3) Latency improvement (CPU frequency = 300 MHz; thread time slice= 50000 cycles)

  9. Single-core background optimization (3/3) Performance degradation

  10. Dual-core background optimization (1/2)

  11. Dual-core background optimization (2/2) Performance improvement

  12. Future works Source architecture multiprocessor system emulation IA-32 Applications IA-32 Applications IA-32 BIOS, OS & Libraries IA-32 BIOS, OS & Libraries Full System BT Full System BT Core0: Exec Core1: Opt HW Full System BT Core0: Exec Core1: Opt

  13. Q&A

More Related