1 / 13

Introduction to Virtual Machines

Introduction to Virtual Machines. Administration. Presentation and class participation: 40% Each student will present two and a half times this semester Full: two papers Half: One paper (first four weeks) Other student read one paper by random assignment Project: 60%

enya
Download Presentation

Introduction to Virtual Machines

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. Introduction to Virtual Machines

  2. Administration • Presentation and class participation: 40% • Each student will present two and a half times this semester • Full: two papers • Half: One paper (first four weeks) • Other student read one paper by random assignment • Project: 60% • A group project starts from week 4 • Two students each group • Choose your own project or discuss with me • Topic settled in week 4 • Each group submit a term paper and present in week 14

  3. Presentation Assignment • Choose one paper from week 2 to 3 • Choose one topic each from each part

  4. Definition • A virtual machine is an efficient, isolated duplicate of the real machine • Two categories • System virtual machine • Process virtual machine

  5. System Virtual Machine • Virtualizing hardware resources: CPU, I/O, memory, networking and GUI • The virtualizing software is called VMM (virtual machine monitor) or hypervisor Applications Applications Applications Guest OS Guest OS Guest OS VMM VMM Hardware Hardware

  6. Process Virtual Machine • A virtual platform that executes an individual process Application Process Virtualizing software OS Hardware

  7. Virtual Machine Taxonomy Process VMs System VMs Different ISA Different ISA Same ISA Same ISA Whole-System VMs Codesigned VMs Classic System VMs Host VMs Multiprogrammed Systems Same-ISA binary optimizers Dynamic translators High-level- language VMs

  8. Why Virtualization: history • In 1960s, VMM is to use multiplexing mainframe • Why is this important? • In 1980s and 1990s, VM study became cold • Multitasking OS • Drop in hardware cost • In 2000s, VM study resurgent • Security, resource utilization, reliability

  9. VMM Characteristics • Essentially identical • Any program running under VMM shows the same effect as running on the original machine • Efficient • No significant decrease in speed • Resource control • VMM has complete control of resources

  10. Implementation Issues • CPU • Memory • I/O

  11. CPU Virtualization • A CPU is virtualizable if • It supports direct execution • VMM retains ultimate control of the CPU • VM runs in unprivileged mode and VMM runs in privileged mode • X86 does not provide a good support • Solution • Paravirtulization • Full virtualization with binary translation

  12. Memory Virtualization • Page table • Shadow mechanism • Memory reallocation • Balloning • Hardware support

  13. I/O Virtualization • Challenge of variety of I/O devices • Use hosted VM • Hardware support • Channel like I/O devices

More Related