SlideShare a Scribd company logo
1 of 11
Question?
Does more than one instance of that operating system run on
the same hardware at the same time?

More than one different operating system can share the same
hardware at the same time?




11/25/2012     Unit I - Operating System Structures
The answer is Yes.

But How?

We can do it through Virtual Machines.




11/25/2012      Unit I - Operating System Structures
    A virtual machine provides an interface identical to the
     underlying bare hardware.
         I.e., all devices, interrupts, memory, page tables, etc.


    The Virtual Machine operating system creates the illusion of
     multiple processes, each executing on its own processor with
     its own (virtual) memory.


11/25/2012          Unit I - Operating System Structures
                                                                P .T. O
    The resources of the physical computer are shared to create
     the virtual machines.

       CPU scheduling can create the appearance that users have
             their own processor.

       A normal user time-sharing terminal serves as the virtual
             machine operator’s console.




11/25/2012              Unit I - Operating System Structures
Non-virtual Machine                          Virtual Machine



11/25/2012         Unit I - Operating System Structures
Virtual Machine Monitor
   A layer above the hardware provide interface to operating
   systems running on it is called the Virtual Machine Monitor
   (VMM).

   It provides virtual processors, memory, and virtualized I/O
   devices
   The OS which provides the virtual machine environment,
   is called the Host.

   The operating system and the applications running on it
   are called Guests.
11/25/2012        Unit I - Operating System Structures
    Compiled Java programs are platform independent.
    They produce byte codes, executed by a Java Virtual
     Machine (JVM).

    JVM consists of
     a)      Class loader : Loads .class files from both Java Program and API
     b)      Class verifier : It checks whether Java Byte code is Valid or not
     c)      Java interpreter : It executes the Java Byte code.

    Just-In-Time (JIT) compilers increases the performance
     1.      It is used to turn the Byte code into Native machine language.


11/25/2012               Unit I - Operating System Structures
11/25/2012   Unit I - Operating System Structures
    User goals – operating system should be convenient to use,
     easy to learn, reliable, safe, and fast.

    System goals – operating system should be easy to design,
     implement, and maintain, as well as flexible, reliable, error-
     free, and efficient.




11/25/2012         Unit I - Operating System Structures
   policies decide what will be done.
(i.e. read a string from a file)

    Mechanisms determine how to implement a policy.


    The separation of policy from mechanism is a very important
     principle, it allows maximum flexibility if policy decisions are
     to be changed later.




11/25/2012         Unit I - Operating System Structures
    Traditionally OS are written in assembly language.
    Now – a – days OS is written in higher-level languages.

    Code written in a high-level language:
      can be written faster.
      is more compact.
      is easier to understand and debug.

    An operating system is far easier to port (move to some
     other hardware) if it is written in a high-level language.


11/25/2012         Unit I - Operating System Structures

More Related Content

What's hot

Operating system structures
Operating system structuresOperating system structures
Operating system structures
Mohd Arif
 
Virtual Pc Seminar
Virtual Pc SeminarVirtual Pc Seminar
Virtual Pc Seminar
guest5b5549
 
Virtualization (Distributed computing)
Virtualization (Distributed computing)Virtualization (Distributed computing)
Virtualization (Distributed computing)
Sri Prasanna
 
Virtual Machine Performance
Virtual Machine PerformanceVirtual Machine Performance
Virtual Machine Performance
Qian Lin
 

What's hot (20)

Operating system structure
Operating system structureOperating system structure
Operating system structure
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
Operating system structures
Operating system structuresOperating system structures
Operating system structures
 
Microsoft Virtualization View
Microsoft Virtualization View Microsoft Virtualization View
Microsoft Virtualization View
 
Desktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld systemDesktop system,clustered system,Handheld system
Desktop system,clustered system,Handheld system
 
OS Structure
OS StructureOS Structure
OS Structure
 
Operating systems
Operating systemsOperating systems
Operating systems
 
Virtual Pc Seminar
Virtual Pc SeminarVirtual Pc Seminar
Virtual Pc Seminar
 
Virtualization (Distributed computing)
Virtualization (Distributed computing)Virtualization (Distributed computing)
Virtualization (Distributed computing)
 
L08 slides
L08 slidesL08 slides
L08 slides
 
Operating System
Operating SystemOperating System
Operating System
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Operating system architecture
Operating system architectureOperating system architecture
Operating system architecture
 
Desktop Virtualization and the Consumerization of IT
Desktop Virtualization and the Consumerization of ITDesktop Virtualization and the Consumerization of IT
Desktop Virtualization and the Consumerization of IT
 
Four Main Types of Virtualization
Four Main Types of VirtualizationFour Main Types of Virtualization
Four Main Types of Virtualization
 
Introduction to Virtualization
Introduction to VirtualizationIntroduction to Virtualization
Introduction to Virtualization
 
Lecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application SoftwaresLecture-3: Operating System & Application Softwares
Lecture-3: Operating System & Application Softwares
 
Virtual Machine Performance
Virtual Machine PerformanceVirtual Machine Performance
Virtual Machine Performance
 
Introduction to Information Technology- Operating system
Introduction to Information Technology- Operating systemIntroduction to Information Technology- Operating system
Introduction to Information Technology- Operating system
 
CS8791 Unit 2 Cloud Enabling Technologies
CS8791 Unit 2 Cloud Enabling TechnologiesCS8791 Unit 2 Cloud Enabling Technologies
CS8791 Unit 2 Cloud Enabling Technologies
 

Viewers also liked

Bowhuis Group Ppt Draft5
Bowhuis Group Ppt Draft5Bowhuis Group Ppt Draft5
Bowhuis Group Ppt Draft5
lisamulka
 
Windows Kernel Exploitation : This Time Font hunt you down in 4 bytes
Windows Kernel Exploitation : This Time Font hunt you down in 4 bytesWindows Kernel Exploitation : This Time Font hunt you down in 4 bytes
Windows Kernel Exploitation : This Time Font hunt you down in 4 bytes
Peter Hlavaty
 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
iimjobs and hirist
 

Viewers also liked (10)

Bowhuis Group Ppt Draft5
Bowhuis Group Ppt Draft5Bowhuis Group Ppt Draft5
Bowhuis Group Ppt Draft5
 
Operating system
Operating systemOperating system
Operating system
 
Types of o.s
Types of o.sTypes of o.s
Types of o.s
 
Operating system concepts
Operating system conceptsOperating system concepts
Operating system concepts
 
Types of Operating System
Types of Operating SystemTypes of Operating System
Types of Operating System
 
Internet protocols
Internet protocolsInternet protocols
Internet protocols
 
Bank Exam Computer Knowledge Questions
Bank Exam Computer Knowledge QuestionsBank Exam Computer Knowledge Questions
Bank Exam Computer Knowledge Questions
 
Windows Kernel Exploitation : This Time Font hunt you down in 4 bytes
Windows Kernel Exploitation : This Time Font hunt you down in 4 bytesWindows Kernel Exploitation : This Time Font hunt you down in 4 bytes
Windows Kernel Exploitation : This Time Font hunt you down in 4 bytes
 
Introduction to computer network
Introduction to computer networkIntroduction to computer network
Introduction to computer network
 
Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014Top 100 Linux Interview Questions and Answers 2014
Top 100 Linux Interview Questions and Answers 2014
 

Similar to Virtual machines

NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
MemMem25
 
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).pptVIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
nagarajans87
 
VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...
VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...
VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...
IJNSA Journal
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptx
ssuser5c874e
 
Mobile operating system..
Mobile operating system..Mobile operating system..
Mobile operating system..
Aashish Uppal
 

Similar to Virtual machines (20)

Operating system Definition Structures
Operating  system Definition  StructuresOperating  system Definition  Structures
Operating system Definition Structures
 
NE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.pptNE223_chapter 1_Overview of operating systems.ppt
NE223_chapter 1_Overview of operating systems.ppt
 
Virtualization 101
Virtualization 101Virtualization 101
Virtualization 101
 
Windows Architecture Explained by Stacksol
Windows Architecture Explained by StacksolWindows Architecture Explained by Stacksol
Windows Architecture Explained by Stacksol
 
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).pptVIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
VIRTUAL MACHINE VERSATILE PLATFORM01~chapter 1 (1).ppt
 
Handout2o
Handout2oHandout2o
Handout2o
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 
virtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdfvirtual-machine-150316004018-conversion-gate01.pdf
virtual-machine-150316004018-conversion-gate01.pdf
 
Introduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptxIntroduction to Mobile Operating System.pptx
Introduction to Mobile Operating System.pptx
 
Window architecture
Window architecture Window architecture
Window architecture
 
operating system lecture notes
operating system lecture notesoperating system lecture notes
operating system lecture notes
 
VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...
VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...
VIRTUAL MACHINES AND NETWORKS – INSTALLATION, PERFORMANCE, STUDY, ADVANTAGES ...
 
lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)lecture 1 (Introduction to Operating System.)
lecture 1 (Introduction to Operating System.)
 
week-1-200310134908.pptx
week-1-200310134908.pptxweek-1-200310134908.pptx
week-1-200310134908.pptx
 
L2
L2L2
L2
 
Mobile operating system..
Mobile operating system..Mobile operating system..
Mobile operating system..
 
Operating systems Overview
Operating systems OverviewOperating systems Overview
Operating systems Overview
 
L1
L1L1
L1
 
Operating system
Operating systemOperating system
Operating system
 
Chapter 1- Introduction.ppt
Chapter 1- Introduction.pptChapter 1- Introduction.ppt
Chapter 1- Introduction.ppt
 

Recently uploaded

Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
heathfieldcps1
 

Recently uploaded (20)

Single or Multiple melodic lines structure
Single or Multiple melodic lines structureSingle or Multiple melodic lines structure
Single or Multiple melodic lines structure
 
Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)Jamworks pilot and AI at Jisc (20/03/2024)
Jamworks pilot and AI at Jisc (20/03/2024)
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Graduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - EnglishGraduate Outcomes Presentation Slides - English
Graduate Outcomes Presentation Slides - English
 
Python Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docxPython Notes for mca i year students osmania university.docx
Python Notes for mca i year students osmania university.docx
 
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
Beyond_Borders_Understanding_Anime_and_Manga_Fandom_A_Comprehensive_Audience_...
 
ICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptxICT Role in 21st Century Education & its Challenges.pptx
ICT Role in 21st Century Education & its Challenges.pptx
 
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptxBasic Civil Engineering first year Notes- Chapter 4 Building.pptx
Basic Civil Engineering first year Notes- Chapter 4 Building.pptx
 
How to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptxHow to setup Pycharm environment for Odoo 17.pptx
How to setup Pycharm environment for Odoo 17.pptx
 
Towards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptxTowards a code of practice for AI in AT.pptx
Towards a code of practice for AI in AT.pptx
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdfUGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
UGC NET Paper 1 Mathematical Reasoning & Aptitude.pdf
 
Wellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptxWellbeing inclusion and digital dystopias.pptx
Wellbeing inclusion and digital dystopias.pptx
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...Kodo Millet  PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
Kodo Millet PPT made by Ghanshyam bairwa college of Agriculture kumher bhara...
 
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptxSKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
SKILL OF INTRODUCING THE LESSON MICRO SKILLS.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
General Principles of Intellectual Property: Concepts of Intellectual Proper...
General Principles of Intellectual Property: Concepts of Intellectual  Proper...General Principles of Intellectual Property: Concepts of Intellectual  Proper...
General Principles of Intellectual Property: Concepts of Intellectual Proper...
 
The basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptxThe basics of sentences session 3pptx.pptx
The basics of sentences session 3pptx.pptx
 

Virtual machines

  • 1. Question? Does more than one instance of that operating system run on the same hardware at the same time? More than one different operating system can share the same hardware at the same time? 11/25/2012 Unit I - Operating System Structures
  • 2. The answer is Yes. But How? We can do it through Virtual Machines. 11/25/2012 Unit I - Operating System Structures
  • 3. A virtual machine provides an interface identical to the underlying bare hardware. I.e., all devices, interrupts, memory, page tables, etc.  The Virtual Machine operating system creates the illusion of multiple processes, each executing on its own processor with its own (virtual) memory. 11/25/2012 Unit I - Operating System Structures P .T. O
  • 4. The resources of the physical computer are shared to create the virtual machines.  CPU scheduling can create the appearance that users have their own processor.  A normal user time-sharing terminal serves as the virtual machine operator’s console. 11/25/2012 Unit I - Operating System Structures
  • 5. Non-virtual Machine Virtual Machine 11/25/2012 Unit I - Operating System Structures
  • 6. Virtual Machine Monitor A layer above the hardware provide interface to operating systems running on it is called the Virtual Machine Monitor (VMM). It provides virtual processors, memory, and virtualized I/O devices The OS which provides the virtual machine environment, is called the Host. The operating system and the applications running on it are called Guests. 11/25/2012 Unit I - Operating System Structures
  • 7. Compiled Java programs are platform independent.  They produce byte codes, executed by a Java Virtual Machine (JVM).  JVM consists of a) Class loader : Loads .class files from both Java Program and API b) Class verifier : It checks whether Java Byte code is Valid or not c) Java interpreter : It executes the Java Byte code.  Just-In-Time (JIT) compilers increases the performance 1. It is used to turn the Byte code into Native machine language. 11/25/2012 Unit I - Operating System Structures
  • 8. 11/25/2012 Unit I - Operating System Structures
  • 9. User goals – operating system should be convenient to use, easy to learn, reliable, safe, and fast.  System goals – operating system should be easy to design, implement, and maintain, as well as flexible, reliable, error- free, and efficient. 11/25/2012 Unit I - Operating System Structures
  • 10. policies decide what will be done. (i.e. read a string from a file)  Mechanisms determine how to implement a policy.  The separation of policy from mechanism is a very important principle, it allows maximum flexibility if policy decisions are to be changed later. 11/25/2012 Unit I - Operating System Structures
  • 11. Traditionally OS are written in assembly language.  Now – a – days OS is written in higher-level languages.  Code written in a high-level language:  can be written faster.  is more compact.  is easier to understand and debug.  An operating system is far easier to port (move to some other hardware) if it is written in a high-level language. 11/25/2012 Unit I - Operating System Structures

Editor's Notes

  1. Virtual machine
  2. spooling refers to the process of putting instructions or something that needs to be done into memory or on storage until the program or computer is ready to execute those instructions.
  3. API: Application program interface.