Red Hat LINUX VIRTUAL SERVER 4.7 - ADMINISTRATION Dokumentacja Strona 18

  • Pobierz
  • Dodaj do moich podręczników
  • Drukuj
  • Strona
    / 23
  • Spis treści
  • BOOKMARKI
  • Oceniono. / 5. Na podstawie oceny klientów
Przeglądanie stron 17
Copyright © 2008 VMware, Inc. All rights reserved. 18
Installing and Configuring Linux Guest Operating Systems
Theideaofguesthostinteractionisnotanewconcept.IthaslongbeenapartofVMwareproductsintheform
ofVMwareTools.Forexample:
TheVMwareSVGAdriversharesdatastructureswiththehypervisortoallowfasterscreenupdates.
TheVMwarehighperformancevirtualEthernetdriver,vmxnet,sharesdatastructureswiththe
hypervisortoreduceCPUoverhead.
TheVMware“balloondriverisusedbythehypervisortocontroltheguestoperatingsystem’smemory
usage.
TheVMwareToolsserviceenablestimesynchronizationbetweenhostandguest.
Whilesuchguesthostcommunicationprovidesimprovedperformanceandcanbeclassifiedas
paravirtualization,noneoftheseexamplesinvolvechangestotheunderlyingguestoperatingsystemkernel.
However,inordertoparavirtualizetheCPUandthememorymanagementunit,changes
totheguest
operatingsystemkernelarerequired.Opensourceoperatingsystems,suchasLinux,allowustomakesuch
changes.
Virtual Machine Interface
Earlyparavirtualizationrequiredoperatingsystemsandapplicationstobecertifiedonmanydifferent
kernels—somefornativehardwareandotherstorunonahypervisor.Also,thelackofastandardguesthost
interfaceledtofrequentinterfacechanges,whichinturncausedversiondependenciesbetweentheguest
operatingsystemkerneland
thehypervisor.Inordertoaddresstheseissues,VMwareproposedanew
guesthostinterface,calledVirtualMachineInterface,whichdefinesasetofhypercallsanoperatingsystem
canusetocommunicatewiththehypervisor.Fordetails,seetheParavirtualizationAPIVersion2.5
specification.Foralink,see“Resources”on
page 19.
ThestandardizedinterfaceprovidedbyVMIallowstheguestoperatingsystemkernelandthehypervisorto
evolveindependently.TheVMIspecificationalsomakesitpossibleforothervendorstoenabletheir
hypervisorstosupportguestoperatingsystemsthatuseVMI.
VMIwasdesignedtoabstractnativehardware.Thisfeature,called
transparentparavirtualization,allowsa
VMIenabledkerneltorunbothonnativehardwareandonhypervisorsthatsupporttheinterfacewithno
additionalmodificationtotheoperatingsystemkernel.
VMIcodeisincludedin32bitLinuxmainlinekernels2.6.22andabove.TheUbuntuLinuxdistribution
includesVMIsupportinversion
7.04(FeistyFawn)andlater.NovellincludesVMIsupportinSUSELinux
EnterpriseServer10SP2.ToenableVMI,seeAppendixC:EnablingVMIinaLinuxKernelandinESX3.5”
onpage 22.
VMI Performance Benefits
TheVMwareimplementationofVMIoffersanumberofperformanceandresourceutilizationbenefits:
Thesyscallentryandexitpathisfaster.Thisspeedsupsyscalldominatedworkloads.
VMIenabledLinuxkernelsbydefaultuseanalternatetimerinterruptmechanismthatresultsinreduced
physicalCPUconsumption,especiallywhenthevirtualmachineisidle,andinmoreaccurate
timekeeping,evenwhenrunningmanyvirtualmachines.
Becausetheguestkernelcommunicatestothehypervisoritsintenttoperformmemorymanagementunit
(MMU)relatedoperations,MMUvirtualizationoverheadisreduced.Dependingontheworkload,this
canhavevaryingperformancebenefits.
SMPvirtualmachinesrunningVMIenabledoperatingsystemsusesharedshadowpagetables.Asa
resulttheyhavelessmemoryspaceoverheadthanthoserunningnonVMIenabledoperatingsystems.
Formoreinformationonshadowpagetables,seethepaper“ESXServerArchitectureandPerformance
Implications.”Foralink,see“Resources”
onpage 19.
Przeglądanie stron 17
1 2 ... 13 14 15 16 17 18 19 20 21 22 23

Komentarze do niniejszej Instrukcji

Brak uwag