Red Hat LINUX VIRTUAL SERVER 4.7 - ADMINISTRATION Specifications Page 17

  • Download
  • Add to my manuals
  • Print
  • Page
    / 23
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 16
Copyright © 2008 VMware, Inc. All rights reserved. 17
Installing and Configuring Linux Guest Operating Systems
ThemainlineLinuxkernelhasmovedtoaticklesstimekeepingmodelinwhich,insteadofcountingperiodic
interruptstotellthetime,theLinuxkernelqueriesahardwaretimesourcewhenitneedstoknowthetime.
ThesechangesmakeLinuxamuchbetterbehavedoperatingsysteminphysicalaswell
asvirtual
environments.Ticklesskernelskeepbettertimeandreducepowerutilizationonlaptopsandothermobile
deviceswherebatterylifeisimportant.Invirtualmachines,ticklesskernelsareidealbecausetheyimposeless
overheadonthehypervisorandkeepveryaccuratetime.Toserveourcustomersbetter,VMwarehas
worked
directlywiththemainlineLinuxkernelaswellasCanonical,thepublisheroftheUbuntudistribution,to
implementoperatingsystemchangestosupportticklesstimekeeping.Becausethemigrationtoatickless
kernelwascompletedrecently,onlyrecentUbuntuLinuxreleasesincorporatethisfunctionality.
Accurateticklesstimekeepingcanalsobeachieved
throughparavirtualization,inwhichtheoperatingsystem
ismodifiedtobeawarethatitisrunningonahypervisor.TheVirtualMachineInterface(VMI),developedby
VMwareinconjunctionwiththeLinuxcommunityandnowpartofthemainlineLinuxkernel,isa
paravirtualizationsolutionthat,inadditiontoprovidinghigher
performance,ensuresaccuratetimekeeping
invirtualmachines.VMwareworkedwithNovellandCanonicaltosupportVMIenabledguestoperating
systems,suchas32bitSUSELinuxEnterpriseServer10SP2andUbuntu8.04LTS,forESX3.5Update2and
later.The32bitversionsofUbuntu7.10and7.04
supportVMIonESX3.5andlater.VMwarehasencouraged
RedHattoincorporatesupportforVMIintoitsreleases.OutsideofVMI,VMwarealsoworkedwithNovell
toimplementticklesstimekeepingthroughparavirtualizing64bitSUSELinuxEnterpriseServer10SP2.
Linux Swappiness
Inavirtualizedenvironment,thefrequencyofswappingapplicationsinandoutofmemorycanhaveadverse
effectsonaLinuxvirtualmachine’sresponsivenessafterlongidleperiods.Youcanadjustthisfrequency,or
“swappiness,”bysetting/proc/sys/vm/swappinesstoarangebetween0and100.TuneLinuxswappiness
downto
makeLinuxvirtualmachinesmoreresponsiveusingacommandinsidetheLinuxvirtualmachine
similartothefollowing:
echo 0 > /proc/sys/vm/swappiness
Ifyouwantthissettingtopersist,addthefollowinglineto/etc/sysctl.confintheLinuxvirtualmachine:
vm.swappiness=0
Whenyoulowertheswappinesssetting,idleprocessesinthevirtualmachinearenotpenalizedasLinux,by
default,triestoswapthemout.Swappingandpagefaultsinavirtualmachinearemoreexpensivethanina
nativeenvironment.Forexample,alarge,idleapplicationwithitsownlargecache
wouldnotbenefitfrom
beingswappedoutofmemory.Ifitisswappedout,ittakesalongtimeforitspagestoswapbackintomemory
whentheapplicationisaccessed.Theimpactofchangestotheswappinesssettingismorepronouncedin
LinuxvirtualmachinesthaninLinux
distributionsrunningnatively.
Paravirtualization and Virtual Machine Interface
ESX3.5introducessupportforguestoperatingsystemsthatuseVMware’sparavirtualizationstandard,
VirtualMachineInterface.
Twotechniquesforvirtualizingunmodifiedguestoperatingsystemkernelsarebinarytranslationand
hardwarevirtualization.Acomparisonofthese“fullvirtualization”techniquescanbefoundinthepaper“A
ComparisonofSoftwareandHardwareTechniques
forx86Virtualization.”Adifferenttechniqueis
paravirtualization,whichrequiresmodificationstotheguestoperatingsystemandcanbeusedinconjunction
withthefirsttwotechniquesoronitsown.Foradditionaldetailsonthistechnique,seethepaper
“PerformanceofVMwareVMI.”Forlinkstothesepapers,see
“Resources”onpage 19.
Paravirtualization
Paravirtualizationisatechniqueinwhichamodifiedguestoperatingsystemkernelcommunicatestothe
hypervisoritsintenttoperformprivilegedCPUandmemoryoperations.Thistechniquereducesthework
requiredofthehypervisor,thusmakingitsimplerthanabinarytranslationhypervisor.Although
paravirtualizationdoesnoteliminatevirtualizationoverhead,it
canimproveguestoperatingsystem
performance.
Page view 16
1 2 ... 12 13 14 15 16 17 18 19 20 21 22 23

Comments to this Manuals

No comments