Project Background                          Project Scope                  Project Achievements                  Virtual M...
Project Background                                  Project Scope                          Project AchievementsAgenda  1  ...
Project Background                          Project Scope                  Project Achievements         Project Background...
Project Background                                Project Scope                        Project AchievementsWhy study virtu...
Project Background                                Project Scope                        Project AchievementsProject Scope  ...
Project Background                          Project Scope                  Project Achievements       Project Achievements...
Project Background                                Project Scope                        Project AchievementsProject Achieve...
Project Background                                Project Scope                        Project AchievementsProject Achieve...
Project Background                                Project Scope                        Project AchievementsProject Achieve...
Project Background                                Project Scope                        Project AchievementsProject Achieve...
Project Background                                Project Scope                        Project AchievementsCategories of V...
Project Background                          Project Scope                  Project Achievements            Figure 1: A tax...
Project Background                                Project Scope                        Project AchievementsInstruction Emu...
Project Background                          Project Scope                  Project Achievements          Figure 2: Basic s...
Project Background                                Project Scope                        Project AchievementsMIPS Process Vi...
Project Background                          Project Scope                  Project Achievements                        Fig...
Project Background                                Project Scope                        Project AchievementsMIPS Instructio...
Project Background                          Project Scope                  Project Achievements                 Figure 4: ...
Project Background                                Project Scope                        Project AchievementsTable-Driven Ex...
Project Background                                  Project Scope                          Project AchievementsTable-Drive...
Project Background                                Project Scope                        Project AchievementsConclusion     ...
Project Background                          Project Scope                  Project Achievements                       Than...
Upcoming SlideShare
Loading in …5
×

A Toy Virtual Machine Project

696 views

Published on

Published in: Technology, Business
0 Comments
0 Likes
Statistics
Notes
  • Be the first to comment

  • Be the first to like this

No Downloads
Views
Total views
696
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
4
Comments
0
Likes
0
Embeds 0
No embeds

No notes for slide

A Toy Virtual Machine Project

  1. 1. Project Background Project Scope Project Achievements Virtual Machine Project Presented by Yan Dacong School of Software, SJTU September 25, 2008Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  2. 2. Project Background Project Scope Project AchievementsAgenda 1 Project Background 2 Project Scope 3 Project Achievements Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  3. 3. Project Background Project Scope Project Achievements Project BackgroundYan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  4. 4. Project Background Project Scope Project AchievementsWhy study virtual machines? Ubiquitous Applications Personal & Commercial Desktop & Workstation Challenging & Exciting Operating System Compatibility Computer Architecture Compatibility Promising future Trend: servers much stronger computation ability Make full use via VM Technology Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  5. 5. Project Background Project Scope Project AchievementsProject Scope What we are doing in this PRP: Get acquaintance with basic concepts of virtual machines Acquire familiarity with applications of virtual machines Master the basic techniques of virtual machine implementation Develop a process virtual machine for MIPS What we are NOT doing in this PRP: Implement a full-scale system virtual machine Develop a brand-new virtual machine model Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  6. 6. Project Background Project Scope Project Achievements Project AchievementsYan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  7. 7. Project Background Project Scope Project AchievementsProject Achievenments Categories of VM Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  8. 8. Project Background Project Scope Project AchievementsProject Achievenments Categories of VM Instruction Emulation Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  9. 9. Project Background Project Scope Project AchievementsProject Achievenments Categories of VM Instruction Emulation MIPS Process Virtual Machine Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  10. 10. Project Background Project Scope Project AchievementsProject Achievenments Categories of VM Instruction Emulation MIPS Process Virtual Machine Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  11. 11. Project Background Project Scope Project AchievementsCategories of VM System Virtual Machine (SVM) First developments: 1960s 1970s Complete system enrionments Run apps simultaneously on multiple platforms Typical Products: VirtualBox, VMWare Process Virtual Machine (PVM) Simpler model Rule out platform differences Run apps written in different ISAs Typical Products: JVM, SPIM Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  12. 12. Project Background Project Scope Project Achievements Figure 1: A taxonomy of Virtual MachinesYan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  13. 13. Project Background Project Scope Project AchievementsInstruction Emulation Interpretation Easy to implement Efficiency bottleneck Binary Translation Speed up, esp. for hotspot codes Slow startup Hybrid Approach Combine the previous two Select proper strategies at run-time Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  14. 14. Project Background Project Scope Project Achievements Figure 2: Basic steps of instruction emulationYan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  15. 15. Project Background Project Scope Project AchievementsMIPS Process Virtual Machine Programme Loader Predecoding Interpretation Table-Driven Execution Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  16. 16. Project Background Project Scope Project Achievements Figure 3: Process LayoutYan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  17. 17. Project Background Project Scope Project AchievementsMIPS Instruction Format I-Type(Immediate) J-Type(Jump) R-Type(Register) Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  18. 18. Project Background Project Scope Project Achievements Figure 4: MIPS Instruction FormatYan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  19. 19. Project Background Project Scope Project AchievementsTable-Driven Execution Switch-loop is suboptimal! Figure 5: Switch Loop Approach Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  20. 20. Project Background Project Scope Project AchievementsTable-Driven Execution(Cont.) Table-Driven Approach is Better! (a) Execution Function Table (b) Instruction Execution Figure 6: Table-Driven Execution Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  21. 21. Project Background Project Scope Project AchievementsConclusion VM is a promising field VM is worth studying VM would have an even wider application Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project
  22. 22. Project Background Project Scope Project Achievements Thank you!Yan Dacong, Zhang Xuchao, Duan Beichen Virtual Machine Project

×