1 / 15

Virtual Machines

19. Virtual Machines. The Ideal Program Development Environment. Interactivity of a personal computer Power of a mainframe megabytes of memory high processing speed rich instruction set Access to full set of peripherals.

vail
Télécharger la présentation

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. 19 Virtual Machines

  2. The Ideal Program Development Environment • Interactivity of a personal computer • Power of a mainframe • megabytes of memory • high processing speed • rich instruction set • Access to full set of peripherals

  3. Fig. 19.1: A virtual machine implies multi-programming at the operating system level.

  4. Fig. 19.2: IBM operating systems.

  5. Fig. 19.3: The real computer is managed by a control program.

  6. Fig. 19.4: Additional control programs can run under CP.

  7. Fig. 19.5: The basic structure of a VM system.

  8. Fig. 19.6: CMS is an interactive, single-user operating system that controls a virtual machine under VM.

  9. The Control Program (CP) • Processor management • time slicing • Memory management • dynamic address translation • demand paging • Peripheral device management • real peripherals controlled by CP • virtual peripherals for each virtual machine

  10. Fig. 19.7: Visualize a page of data moving from an external device into real memory.

  11. Principles of Operation • System directory • Interrupts • real interrupt handled by CP • interrupt simulated for virtual OS • Privileged instructions • virtual OS runs in CP’s problem state • privileged instruction generates interrupt • CP handles interrupts

  12. Fig. 19.8: CP maintains a system directory that holds one entry for each virtual machine.

  13. Fig. 19.9: A user’s command class indicates the commands he or she is permitted to issue.

  14. Advantages • Supports program development environment • Increases levels of multiprogramming • Maintains compatibility with existing OS • Supports testing and parallel operation • Insulates operating environment from hardware

  15. Disadvantages • Time-dependent code is illegal • CCWs cannot be dynamically modified • Additional system overhead

More Related