SlideShare ist ein Scribd-Unternehmen logo
1 von 31
Downloaden Sie, um offline zu lesen
Extended OS
Virtual Machines
References:
Smith, J.E.; Ravi Nair; , "The architecture of virtual machines,"
  Computer , vol.38, no.5, pp. 32- 38, May 2005
Abstraction & Virtualisation
Interface Levels
Instruction Set Architecture
• Interface between
  software and
  hardware
• Divided between
  privileged and un-
  privileged parts
Application Binary
            Interface
• Interface between
  programs hardware
  + OS
• Consists of system
  call interface + un-
  privileged ISA
Application Programming
          Interface
• Interface between
  programs hardware
  + OS
• Consists of library
  calls + un-privileged
  ISA
   – Syscalls usually
     called through
     library.
Process versus System
   Virtual Machine
OS is an extended virtual
              machine
• Multiplexes the “machine” between
  applications
  – Time sharing, multitasking, batching
• Provided a higher-level machine for
  –   Ease of use
  –   Portability
  –   Efficiency
  –   Security
  –   Etc….
JAVA – Higher-level Virtual
          Machine
• write a program once, and run it anywhere
  – Architecture independent
  – Operating System independent
• Language itself was clean, robust, garbage
  collection
• Program compiled into bytecode
  – Interpreted or just-in-time compiled.
  – Lower than native performance
Conventional versus
Emulation/Translation
Issues
• Legacy applications
• No isolation nor resource management
  between applets
• Security
  – Trust JVM implementation? Trust
    underlying OS?
• Performance compared to native
Is the OS the “right” level of
       extended machine?
• Security
  – Trust the underlying OS?
• Legacy application and OSs
• Resource management of existing
  systems suitable for all applications?
• What about activities requiring “root”
  privileges
Virtual Machine Monitors
• Provide scheduling and resource
  management
• Extended “machine” is the actual
  machine interface.
IBM VM/370
Advantages
• Legacy OSes (and applications)
• Server consolidation
• Concurrent OSes
   – Linux – Windows
   – Primary – Backup
      • High availability
• Test and Development
• Security
   – VMM (hopefully) small and correct
• Performance near bare hardware
   – For some applications
Virtual R3000???
• Interpret
  – System/161
     • slow
  – JIT dynamic compilation


• Run on the real hardware??
R3000 Virtual Memory Addressing


• MMU
 – address translation in
   hardware
 – management of
   translation is software




                                   21
0xFFFFFFFF
       R3000 Address                           kseg2
        Space Layout
                                  0xC0000000
• kuseg:                                       kseg1
  –   2 gigabytes                 0xA0000000
  –   MMU translated
  –   Cacheable                                kseg0
  –   user-mode and kernel mode   0x80000000
      accessible




                                               kuseg


                                                       22
                                  0x00000000
R3000 Address                           0xffffffff
                                                        kseg2
    Space Layout                           0xC0000000

• kseg0:
                                                        kseg1
  – 512 megabytes                          0xA0000000
  – Fixed translation window to
    physical memory
                                                        kseg0
     • 0x80000000 - 0x9fffffff virtual =   0x80000000
       0x00000000 - 0x1fffffff physical
     • MMU not used
  – Cacheable
  – Only kernel-mode accessible
  – Usually where the kernel code is
    placed
                                                        kuseg



                       Physical Memory                          23
                                           0x00000000
R3000 Address                           0xffffffff
                                                        kseg2
    Space Layout                           0xC0000000

• kseg1:
                                                        kseg1
  – 512 megabytes                          0xA0000000
  – Fixed translation window to
    physical memory
                                                        kseg0
     • 0xa0000000 - 0xbfffffff virtual =   0x80000000
       0x00000000 - 0x1fffffff physical
     • MMU not used
  – NOT cacheable
  – Only kernel-mode accessible
  – Where devices are accessed (and
    boot ROM)
                                                        kuseg



                       Physical Memory                          24
                                           0x00000000
R3000 Address        0xffffffff
                                    kseg2
   Space Layout        0xC0000000


• kseg2:                            kseg1
                       0xA0000000
  – 1024 megabytes
  – MMU translated                  kseg0
                       0x80000000
  – Cacheable
  – Only kernel-mode
    accessible
                                    kuseg


                                            25
                       0x00000000
Issues
• Privileged registers (CP0)
• Privileged instructions
• Address Spaces
• Exceptions (including syscalls,
  interrupts)
• Devices
Extlect01
Extlect01
Extlect01
Extlect01
Extlect01

Weitere ähnliche Inhalte

Was ist angesagt?

Pc De Mis Suenos
Pc De Mis SuenosPc De Mis Suenos
Pc De Mis Suenosslayn123
 
SiteGround Tech TeamBuilding
SiteGround Tech TeamBuildingSiteGround Tech TeamBuilding
SiteGround Tech TeamBuildingMarian Marinov
 
A beginner’s guide to programming GPUs with CUDA
A beginner’s guide to programming GPUs with CUDAA beginner’s guide to programming GPUs with CUDA
A beginner’s guide to programming GPUs with CUDAPiyush Mittal
 
Multi-GPU MapReduce on GPU Clusters
Multi-GPU MapReduce on GPU ClustersMulti-GPU MapReduce on GPU Clusters
Multi-GPU MapReduce on GPU ClustersDr. Jaegwang Lim
 
NVidia CUDA for Bruteforce Attacks - DefCamp 2012
NVidia CUDA for Bruteforce Attacks - DefCamp 2012NVidia CUDA for Bruteforce Attacks - DefCamp 2012
NVidia CUDA for Bruteforce Attacks - DefCamp 2012DefCamp
 
Kato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance ComputingKato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance ComputingKato Mivule
 
Introduction to CUDA
Introduction to CUDAIntroduction to CUDA
Introduction to CUDARaymond Tay
 
CUDA Deep Dive
CUDA Deep DiveCUDA Deep Dive
CUDA Deep Divekrasul
 
Introduction to parallel computing using CUDA
Introduction to parallel computing using CUDAIntroduction to parallel computing using CUDA
Introduction to parallel computing using CUDAMartin Peniak
 
C for Cuda - Small Introduction to GPU computing
C for Cuda - Small Introduction to GPU computingC for Cuda - Small Introduction to GPU computing
C for Cuda - Small Introduction to GPU computingIPALab
 
Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1
Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1
Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1Yukio Saito
 
My sql key partition and mongodb test
My sql key partition and mongodb testMy sql key partition and mongodb test
My sql key partition and mongodb testLouis liu
 

Was ist angesagt? (18)

Pc De Mis Suenos
Pc De Mis SuenosPc De Mis Suenos
Pc De Mis Suenos
 
SiteGround Tech TeamBuilding
SiteGround Tech TeamBuildingSiteGround Tech TeamBuilding
SiteGround Tech TeamBuilding
 
A beginner’s guide to programming GPUs with CUDA
A beginner’s guide to programming GPUs with CUDAA beginner’s guide to programming GPUs with CUDA
A beginner’s guide to programming GPUs with CUDA
 
Multi-GPU MapReduce on GPU Clusters
Multi-GPU MapReduce on GPU ClustersMulti-GPU MapReduce on GPU Clusters
Multi-GPU MapReduce on GPU Clusters
 
HPP Week 1 Summary
HPP Week 1 SummaryHPP Week 1 Summary
HPP Week 1 Summary
 
CUDA
CUDACUDA
CUDA
 
NVidia CUDA for Bruteforce Attacks - DefCamp 2012
NVidia CUDA for Bruteforce Attacks - DefCamp 2012NVidia CUDA for Bruteforce Attacks - DefCamp 2012
NVidia CUDA for Bruteforce Attacks - DefCamp 2012
 
Kato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance ComputingKato Mivule: An Overview of CUDA for High Performance Computing
Kato Mivule: An Overview of CUDA for High Performance Computing
 
Introduction to CUDA
Introduction to CUDAIntroduction to CUDA
Introduction to CUDA
 
GPU: Understanding CUDA
GPU: Understanding CUDAGPU: Understanding CUDA
GPU: Understanding CUDA
 
CUDA Deep Dive
CUDA Deep DiveCUDA Deep Dive
CUDA Deep Dive
 
Introduction to parallel computing using CUDA
Introduction to parallel computing using CUDAIntroduction to parallel computing using CUDA
Introduction to parallel computing using CUDA
 
C for Cuda - Small Introduction to GPU computing
C for Cuda - Small Introduction to GPU computingC for Cuda - Small Introduction to GPU computing
C for Cuda - Small Introduction to GPU computing
 
GPU
GPUGPU
GPU
 
Cuda
CudaCuda
Cuda
 
Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1
Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1
Nvidia® cuda™ 5.0 Sample Evaluation Result Part 1
 
My sql key partition and mongodb test
My sql key partition and mongodb testMy sql key partition and mongodb test
My sql key partition and mongodb test
 
Multipath
MultipathMultipath
Multipath
 

Andere mochten auch

Introducing A Branded Cell Phone To Vietnam
Introducing A Branded Cell Phone To VietnamIntroducing A Branded Cell Phone To Vietnam
Introducing A Branded Cell Phone To Vietnamsedagokoglu
 
Tele3113 wk1wed
Tele3113 wk1wedTele3113 wk1wed
Tele3113 wk1wedVin Voro
 
Tele3113 wk5wed
Tele3113 wk5wedTele3113 wk5wed
Tele3113 wk5wedVin Voro
 
Chapter3 marketing
Chapter3 marketingChapter3 marketing
Chapter3 marketingVin Voro
 
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...Ciro Llueca
 
Diseños de google sketchup
Diseños de google sketchupDiseños de google sketchup
Diseños de google sketchupbelloloco698
 
Chapter14 quality
Chapter14 qualityChapter14 quality
Chapter14 qualityVin Voro
 
Slide bio4206
Slide bio4206Slide bio4206
Slide bio4206dparkin
 
Chapter6 electronic-components
Chapter6 electronic-componentsChapter6 electronic-components
Chapter6 electronic-componentsVin Voro
 
Presentation tecniacustica 2013
Presentation tecniacustica 2013Presentation tecniacustica 2013
Presentation tecniacustica 2013Alvaro Barbosa
 
OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編
OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編
OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編Kazumi Ohhashi
 
Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015
Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015
Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015onthewight
 
Mconf - BigBlueButton Summit
Mconf - BigBlueButton SummitMconf - BigBlueButton Summit
Mconf - BigBlueButton Summitmconf
 
From Networked Music to Behavior Driven Interaction
From Networked Music to Behavior Driven InteractionFrom Networked Music to Behavior Driven Interaction
From Networked Music to Behavior Driven InteractionAlvaro Barbosa
 
Digital Marketing & Social Media Opportunities - Japan
Digital Marketing & Social Media Opportunities - JapanDigital Marketing & Social Media Opportunities - Japan
Digital Marketing & Social Media Opportunities - JapanAshley Spilak
 

Andere mochten auch (20)

Introducing A Branded Cell Phone To Vietnam
Introducing A Branded Cell Phone To VietnamIntroducing A Branded Cell Phone To Vietnam
Introducing A Branded Cell Phone To Vietnam
 
Tele3113 wk1wed
Tele3113 wk1wedTele3113 wk1wed
Tele3113 wk1wed
 
Squinkies
SquinkiesSquinkies
Squinkies
 
Lect16
Lect16Lect16
Lect16
 
Tele3113 wk5wed
Tele3113 wk5wedTele3113 wk5wed
Tele3113 wk5wed
 
Chapter3 marketing
Chapter3 marketingChapter3 marketing
Chapter3 marketing
 
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
Plataformes digitals per difondre el patrimoni cultural (Ciro Llueca, Visual ...
 
Anna col
Anna colAnna col
Anna col
 
Happy Birthday Mommy!
Happy Birthday Mommy!Happy Birthday Mommy!
Happy Birthday Mommy!
 
Diseños de google sketchup
Diseños de google sketchupDiseños de google sketchup
Diseños de google sketchup
 
Chapter14 quality
Chapter14 qualityChapter14 quality
Chapter14 quality
 
Slide bio4206
Slide bio4206Slide bio4206
Slide bio4206
 
Chapter6 electronic-components
Chapter6 electronic-componentsChapter6 electronic-components
Chapter6 electronic-components
 
Presentation tecniacustica 2013
Presentation tecniacustica 2013Presentation tecniacustica 2013
Presentation tecniacustica 2013
 
Lect07
Lect07Lect07
Lect07
 
OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編
OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編
OSC2015 Tokyo/Spring セミナー「初めてのLibreOffice L10N UI/ヘルプ翻訳」予告編
 
Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015
Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015
Dr Jen Gupta - Understanding nature’s death ray guns - 13 Oct 2015
 
Mconf - BigBlueButton Summit
Mconf - BigBlueButton SummitMconf - BigBlueButton Summit
Mconf - BigBlueButton Summit
 
From Networked Music to Behavior Driven Interaction
From Networked Music to Behavior Driven InteractionFrom Networked Music to Behavior Driven Interaction
From Networked Music to Behavior Driven Interaction
 
Digital Marketing & Social Media Opportunities - Japan
Digital Marketing & Social Media Opportunities - JapanDigital Marketing & Social Media Opportunities - Japan
Digital Marketing & Social Media Opportunities - Japan
 

Ähnlich wie Extlect01

了解Cpu
了解Cpu了解Cpu
了解CpuFeng Yu
 
Why the Address Translation Scheme Matters?
Why the Address Translation Scheme Matters?Why the Address Translation Scheme Matters?
Why the Address Translation Scheme Matters?Jiaqing Du
 
LXC on Ganeti
LXC on GanetiLXC on Ganeti
LXC on Ganetikawamuray
 
Linux SMEP bypass techniques
Linux SMEP bypass techniquesLinux SMEP bypass techniques
Linux SMEP bypass techniquesVitaly Nikolenko
 
Kvm performance optimization for ubuntu
Kvm performance optimization for ubuntuKvm performance optimization for ubuntu
Kvm performance optimization for ubuntuSim Janghoon
 
Your 1st Ceph cluster
Your 1st Ceph clusterYour 1st Ceph cluster
Your 1st Ceph clusterMirantis
 
The Silence of the Canaries
The Silence of the CanariesThe Silence of the Canaries
The Silence of the CanariesKernel TLV
 
osdi20-slides_zhao.pptx
osdi20-slides_zhao.pptxosdi20-slides_zhao.pptx
osdi20-slides_zhao.pptxCive1971
 
Running Applications on the NetBSD Rump Kernel by Justin Cormack
Running Applications on the NetBSD Rump Kernel by Justin Cormack Running Applications on the NetBSD Rump Kernel by Justin Cormack
Running Applications on the NetBSD Rump Kernel by Justin Cormack eurobsdcon
 
Servers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - ThailandServers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - ThailandAruj Thirawat
 
[IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors!
[IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors![IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors!
[IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors!HWBOT
 
lecture11_GPUArchCUDA01.pptx
lecture11_GPUArchCUDA01.pptxlecture11_GPUArchCUDA01.pptx
lecture11_GPUArchCUDA01.pptxssuser413a98
 
Nextserver Evo
Nextserver EvoNextserver Evo
Nextserver Evodellarocco
 

Ähnlich wie Extlect01 (20)

了解Cpu
了解Cpu了解Cpu
了解Cpu
 
Why the Address Translation Scheme Matters?
Why the Address Translation Scheme Matters?Why the Address Translation Scheme Matters?
Why the Address Translation Scheme Matters?
 
LXC on Ganeti
LXC on GanetiLXC on Ganeti
LXC on Ganeti
 
Vigor Ex
Vigor ExVigor Ex
Vigor Ex
 
Linux SMEP bypass techniques
Linux SMEP bypass techniquesLinux SMEP bypass techniques
Linux SMEP bypass techniques
 
Kvm performance optimization for ubuntu
Kvm performance optimization for ubuntuKvm performance optimization for ubuntu
Kvm performance optimization for ubuntu
 
Your 1st Ceph cluster
Your 1st Ceph clusterYour 1st Ceph cluster
Your 1st Ceph cluster
 
The Silence of the Canaries
The Silence of the CanariesThe Silence of the Canaries
The Silence of the Canaries
 
osdi20-slides_zhao.pptx
osdi20-slides_zhao.pptxosdi20-slides_zhao.pptx
osdi20-slides_zhao.pptx
 
Running Applications on the NetBSD Rump Kernel by Justin Cormack
Running Applications on the NetBSD Rump Kernel by Justin Cormack Running Applications on the NetBSD Rump Kernel by Justin Cormack
Running Applications on the NetBSD Rump Kernel by Justin Cormack
 
Servers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - ThailandServers Technologies and Enterprise Data Center Trends 2014 - Thailand
Servers Technologies and Enterprise Data Center Trends 2014 - Thailand
 
Workshop actualización SVG CESGA 2012
Workshop actualización SVG CESGA 2012 Workshop actualización SVG CESGA 2012
Workshop actualización SVG CESGA 2012
 
SdE2 - Pilot Tock
SdE2 - Pilot TockSdE2 - Pilot Tock
SdE2 - Pilot Tock
 
Xen arm
Xen armXen arm
Xen arm
 
Xen arm
Xen armXen arm
Xen arm
 
[IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors!
[IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors![IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors!
[IDF'15 SF] RPCS001 — Overclocking 6th Generation Intel® Core™ Processors!
 
lecture11_GPUArchCUDA01.pptx
lecture11_GPUArchCUDA01.pptxlecture11_GPUArchCUDA01.pptx
lecture11_GPUArchCUDA01.pptx
 
Nextserver Evo
Nextserver EvoNextserver Evo
Nextserver Evo
 
Nextserver Evo
Nextserver EvoNextserver Evo
Nextserver Evo
 
Basics of JVM Tuning
Basics of JVM TuningBasics of JVM Tuning
Basics of JVM Tuning
 

Mehr von Vin Voro

Tele3113 tut6
Tele3113 tut6Tele3113 tut6
Tele3113 tut6Vin Voro
 
Tele3113 tut5
Tele3113 tut5Tele3113 tut5
Tele3113 tut5Vin Voro
 
Tele3113 tut4
Tele3113 tut4Tele3113 tut4
Tele3113 tut4Vin Voro
 
Tele3113 tut1
Tele3113 tut1Tele3113 tut1
Tele3113 tut1Vin Voro
 
Tele3113 tut3
Tele3113 tut3Tele3113 tut3
Tele3113 tut3Vin Voro
 
Tele3113 tut2
Tele3113 tut2Tele3113 tut2
Tele3113 tut2Vin Voro
 
Tele3113 wk11tue
Tele3113 wk11tueTele3113 wk11tue
Tele3113 wk11tueVin Voro
 
Tele3113 wk10wed
Tele3113 wk10wedTele3113 wk10wed
Tele3113 wk10wedVin Voro
 
Tele3113 wk10tue
Tele3113 wk10tueTele3113 wk10tue
Tele3113 wk10tueVin Voro
 
Tele3113 wk11wed
Tele3113 wk11wedTele3113 wk11wed
Tele3113 wk11wedVin Voro
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wedVin Voro
 
Tele3113 wk9tue
Tele3113 wk9tueTele3113 wk9tue
Tele3113 wk9tueVin Voro
 
Tele3113 wk8wed
Tele3113 wk8wedTele3113 wk8wed
Tele3113 wk8wedVin Voro
 
Tele3113 wk9wed
Tele3113 wk9wedTele3113 wk9wed
Tele3113 wk9wedVin Voro
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wedVin Voro
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wedVin Voro
 
Tele3113 wk7tue
Tele3113 wk7tueTele3113 wk7tue
Tele3113 wk7tueVin Voro
 
Tele3113 wk6wed
Tele3113 wk6wedTele3113 wk6wed
Tele3113 wk6wedVin Voro
 
Tele3113 wk6tue
Tele3113 wk6tueTele3113 wk6tue
Tele3113 wk6tueVin Voro
 
Tele3113 wk5tue
Tele3113 wk5tueTele3113 wk5tue
Tele3113 wk5tueVin Voro
 

Mehr von Vin Voro (20)

Tele3113 tut6
Tele3113 tut6Tele3113 tut6
Tele3113 tut6
 
Tele3113 tut5
Tele3113 tut5Tele3113 tut5
Tele3113 tut5
 
Tele3113 tut4
Tele3113 tut4Tele3113 tut4
Tele3113 tut4
 
Tele3113 tut1
Tele3113 tut1Tele3113 tut1
Tele3113 tut1
 
Tele3113 tut3
Tele3113 tut3Tele3113 tut3
Tele3113 tut3
 
Tele3113 tut2
Tele3113 tut2Tele3113 tut2
Tele3113 tut2
 
Tele3113 wk11tue
Tele3113 wk11tueTele3113 wk11tue
Tele3113 wk11tue
 
Tele3113 wk10wed
Tele3113 wk10wedTele3113 wk10wed
Tele3113 wk10wed
 
Tele3113 wk10tue
Tele3113 wk10tueTele3113 wk10tue
Tele3113 wk10tue
 
Tele3113 wk11wed
Tele3113 wk11wedTele3113 wk11wed
Tele3113 wk11wed
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
 
Tele3113 wk9tue
Tele3113 wk9tueTele3113 wk9tue
Tele3113 wk9tue
 
Tele3113 wk8wed
Tele3113 wk8wedTele3113 wk8wed
Tele3113 wk8wed
 
Tele3113 wk9wed
Tele3113 wk9wedTele3113 wk9wed
Tele3113 wk9wed
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
 
Tele3113 wk7wed
Tele3113 wk7wedTele3113 wk7wed
Tele3113 wk7wed
 
Tele3113 wk7tue
Tele3113 wk7tueTele3113 wk7tue
Tele3113 wk7tue
 
Tele3113 wk6wed
Tele3113 wk6wedTele3113 wk6wed
Tele3113 wk6wed
 
Tele3113 wk6tue
Tele3113 wk6tueTele3113 wk6tue
Tele3113 wk6tue
 
Tele3113 wk5tue
Tele3113 wk5tueTele3113 wk5tue
Tele3113 wk5tue
 

Kürzlich hochgeladen

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAssociation for Project Management
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104misteraugie
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfciinovamais
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introductionMaksud Ahmed
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Disha Kariya
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDThiyagu K
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpinRaunakKeshri1
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfchloefrazer622
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfchloefrazer622
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...EduSkills OECD
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room servicediscovermytutordmt
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformChameera Dedduwage
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajanpragatimahajan3
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionSafetyChain Software
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactdawncurless
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsTechSoup
 

Kürzlich hochgeladen (20)

APM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across SectorsAPM Welcome, APM North West Network Conference, Synergies Across Sectors
APM Welcome, APM North West Network Conference, Synergies Across Sectors
 
Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104Nutritional Needs Presentation - HLTH 104
Nutritional Needs Presentation - HLTH 104
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
microwave assisted reaction. General introduction
microwave assisted reaction. General introductionmicrowave assisted reaction. General introduction
microwave assisted reaction. General introduction
 
Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..Sports & Fitness Value Added Course FY..
Sports & Fitness Value Added Course FY..
 
Measures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SDMeasures of Dispersion and Variability: Range, QD, AD and SD
Measures of Dispersion and Variability: Range, QD, AD and SD
 
Student login on Anyboli platform.helpin
Student login on Anyboli platform.helpinStudent login on Anyboli platform.helpin
Student login on Anyboli platform.helpin
 
Arihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdfArihant handbook biology for class 11 .pdf
Arihant handbook biology for class 11 .pdf
 
Disha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdfDisha NEET Physics Guide for classes 11 and 12.pdf
Disha NEET Physics Guide for classes 11 and 12.pdf
 
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
Presentation by Andreas Schleicher Tackling the School Absenteeism Crisis 30 ...
 
9548086042 for call girls in Indira Nagar with room service
9548086042  for call girls in Indira Nagar  with room service9548086042  for call girls in Indira Nagar  with room service
9548086042 for call girls in Indira Nagar with room service
 
A Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy ReformA Critique of the Proposed National Education Policy Reform
A Critique of the Proposed National Education Policy Reform
 
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
Mattingly "AI & Prompt Design: Structured Data, Assistants, & RAG"
 
social pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajansocial pharmacy d-pharm 1st year by Pragati K. Mahajan
social pharmacy d-pharm 1st year by Pragati K. Mahajan
 
Mastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory InspectionMastering the Unannounced Regulatory Inspection
Mastering the Unannounced Regulatory Inspection
 
Accessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impactAccessible design: Minimum effort, maximum impact
Accessible design: Minimum effort, maximum impact
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 

Extlect01

  • 2. Virtual Machines References: Smith, J.E.; Ravi Nair; , "The architecture of virtual machines," Computer , vol.38, no.5, pp. 32- 38, May 2005
  • 5. Instruction Set Architecture • Interface between software and hardware • Divided between privileged and un- privileged parts
  • 6. Application Binary Interface • Interface between programs hardware + OS • Consists of system call interface + un- privileged ISA
  • 7. Application Programming Interface • Interface between programs hardware + OS • Consists of library calls + un-privileged ISA – Syscalls usually called through library.
  • 8. Process versus System Virtual Machine
  • 9. OS is an extended virtual machine • Multiplexes the “machine” between applications – Time sharing, multitasking, batching • Provided a higher-level machine for – Ease of use – Portability – Efficiency – Security – Etc….
  • 10. JAVA – Higher-level Virtual Machine • write a program once, and run it anywhere – Architecture independent – Operating System independent • Language itself was clean, robust, garbage collection • Program compiled into bytecode – Interpreted or just-in-time compiled. – Lower than native performance
  • 11.
  • 13. Issues • Legacy applications • No isolation nor resource management between applets • Security – Trust JVM implementation? Trust underlying OS? • Performance compared to native
  • 14. Is the OS the “right” level of extended machine? • Security – Trust the underlying OS? • Legacy application and OSs • Resource management of existing systems suitable for all applications? • What about activities requiring “root” privileges
  • 15. Virtual Machine Monitors • Provide scheduling and resource management • Extended “machine” is the actual machine interface.
  • 17. Advantages • Legacy OSes (and applications) • Server consolidation • Concurrent OSes – Linux – Windows – Primary – Backup • High availability • Test and Development • Security – VMM (hopefully) small and correct • Performance near bare hardware – For some applications
  • 18.
  • 19.
  • 20. Virtual R3000??? • Interpret – System/161 • slow – JIT dynamic compilation • Run on the real hardware??
  • 21. R3000 Virtual Memory Addressing • MMU – address translation in hardware – management of translation is software 21
  • 22. 0xFFFFFFFF R3000 Address kseg2 Space Layout 0xC0000000 • kuseg: kseg1 – 2 gigabytes 0xA0000000 – MMU translated – Cacheable kseg0 – user-mode and kernel mode 0x80000000 accessible kuseg 22 0x00000000
  • 23. R3000 Address 0xffffffff kseg2 Space Layout 0xC0000000 • kseg0: kseg1 – 512 megabytes 0xA0000000 – Fixed translation window to physical memory kseg0 • 0x80000000 - 0x9fffffff virtual = 0x80000000 0x00000000 - 0x1fffffff physical • MMU not used – Cacheable – Only kernel-mode accessible – Usually where the kernel code is placed kuseg Physical Memory 23 0x00000000
  • 24. R3000 Address 0xffffffff kseg2 Space Layout 0xC0000000 • kseg1: kseg1 – 512 megabytes 0xA0000000 – Fixed translation window to physical memory kseg0 • 0xa0000000 - 0xbfffffff virtual = 0x80000000 0x00000000 - 0x1fffffff physical • MMU not used – NOT cacheable – Only kernel-mode accessible – Where devices are accessed (and boot ROM) kuseg Physical Memory 24 0x00000000
  • 25. R3000 Address 0xffffffff kseg2 Space Layout 0xC0000000 • kseg2: kseg1 0xA0000000 – 1024 megabytes – MMU translated kseg0 0x80000000 – Cacheable – Only kernel-mode accessible kuseg 25 0x00000000
  • 26. Issues • Privileged registers (CP0) • Privileged instructions • Address Spaces • Exceptions (including syscalls, interrupts) • Devices