Specifications
Copyright © 2008 VMware, Inc. All rights reserved. 8
Installing and Configuring Linux Guest Operating Systems
Major Components Installed by VMware Tools
ThemajorcomponentsofVMwareToolswheninstalledincludevmblock,vmdesched(tobedeprecatedin
upcomingreleasesofVMwareTools),vmhgfs,vmmemctl,vmsync,andvmxnet.Thissectiontakesacloserlook
atvmxnet,thecomponentofmostinteresttoLinuxadministrators.
vmxnet
vmxnetisaLinuxkerneldevicedriverfortheVMwarehigh‐speedvirtualnetworkingdevice.Thenetwork
devicesinavirtualmachinearebasedonrealhardware.Forexample,vlanceisavirtualdevicethatprovides
strictemulationoftheAMDLancePCNet32Ethernetadapterfor32‐bitguests,ande1000
isavirtualdevice
thatprovidesstrictemulationoftheIntelE1000Ethernetadapterfor32‐bitand64‐bitguests.Whencreatinga
32‐bitvirtualmachine,ifyouselectFlexibleasthenetworkadapter,thevirtualmachinedefaultstovlance
beforeVMwareToolsisinstalledbutswitchesto
vmxnetafterVMwareToolsisinstalled.Whencreatinga
64‐bitvirtualmachine,ifyouselectE1000asthenetworkadapter,thevirtualmachineusese1000asthe
networkadapterregardlessofwhetherVMwareToolsisinstalled.
Alternatively,forsome32‐and64‐bitguests,youcanselectEnhancedvmxnetas
thenetworkadapter .vmxnet
isspecificallydesignedforvirtualmachinestoimproveperformance.EnhancedVMXNET,introducedinESX
3.5,providesanewversionofthevmxnetvirtualdevice(theVMwareparavirtualizedvirtualnetworking
deviceforguestoperatingsystems).EnhancedVMXNETincludesseveralnewnetworkingI/Operformance
improvements,suchassupportfor
TCP/IPsegmentationoffload(TSO)andjumboframes.Allother
networkingfeatures,suchasteamingandVLANs,arefullysupported.ToenableTSOandjumboframes,see
theESXServer3ConfigurationGuide.Foralink,see“Resources”onpage 19.Youcanalsousethecommand
lineinterfacetoconfigureMTU
(maximumpacketsize)andtoenableordisableTSO.EnhancedVMXNETis
notsupportedonevery32‐and64‐bitLinuxdistribution,butiftheoptionexists,werecommendyouselect
EnhancedVMXNETasyournetworkadapterforbetterperformance.ThisisespeciallytrueonIntelVT‐x
systemswhere
VMEXITcostsarehigh.vmxnethasalowerrateofVMEXITscomparedwithe1000.
EnhancedVMXNETissupportedforonlythefollowingLinuxguestoperatingsystems:
RedHatEnterpriseLinux5(32and64bit)
RedHatEnterpriseLinux4(64bit,nojumboframesupport)
SUSELinuxEnterpriseServer10(32and64bit)
Experimentalsupportisprovidedfor:
RedHatEnterpriseLinux3(64bit,noTSO,nojumboframesupport)
SUSELinuxEnterpriseServer9(64bit,nojumboframesupport)
Ubuntu7.04(64bit,nojumboframesupport)
Becauseitisbackedbyactualvirtualhardware,EnhancedVMXNETshouldbeloadedautomaticallyby
hotplugorudevasneeded.Forbestperformance,werecommendthatyouenableTSOonallinterfacesdriven
byvmxnetusingethtool.
ToenableTSO,useshellcode
similartothefollowing:
if which ethtool >/dev/null 2>&1; then
for ethif in `ifconfig -a | grep ^eth
| cut -d' ' -f1`; do
ethtool -K $ethif tso on >/dev/null 2>&1
done
fi
VMware Tools Upgrades
YoucanupgradeVMwareToolsmanually,oryoucanconfigurevirtualmachinestocheckforandinstall
newerversionsofVMwareToolsautomatically.Thefollowingarerequiredforautomaticupgrades:
VirtualmachinesmusthaveaversionofVMwareToolsshippedwithESXServer3.0.1orgreaterinstalled.