SlideShare ist ein Scribd-Unternehmen logo
1 von 24
CLOUD COMPUTING AND
VIRTUALIZATION TECHNIQUES


               By
        Vikash Kushwaha
          2010UIT146
          MNIT Jaipur
CONTENTS
• Cloud Computing
  • Need And Features
• Virtualization
  • what is it
  • benefits
  • VM Implementation Techniques
• XEN Internals
  •   XEN Domains
  •   CPU Sharing
  •   Memory Sharing
  •   IO Sharing
CLOUD COMPUTING
•   Cloud computing really is accessing resources and services
    needed to perform functions with dynamically changing needs.
    ... The cloud is a virtualization of resources that maintains and
    manages itself
•   Scale your infrastructure on demand within minutes or even
    seconds, instead of days or weeks, thereby avoiding
    underutilization (idle servers) and overutilization.
•   A broad array of webbased services aimed at allowing users
    to obtain a wide range of functional capabilities on a 'pay as
    you go' basis.
     –   On-demand service
     –   Networked Shared Resources
     –   Flexible Provisioning
     –   Fine-grained metering
RESOURCE PROVISIONING –
COMPANY'S/CUSTOMER'S VIEW
  Resource Wastage
                              Unserved Requests




                     Loss of Customers
RESOURCE PROVISIONING –
       DATACENTER/CLOUD PROVIDER'S
                  VIEW
2000                      2050




   0                         0
        Company - BLUE                   Company - RED
3000
                                 â—Ź   Charge for 4050 machines,
                                     Work with 3000
                                 â—Ź   Good Business
                                 â—Ź   Computing as a service or
                                     utility.
   0
         Cloud Provider
WHAT IS REQUIRED

By Cloud Provider
●   Fast scalability – Quick addition and removal
    of servers.
â—Ź   Service to customers should not be denied.
â—Ź   SLA should not be Violated.
â—Ź   Efficient Resource Utilization.
WHAT IS VIRTUALIZATION
“Virtualization, in computing, is the creation of
  a virtual (rather than actual) version of
  something, such as a hardware platform,
  operating system, a storage device or
  network resources”
    Concept is not new.
●   Multi Programming – Each Process thinks it has
    complete control on all of the resources.
    –   Virtual Memory
    –   CPU Sharing
SIMILARITIES AND DIFFERENCES WITH
           MULTIPROGRAMMING

â—Ź   Multi Programming            â—Ź   Virtualization
    –   CPU is shared among          –   CPU is shared among
        processes                        OSs.
    –   Memory is shared using       –   Memory is shared using
        Page Tables.                     more level of
                                         indirections. Multiple
    –   Process knows it is
                                         Page tables.
        being managed- uses
        system calls.                –   OS may or may not
                                         know that it is being
                                         managed.
VIRTUALIZATION
                     ARCHITECTURE
â—Ź   OS assumes complete control of the underlying hardware.
â—Ź   Virtualization architecture provides this illusion through a
    hypervisor/VMM.
â—Ź   Hypervisor/VMM is a software layer which:
     –   Allows multiple Guest OS (Virtual Machines) to run simultaneously
         on a single physical host
     –   Provides hardware abstraction to the running Guest OSs and
         efficiently multiplexes underlying hardware resources.
PHYSICAL VS. VIRTUAL MACHINE




â—Ź   Single OS                    â—Ź   Machine view to OS is
                                     independent of hardware
â—Ź   h/w + s/w tightly coupled
                                 â—Ź   Multiple OS (isolated apps)
â—Ź   Application crashes affect
    all                          â—Ź   Safely multiplex resources
                                     across VMs
â—Ź   Resource under-utilization
IMPORTANCE OF VIRTUALIZATION IN
       CLOUD COMPUTING

â—Ź   Cloud can exist without Virtualization, although it
    will be difficult and inefficient.
●   Cloud makes notion of “Pay for what you use” ,
    “infinite availability- use as much you want”.
â—Ź   These notions are practical only if we have
    –   lot of flexibility
    –   efficiency in the back-end.      IO Ring
REQUIREMENT FOR
              VIRTUALIZABILITY
Popek and Goldberg mentioned a set of
requirements
â—Ź They divided instructions into three

categories:
â—Ź   Privileged instructions: execute in a privileged
    mode, but will trap otherwise.
â—Ź   Control sensitive instructions: attempt to change
    the config of resources.
â—Ź   Behavior sensitive instructions: are those that
    behave in a different way depending on the config of
    resources.
REQUIREMENT FOR
             VIRTUALIZABILITY

â—Ź   They said that all sensitive instructions must
    also be privileged instructions.
â—Ź   Hypervisor must be able to intercept any
    instructions that changes the state of the
    machine in a way that impacts other
    processes.
VM IMPLEMENTATION
             TECHNIQUES
1. Binary Translation


2. Paravirtualization


3. Hardware Supported Virtualization
BINARY TRANSLATION

â—Ź   Binary image of OS is manipulated at the runtime.
â—Ź   Privileged instructions are rewritten to point to
    their emulated versions.
â—Ź   Performance from this approach is not ideal,
    particularly when doing anything I/O intensive.
â—Ź   Caching of the locations of unsafe instructions
    can speed Up.
â—Ź   Used in VMWare.
PARAVIRTUALIZATION

â—Ź   Make OS aware of underlying Virtualization env.
â—Ź   OS's code is manipulated.
â—Ź   Important system calls are changed to point to the
    implementation provided by the VMM.
HW SUPPORTED VIRTUALIZATION

• OS stays in its original privilege level 0.
• Attempts to access the hardware directly are
  caught and passed to VMM.
• In other words a new privilege ring is setup
  for the VMM.
• Added new instructions which makes
  Virtualization considerably easier for x86.
  • Intel – IVT(Intel Virtualization Technology)
  • AMD – introduced AMD-V
XEN DOMAINS

• Xen runs guests in environments known as domains which encapsulate a
  complete running virtual environment
• There are two types pf Domains:
  • DomU    –
     • the “U” stands for unprivileged.
     • Guest OSs run in this domain.
  • Dom0
     • has elevated privileges
     • Provides device drivers
     • Provides tools/mechanisms to configure Virtualization environment

         Privileged Domain                            UnPrivileged Domains
             Dom0                                      DomU         DomU

                                            XEN

                                          Hardware
CPU SHARING

 • VMM or Hypervisor provides a virtual view of CPU to VMs.
 • In multi processing, CPU is alloted to the different processes in
   form of time slices by the OS.
 • Similarly VMM or Hypervisor allots CPU to different VMs.


 App1     App2            App1    App2     App3     App1          App2

VM1 OS                            VM2 OS           VM3 OS

         VM1                      VM2                       VM3


                             VMM
                           CPU Time
MEMORY SHARING

• In Multiprogramming there is a single level of indirection mainatained by
  Kernel.
• In case of Virtual Machines there is one more level of indirection
  maintained by VMM
                                              Applications use Virtual Addresses

                              Page Table

                                              Kernel translates Virtual Addresses to
                                              PseudoPhysical Addresses

                              Page Table

                                             Hypervisor translates PseudoPhysical
                                             Addresses to Machine addresses
XEN IO SPLIT DEVICE DRIVER
IO RING




          Back
FUTURE ASPECTS
• Currently SalesForce CRM has 97,700 customers across
  the global.
  As per survey across the global 41,546 companies are
  willing to move to SalesForce CRM by end of 2013.

• “World should follow India & Japan in cloud
  computing”
               Vivek Kundra, Chief information officer, US
THANK
 YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Virtualization & cloud computing
Virtualization & cloud computingVirtualization & cloud computing
Virtualization & cloud computingSoumyajit Basu
 
Hardware virtualization basic
Hardware virtualization basicHardware virtualization basic
Hardware virtualization basicSanoj Kumar
 
Types of Virtualization Solutions
Types of Virtualization SolutionsTypes of Virtualization Solutions
Types of Virtualization Solutions Array Networks
 
Virtualization
VirtualizationVirtualization
VirtualizationKamal Chauhan
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computingMohammad Ilyas Malik
 
Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)Sarbjeet Singh
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualizationAhmad Hafeezi
 
What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...Shashi soni
 
Implementation levels of virtualization
Implementation levels of virtualizationImplementation levels of virtualization
Implementation levels of virtualizationGokulnath S
 
NCCE 2011 - Virtualization 101: The Fundamentals of Virtualization
NCCE 2011 - Virtualization 101: The Fundamentals of VirtualizationNCCE 2011 - Virtualization 101: The Fundamentals of Virtualization
NCCE 2011 - Virtualization 101: The Fundamentals of Virtualizationncceconnect
 
Virtualization
VirtualizationVirtualization
VirtualizationSayed Ahmed
 
Virtulization submission
Virtulization submissionVirtulization submission
Virtulization submissionRadhika Kalavadiya
 
Virtualization and its Types
Virtualization and its TypesVirtualization and its Types
Virtualization and its TypesHTS Hosting
 
Virtualization 101
Virtualization 101Virtualization 101
Virtualization 101Gaurav Marwaha
 
Cloud virtualization
Cloud virtualizationCloud virtualization
Cloud virtualizationSarwan Singh
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is VirtualizationIsrael Marcus
 
Virtualization 2.0: The Next Generation of Virtualization
Virtualization 2.0: The Next Generation of VirtualizationVirtualization 2.0: The Next Generation of Virtualization
Virtualization 2.0: The Next Generation of VirtualizationEMC
 

Was ist angesagt? (20)

Virtualization & cloud computing
Virtualization & cloud computingVirtualization & cloud computing
Virtualization & cloud computing
 
Cloud Computing: Virtualization
Cloud Computing: VirtualizationCloud Computing: Virtualization
Cloud Computing: Virtualization
 
Hardware virtualization basic
Hardware virtualization basicHardware virtualization basic
Hardware virtualization basic
 
Sna lab prj (1)
Sna lab prj (1)Sna lab prj (1)
Sna lab prj (1)
 
Types of Virtualization Solutions
Types of Virtualization SolutionsTypes of Virtualization Solutions
Types of Virtualization Solutions
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtualization in cloud computing
Virtualization in cloud computingVirtualization in cloud computing
Virtualization in cloud computing
 
Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)
 
Introduction to virtualization
Introduction to virtualizationIntroduction to virtualization
Introduction to virtualization
 
What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...What is Virtualization and its types & Techniques.What is hypervisor and its ...
What is Virtualization and its types & Techniques.What is hypervisor and its ...
 
Implementation levels of virtualization
Implementation levels of virtualizationImplementation levels of virtualization
Implementation levels of virtualization
 
NCCE 2011 - Virtualization 101: The Fundamentals of Virtualization
NCCE 2011 - Virtualization 101: The Fundamentals of VirtualizationNCCE 2011 - Virtualization 101: The Fundamentals of Virtualization
NCCE 2011 - Virtualization 101: The Fundamentals of Virtualization
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Virtulization submission
Virtulization submissionVirtulization submission
Virtulization submission
 
Virtualization and its Types
Virtualization and its TypesVirtualization and its Types
Virtualization and its Types
 
Virtualization 101
Virtualization 101Virtualization 101
Virtualization 101
 
Cloud virtualization
Cloud virtualizationCloud virtualization
Cloud virtualization
 
What is Virtualization
What is VirtualizationWhat is Virtualization
What is Virtualization
 
Virtualization 2.0: The Next Generation of Virtualization
Virtualization 2.0: The Next Generation of VirtualizationVirtualization 2.0: The Next Generation of Virtualization
Virtualization 2.0: The Next Generation of Virtualization
 
Virtual machine
Virtual machineVirtual machine
Virtual machine
 

Andere mochten auch

Cloudcomputingppt 130213022333-phpapp02
Cloudcomputingppt 130213022333-phpapp02Cloudcomputingppt 130213022333-phpapp02
Cloudcomputingppt 130213022333-phpapp02Rohit Sharma
 
Cloud Computing - A Short Introduction
Cloud Computing - A Short IntroductionCloud Computing - A Short Introduction
Cloud Computing - A Short IntroductionJoe Drumgoole
 
An introduction to Cloud computing
An introduction to Cloud computing  An introduction to Cloud computing
An introduction to Cloud computing ashwin m
 
Containers virtaulization and docker
Containers virtaulization and dockerContainers virtaulization and docker
Containers virtaulization and dockerLuqman Shareef
 
Basics of Cloud Computing
Basics of Cloud ComputingBasics of Cloud Computing
Basics of Cloud ComputingPranav Vashistha
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing PresentationVivek Ravindran
 
Cloud computing
Cloud computingCloud computing
Cloud computingNishant Patel
 
Cloud computing presentation
Cloud computing presentationCloud computing presentation
Cloud computing presentationPriyanka Sharma
 
Cloud computing
Cloud computingCloud computing
Cloud computingradhika jain
 
Cloud Computing Training Presentation
Cloud Computing Training Presentation Cloud Computing Training Presentation
Cloud Computing Training Presentation Faraz Akhtar
 
Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)Sonu Mamman
 
Cloud Deployment Report
Cloud Deployment ReportCloud Deployment Report
Cloud Deployment ReportTushar Choudhary
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud ComputingSuman Jha
 
Cloud Computing Ppt
Cloud Computing PptCloud Computing Ppt
Cloud Computing PptAnjoum .
 

Andere mochten auch (20)

Cloudcomputingppt 130213022333-phpapp02
Cloudcomputingppt 130213022333-phpapp02Cloudcomputingppt 130213022333-phpapp02
Cloudcomputingppt 130213022333-phpapp02
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Cloud Computing - A Short Introduction
Cloud Computing - A Short IntroductionCloud Computing - A Short Introduction
Cloud Computing - A Short Introduction
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
An introduction to Cloud computing
An introduction to Cloud computing  An introduction to Cloud computing
An introduction to Cloud computing
 
Cloud computing Basics
Cloud computing BasicsCloud computing Basics
Cloud computing Basics
 
Containers virtaulization and docker
Containers virtaulization and dockerContainers virtaulization and docker
Containers virtaulization and docker
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Cloud Deployment
Cloud DeploymentCloud Deployment
Cloud Deployment
 
Basics of Cloud Computing
Basics of Cloud ComputingBasics of Cloud Computing
Basics of Cloud Computing
 
Cloud Computing Presentation
Cloud Computing PresentationCloud Computing Presentation
Cloud Computing Presentation
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud computing presentation
Cloud computing presentationCloud computing presentation
Cloud computing presentation
 
Group discussion
Group discussionGroup discussion
Group discussion
 
Cloud computing
Cloud computingCloud computing
Cloud computing
 
Cloud Computing Training Presentation
Cloud Computing Training Presentation Cloud Computing Training Presentation
Cloud Computing Training Presentation
 
Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)Cloud computing using virtualization (Virtual Data Center)
Cloud computing using virtualization (Virtual Data Center)
 
Cloud Deployment Report
Cloud Deployment ReportCloud Deployment Report
Cloud Deployment Report
 
Cloud Computing
Cloud ComputingCloud Computing
Cloud Computing
 
Cloud Computing Ppt
Cloud Computing PptCloud Computing Ppt
Cloud Computing Ppt
 

Ă„hnlich wie Cloud Computing

Cloud Computing using virtulization
Cloud Computing using virtulizationCloud Computing using virtulization
Cloud Computing using virtulizationAJIT NEGI
 
Cloud Computing Virtualization and containers
Cloud Computing Virtualization and containersCloud Computing Virtualization and containers
Cloud Computing Virtualization and containersSelvaraj Kesavan
 
Virtualization unit 3.pptx
Virtualization unit 3.pptxVirtualization unit 3.pptx
Virtualization unit 3.pptxBinod Rimal
 
Lecture1(VM).pptx
Lecture1(VM).pptxLecture1(VM).pptx
Lecture1(VM).pptxRiyaBatool
 
Virtualization and its importance and implementation levels
Virtualization and its importance and implementation levelsVirtualization and its importance and implementation levels
Virtualization and its importance and implementation levelsMianMubeen3
 
Virtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of CloudVirtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of CloudNishant Munjal
 
Introductin to virtualization i
Introductin to virtualization   iIntroductin to virtualization   i
Introductin to virtualization iParth Patel
 
Intro to virtualization
Intro to virtualizationIntro to virtualization
Intro to virtualizationKalpna Saharan
 
Overview of System Virtualization
Overview of System VirtualizationOverview of System Virtualization
Overview of System VirtualizationAndre Odendaal
 
lecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptxlecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptxAnilkumarbehera16
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxXanGwaps
 
Cloud computing by prabhunath sharma
Cloud computing by prabhunath sharmaCloud computing by prabhunath sharma
Cloud computing by prabhunath sharmaPrabhunath Sharma
 
Virtualization and cloud Computing
Virtualization and cloud ComputingVirtualization and cloud Computing
Virtualization and cloud ComputingRishikese MR
 
virtual machine.ppt
virtual machine.pptvirtual machine.ppt
virtual machine.pptSushantShinde74
 
virtualization in cloud technology
virtualization in cloud technologyvirtualization in cloud technology
virtualization in cloud technologyPavani Prathyusha
 
Sneak peak of Cloud Computing
Sneak peak of Cloud ComputingSneak peak of Cloud Computing
Sneak peak of Cloud ComputingJamie Shoup
 
Virtualisation at Ringo
Virtualisation at RingoVirtualisation at Ringo
Virtualisation at RingoJeremy Brown
 
Virtualization- Cloud Computing
Virtualization- Cloud ComputingVirtualization- Cloud Computing
Virtualization- Cloud ComputingNIKHILKUMAR SHARDOOR
 
Chap 2 virtulizatin
Chap 2 virtulizatinChap 2 virtulizatin
Chap 2 virtulizatinRaj Sarode
 

Ă„hnlich wie Cloud Computing (20)

Cloud Computing using virtulization
Cloud Computing using virtulizationCloud Computing using virtulization
Cloud Computing using virtulization
 
Cloud Computing Virtualization and containers
Cloud Computing Virtualization and containersCloud Computing Virtualization and containers
Cloud Computing Virtualization and containers
 
Virtualization unit 3.pptx
Virtualization unit 3.pptxVirtualization unit 3.pptx
Virtualization unit 3.pptx
 
Lecture1(VM).pptx
Lecture1(VM).pptxLecture1(VM).pptx
Lecture1(VM).pptx
 
Virtualization and its importance and implementation levels
Virtualization and its importance and implementation levelsVirtualization and its importance and implementation levels
Virtualization and its importance and implementation levels
 
Virtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of CloudVirtualization, A Concept Implementation of Cloud
Virtualization, A Concept Implementation of Cloud
 
Introductin to virtualization i
Introductin to virtualization   iIntroductin to virtualization   i
Introductin to virtualization i
 
Intro to virtualization
Intro to virtualizationIntro to virtualization
Intro to virtualization
 
Virtualization
VirtualizationVirtualization
Virtualization
 
Overview of System Virtualization
Overview of System VirtualizationOverview of System Virtualization
Overview of System Virtualization
 
lecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptxlecture5-virtualization-190301171613.pptx
lecture5-virtualization-190301171613.pptx
 
virtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptxvirtualization-220403085202_Chapter1.pptx
virtualization-220403085202_Chapter1.pptx
 
Cloud computing by prabhunath sharma
Cloud computing by prabhunath sharmaCloud computing by prabhunath sharma
Cloud computing by prabhunath sharma
 
Virtualization and cloud Computing
Virtualization and cloud ComputingVirtualization and cloud Computing
Virtualization and cloud Computing
 
virtual machine.ppt
virtual machine.pptvirtual machine.ppt
virtual machine.ppt
 
virtualization in cloud technology
virtualization in cloud technologyvirtualization in cloud technology
virtualization in cloud technology
 
Sneak peak of Cloud Computing
Sneak peak of Cloud ComputingSneak peak of Cloud Computing
Sneak peak of Cloud Computing
 
Virtualisation at Ringo
Virtualisation at RingoVirtualisation at Ringo
Virtualisation at Ringo
 
Virtualization- Cloud Computing
Virtualization- Cloud ComputingVirtualization- Cloud Computing
Virtualization- Cloud Computing
 
Chap 2 virtulizatin
Chap 2 virtulizatinChap 2 virtulizatin
Chap 2 virtulizatin
 

KĂĽrzlich hochgeladen

Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxlancelewisportillo
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parentsnavabharathschool99
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for BeginnersSabitha Banu
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfVanessa Camilleri
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17Celine George
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Mark Reed
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxAshokKarra1
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management SystemChristalin Nelson
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)lakshayb543
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...Postal Advocate Inc.
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Celine George
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Seán Kennedy
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxiammrhaywood
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)cama23
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...JojoEDelaCruz
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxVanesaIglesias10
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Celine George
 

KĂĽrzlich hochgeladen (20)

Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptxQ4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
Q4-PPT-Music9_Lesson-1-Romantic-Opera.pptx
 
Choosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for ParentsChoosing the Right CBSE School A Comprehensive Guide for Parents
Choosing the Right CBSE School A Comprehensive Guide for Parents
 
Full Stack Web Development Course for Beginners
Full Stack Web Development Course  for BeginnersFull Stack Web Development Course  for Beginners
Full Stack Web Development Course for Beginners
 
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptxLEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
LEFT_ON_C'N_ PRELIMS_EL_DORADO_2024.pptx
 
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptxYOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
YOUVE_GOT_EMAIL_PRELIMS_EL_DORADO_2024.pptx
 
ICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdfICS2208 Lecture6 Notes for SL spaces.pdf
ICS2208 Lecture6 Notes for SL spaces.pdf
 
How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17How to Add Barcode on PDF Report in Odoo 17
How to Add Barcode on PDF Report in Odoo 17
 
Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)Influencing policy (training slides from Fast Track Impact)
Influencing policy (training slides from Fast Track Impact)
 
Karra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptxKarra SKD Conference Presentation Revised.pptx
Karra SKD Conference Presentation Revised.pptx
 
Transaction Management in Database Management System
Transaction Management in Database Management SystemTransaction Management in Database Management System
Transaction Management in Database Management System
 
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptxFINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
FINALS_OF_LEFT_ON_C'N_EL_DORADO_2024.pptx
 
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
Visit to a blind student's school🧑‍🦯🧑‍🦯(community medicine)
 
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
USPS® Forced Meter Migration - How to Know if Your Postage Meter Will Soon be...
 
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 3 STEPS Using Odoo 17
 
Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...Student Profile Sample - We help schools to connect the data they have, with ...
Student Profile Sample - We help schools to connect the data they have, with ...
 
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptxECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
ECONOMIC CONTEXT - PAPER 1 Q3: NEWSPAPERS.pptx
 
Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)Global Lehigh Strategic Initiatives (without descriptions)
Global Lehigh Strategic Initiatives (without descriptions)
 
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
ENG 5 Q4 WEEk 1 DAY 1 Restate sentences heard in one’s own words. Use appropr...
 
ROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptxROLES IN A STAGE PRODUCTION in arts.pptx
ROLES IN A STAGE PRODUCTION in arts.pptx
 
Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17Difference Between Search & Browse Methods in Odoo 17
Difference Between Search & Browse Methods in Odoo 17
 

Cloud Computing

  • 1. CLOUD COMPUTING AND VIRTUALIZATION TECHNIQUES By Vikash Kushwaha 2010UIT146 MNIT Jaipur
  • 2. CONTENTS • Cloud Computing • Need And Features • Virtualization • what is it • benefits • VM Implementation Techniques • XEN Internals • XEN Domains • CPU Sharing • Memory Sharing • IO Sharing
  • 3. CLOUD COMPUTING • Cloud computing really is accessing resources and services needed to perform functions with dynamically changing needs. ... The cloud is a virtualization of resources that maintains and manages itself • Scale your infrastructure on demand within minutes or even seconds, instead of days or weeks, thereby avoiding underutilization (idle servers) and overutilization. • A broad array of webbased services aimed at allowing users to obtain a wide range of functional capabilities on a 'pay as you go' basis. – On-demand service – Networked Shared Resources – Flexible Provisioning – Fine-grained metering
  • 4. RESOURCE PROVISIONING – COMPANY'S/CUSTOMER'S VIEW Resource Wastage Unserved Requests Loss of Customers
  • 5. RESOURCE PROVISIONING – DATACENTER/CLOUD PROVIDER'S VIEW 2000 2050 0 0 Company - BLUE Company - RED 3000 â—Ź Charge for 4050 machines, Work with 3000 â—Ź Good Business â—Ź Computing as a service or utility. 0 Cloud Provider
  • 6. WHAT IS REQUIRED By Cloud Provider â—Ź Fast scalability – Quick addition and removal of servers. â—Ź Service to customers should not be denied. â—Ź SLA should not be Violated. â—Ź Efficient Resource Utilization.
  • 7. WHAT IS VIRTUALIZATION “Virtualization, in computing, is the creation of a virtual (rather than actual) version of something, such as a hardware platform, operating system, a storage device or network resources” Concept is not new. â—Ź Multi Programming – Each Process thinks it has complete control on all of the resources. – Virtual Memory – CPU Sharing
  • 8. SIMILARITIES AND DIFFERENCES WITH MULTIPROGRAMMING â—Ź Multi Programming â—Ź Virtualization – CPU is shared among – CPU is shared among processes OSs. – Memory is shared using – Memory is shared using Page Tables. more level of indirections. Multiple – Process knows it is Page tables. being managed- uses system calls. – OS may or may not know that it is being managed.
  • 9. VIRTUALIZATION ARCHITECTURE â—Ź OS assumes complete control of the underlying hardware. â—Ź Virtualization architecture provides this illusion through a hypervisor/VMM. â—Ź Hypervisor/VMM is a software layer which: – Allows multiple Guest OS (Virtual Machines) to run simultaneously on a single physical host – Provides hardware abstraction to the running Guest OSs and efficiently multiplexes underlying hardware resources.
  • 10. PHYSICAL VS. VIRTUAL MACHINE â—Ź Single OS â—Ź Machine view to OS is independent of hardware â—Ź h/w + s/w tightly coupled â—Ź Multiple OS (isolated apps) â—Ź Application crashes affect all â—Ź Safely multiplex resources across VMs â—Ź Resource under-utilization
  • 11. IMPORTANCE OF VIRTUALIZATION IN CLOUD COMPUTING â—Ź Cloud can exist without Virtualization, although it will be difficult and inefficient. â—Ź Cloud makes notion of “Pay for what you use” , “infinite availability- use as much you want”. â—Ź These notions are practical only if we have – lot of flexibility – efficiency in the back-end. IO Ring
  • 12. REQUIREMENT FOR VIRTUALIZABILITY Popek and Goldberg mentioned a set of requirements â—Ź They divided instructions into three categories: â—Ź Privileged instructions: execute in a privileged mode, but will trap otherwise. â—Ź Control sensitive instructions: attempt to change the config of resources. â—Ź Behavior sensitive instructions: are those that behave in a different way depending on the config of resources.
  • 13. REQUIREMENT FOR VIRTUALIZABILITY â—Ź They said that all sensitive instructions must also be privileged instructions. â—Ź Hypervisor must be able to intercept any instructions that changes the state of the machine in a way that impacts other processes.
  • 14. VM IMPLEMENTATION TECHNIQUES 1. Binary Translation 2. Paravirtualization 3. Hardware Supported Virtualization
  • 15. BINARY TRANSLATION â—Ź Binary image of OS is manipulated at the runtime. â—Ź Privileged instructions are rewritten to point to their emulated versions. â—Ź Performance from this approach is not ideal, particularly when doing anything I/O intensive. â—Ź Caching of the locations of unsafe instructions can speed Up. â—Ź Used in VMWare.
  • 16. PARAVIRTUALIZATION â—Ź Make OS aware of underlying Virtualization env. â—Ź OS's code is manipulated. â—Ź Important system calls are changed to point to the implementation provided by the VMM.
  • 17. HW SUPPORTED VIRTUALIZATION • OS stays in its original privilege level 0. • Attempts to access the hardware directly are caught and passed to VMM. • In other words a new privilege ring is setup for the VMM. • Added new instructions which makes Virtualization considerably easier for x86. • Intel – IVT(Intel Virtualization Technology) • AMD – introduced AMD-V
  • 18. XEN DOMAINS • Xen runs guests in environments known as domains which encapsulate a complete running virtual environment • There are two types pf Domains: • DomU – • the “U” stands for unprivileged. • Guest OSs run in this domain. • Dom0 • has elevated privileges • Provides device drivers • Provides tools/mechanisms to configure Virtualization environment Privileged Domain UnPrivileged Domains Dom0 DomU DomU XEN Hardware
  • 19. CPU SHARING • VMM or Hypervisor provides a virtual view of CPU to VMs. • In multi processing, CPU is alloted to the different processes in form of time slices by the OS. • Similarly VMM or Hypervisor allots CPU to different VMs. App1 App2 App1 App2 App3 App1 App2 VM1 OS VM2 OS VM3 OS VM1 VM2 VM3 VMM CPU Time
  • 20. MEMORY SHARING • In Multiprogramming there is a single level of indirection mainatained by Kernel. • In case of Virtual Machines there is one more level of indirection maintained by VMM Applications use Virtual Addresses Page Table Kernel translates Virtual Addresses to PseudoPhysical Addresses Page Table Hypervisor translates PseudoPhysical Addresses to Machine addresses
  • 21. XEN IO SPLIT DEVICE DRIVER
  • 22. IO RING Back
  • 23. FUTURE ASPECTS • Currently SalesForce CRM has 97,700 customers across the global. As per survey across the global 41,546 companies are willing to move to SalesForce CRM by end of 2013. • “World should follow India & Japan in cloud computing” Vivek Kundra, Chief information officer, US