slowhyper-v

hyper-v  时间:2021-03-28  阅读:()
HyperV_MonAFreeToolFromTMurgentTechnologiesVersion1.
6IntroductionHyperV_MonisaGUItoolforviewingCPUperformanceofasystemrunningHyper-VfromMicrosoft.
VirtualizationaddsalayerofcomplexitytounderstandingtrueCPUusageofavirtualmachine.
Thistoolprovidesasimpletoviewsetofgraphstodepictactualprocessorutilization,including"overhead"processingduetotheuseoftheHypervisor.
HyperV_Monisnotintendedtobearegularmonitoringtoolthatyouuseeveryday.
Thistoolisdesignedtohelpyouunderstandwhatisgoingonwhenyouneedtoknowit.
Thetoolrequiresthatyouhave.
theNET3.
5FrameworkinstalledonthemachinethatyouwishtoruntheGUIon.
Ifyoudidn'tinstallServerCore,youcanplaceitontherootpartitionmachine,buttypicallyyouwanttoplacethisonadesktopthatisnotontheHyper-Vservertominimizeimpactontheserveritself.
ThetoolleveragestheRootPartitionWMIprovider–thesameinterfaceasisusedbySCVMMandthirdpartytools.
SoaslongastheremoteGUIuserhasWMIaccesstotheRootPartitionServeryouaregoodtogo.
SomeofthenewfeaturesinHyperV_MonalsoneedWMIaccesstotheVMsthemselves,butwillreasonablyoperateifaccesstotheVMsarenotavailable.
Thetoolhasnoinstaller.
Justanexewithaconfigurebutton.
Theterm"Overhead"isusedinthisdocumentandintheproductasashorthandtocapturetheconceptofprocessingthatisbeingperformedbytheHypervisoritself.
Technically,thisisnot"overhead"inthesenseofprocessingthatwouldnotbeoccurringifyoudidn'tvirtualize.
Whilesomeofthisprocessingtrulyrepresentsoverhead,someofitrepresentsprocessingthatwouldhaveoccurredindriversofthenon-virtualizedsystem.
SettingUpTheToolAftercopyingtheexeontoasystem,startitandmouseclickthe"Configure"button.
TheConfiguredialogisshowninFigure1.
Youmustenteraqualifiednameforthehostintherootpartitionoftheservertobemonitored.
Anyresolvablenamemaybeused.
TheDebugleveldefaultsto0–meaningnodebugging.
Youcanmovetheslidertotherighttoenabledebuggingandconfigurehowmuchinformationtolog.
Level1providesforerrorsonly.
Thelogfilewillbeappendedtointhecurrentworkingfolder.
Thepollingintervaldefaultsto1second.
Movetheslidertotherighttoslowdownpoling.
ThethreeConfigurationitemsarewrittentotheHKEY_CURRENT_USERhive.
Figure1-ConfigureScreenHyperV_MonrequiresaccesstotheWMIprovidersoftherootpartitionofthetargetmachine.
Thiscanprovetobeaproblemunlessthemachine(anduseraccountyouarerunningunder)thattheGUIisonisinthesamedomainastheRootPartition.
SeetheblogofMicrosoft'sJohnHowardhttp://blogs.
technet.
com/jhoward/default.
aspx(especiallyHyper-VRemoteManagementParts1-5)ifyouarehavingdifficulty.
Basically,ifyoucanrunwbemtestonyourclientmachineandconnecttotherootpartitionmachineyouwillbegoodtogo.
UsingTheToolFigure2showsanexampleoftheGUIinaction.
Atthebottomlayerofthedisplayisthehardware.
Notmuchtotalkaboutthere.
Itdoesn'tmatterwhatyourhardwarelookslike,thegraphicwilllooklikea1Urackserverfrommylab.
Someinformationisdisplayedidentifyingthehardware.
ThenextlayerupistheHypervisor.
OnlyMicrosoftHyper-V,andHyper-VR2aresupported.
Thenumberof"LogicalCPU"physicallyinstalledisdetectedanddepicted.
ActualCPUusageatthephysicallayerisreported.
Inourcase,thiswasasinglequad-coreprocessor.
Intheexample,almostalloftheCPUisrelatedtoGuestusageandisshowninalightershadeofgreen.
CPUusagetiedtoHypervisorFigure2-ASampleoftheGUIinAction!
callsisshownattheloweredgeinadarkergreencolor.
ItiseasiesttothinkoftheHypervisorcallsas"hypervisoroverhead",althoughtechnicallysomeofthat"overhead"isprocessingthatwouldhavebeenperformedtheguestwasonrawmetalhardware.
Thelast60intervalmeasurementsaredisplayed(1secondeach,bydefault)withthemostrecentintervaldisplayedontherightofthegraph.
Thebluespline(curvyline)representsarunninglongertermaverage(eachdotdepictsthemostrecent60-intervalaveragetotalCPUatthetimeoftheinterval)fortrending.
AbovetheHypervisorlayerthedisplayhastwomajorparts,situatedleftandright.
OntheleftistheRootPartitionOS.
ThisistypicallywhereyourServerCoreisrunning.
Intheexamplethiswasafullblown2008withAD,DNS,IIS,TerminalServices,andahostofotherthingstobeinteresting.
TheRootPartitionhas"VirtualProcessors",andHyper-Vwillsupplyoneforoneforeach"LogicalProcessor"intheHypervisor.
TheHypervisorwillscheduletheRootPartitionvirtualprocessors(alongwithguestvirtualprocessors)intologicalprocessorsasitseesfit.
Thinkofthisasround-robinscheduling.
IfranasinglethreadedappontherootpartitionandusedprocessoraffinitywithintheRootpartitionOS,youwouldseealloftheCPUforthatapprunninginoneoftherootpartitionvirtualprocessors–justasyouwouldseefromthetaskmanagerinsidetherootpartition.
ButlookingattheHypervisorlayeryouwillseethattheloadwasactuallyspreadoutamongthelogicalprocessors!
Figure3-ExampleshowingHypervisorcallsOntheright,intheyellowarea,aretheactiveGuestVirtualMachines.
ThesealsohaveVirtualProcessors.
BoththeRootPartitionandGuestVMsvirtualprocessordisplaysshowCPUusagebrokenbetweenappropriateOSandHypervisorusage.
SeeFigure3foranexampleofthisYoushouldnotethatthetaskmanagerinsideguestOSmachineslies.
Thisisn'tthetaskmanager'sfault.
IntheexampleshowninFigure3,theWindowsTaskManagerwithintheguestoswouldbeshowing100%CPUutilizationwhereoursnapshotshowsonly90%.
Microsoftreferstothisasclockslew,butbasicallytheHypervisorispullingtherugoutfromundertheOS'snose(de-schedulingthevirtualprocessor)andtheOSdoesn'tknowit.
Thisiswhywemustpullinformationoutofthehypervisortoknowwhatisreallygoingon.
AlsonotehowtheheavyprocessinginsideofoneVMisbeingspreadbetweenmultiplevirtualprocessors.
ThiswilloccurevenifprocessoraffinityisusedintheVM,asisintheexampleFigure4.
Inthiscase,afullyconsumingsinglethreadedprocessstartedintheVMw7Beta-9-1,adual-processorVM.
Afterrunningforabout10seconds,weappliedprocessoraffinitytothesingle-threadedprocessFigure4-ExamplewithProcessorAffinityinsidetheVM,assigningitto(virtual)processor0.
AscanbeseenintheVMgraphs,theloadchangesfrombeingsplitbetweentheVMsvirtualprocessorstoconsumingonlyvirtualprocessor0,andyetatthehypervisorlevelweseenoeffectontheloadingofphysical(logical)processors.
ThishasimplicationsonrunningHyper-VonaNUMA(Non-UniformMemoryAccess)system.
IfyouareusingaNUMAhardwareplatformyoumightwanttoconsiderreadinguponappropriatetechniquestoassociateVMsandVMmemorytospecificNUMAgroups(c.
f.
"WindowsServer2008Hyper-VResourceKit",MicrosoftPress).
Withthistool,itiseasytounderstandwhyWindowsXPandearlierOSssignificantlyunderperformsonHyper-VincomparisontoWindowsServer2003,orVista,orabove.
Youwillseesignificantlymorehypervisor"overhead"processingwiththeolderoperatingsystemsbecauseMicrosoftmademodificationstotheneweroperatingsystemstobehypervisor(andprocessorVT)aware.
ThosenewerOSsdonotdisplaysuchbehavior.
Itisallintheenlightenments!
Inmysetup,itiscommontoseeheavyhypercallCPUusagewithheavyIOusageintheXPVMsasisseeninFigure5.
TheamountofoverheadyouseewithWindowsXPisnotlikelytobeashighasisshowninthisexample.
Thisisunderinvestigation(theremaybeaCPU/chiprevisionlevelinvolvedinmysetup),andiswhyImadethistoolinthefirstplace!
Figure5-WindowsXPHypervisorLoadExampleNewStuffInadditiontomakingthegraphsshowhistoricalinformationandtherollingaverageblueline,youcannowhoverthemouseoverbothgraphsandthemanytextsectionstoseemoredetailinformationin"tooltips".
Memoryrelatedinformationhasbeenadded,bothfortherootpartitionandtheVMs(whenWMI/RPCaccessisallowed).
ThisinformationisfocusedonthreekeyvaluestohelpyoudecideifyouhavetoomuchortoolittlememoryinstalledintheVM.
InstallindicatesthenumberofMegabytesphysicallyinstalledinthecaseoftherootpartition,orallocatedtotheVMinthecaseofVMs.
Availablememoryistheportionoftheinstalledmemoryconsidered"available"bytheOS(thetechnicaldefinitionofavailablememoryvariesinsomeOSs,butconsideritasmemoryavailabletoanapplicationondemandwithoutrequiringexistingmemorytobepagedout).
NotethatMemoryallocatedtorunningVMsarealsoshownasconsumedmemoryinthehostpartitionOS.
ThehostandVMpartitionsalsoshowthekeystatistic"PgIn/S".
Thisrepresentsthenumberofbytespersecondreadinfromthediskduetohardpagefaults.
Heavypagingactivityinthiscounterindicatestheneedformorememory.
Finally,someFileandTCPI/Ocountershavebeenaddedtotherootpartitiondisplay.
FileandnetworkI/Otogetherrepresentthethirdmajorperformanceconcernfortheserver(afterCPUandMemory).
LegaleseTheproductisfree;hasnosupport;isnotwarrantedforanyuse.
Feedbackisencouraged.
Giftsacceptedgratefully.

gcorelabs远东khabarovsk伯力Cloud云服务器测评,告诉你gcorelabs云服务器怎么样

说明一下:gcorelabs的俄罗斯远东机房“伯力”既有“Virtual servers”也有“CLOUD SERVICES”,前者是VPS,后者是云服务器,不是一回事;由于平日大家习惯把VPS和云服务器当做一回事儿,所以这里要特别说明一下。本次测评的是gcorelabs的cloud,也就是云服务器。 官方网站:https://gcorelabs.com 支持:数字加密货币、信用卡、PayPal...

速云:广州移动/深圳移动/广东联通/香港HKT等VDS,9折优惠,最低月付9元;深圳独立服务器1050元/首月起

速云怎么样?速云,国人商家,提供广州移动、深圳移动、广州茂名联通、香港hkt等VDS和独立服务器。现在暑期限时特惠,力度大。广州移动/深圳移动/广东联通/香港HKT等9折优惠,最低月付9元;暑期特惠,带宽、流量翻倍,深港mplc免费试用!点击进入:速云官方网站地址速云优惠码:全场9折优惠码:summer速云优惠活动:活动期间,所有地区所有配置可享受9折优惠,深圳/广州地区流量计费VDS可选择流量翻...

美得云(15元/月)美国cera 2核4G 15元/月 香港1核 1G 3M独享

美得云怎么样?美得云好不好?美得云是第一次来推广软文,老板人脾气特别好,能感觉出来会用心对待用户。美得云这次为大家提供了几款性价比十分高的产品,美国cera 2核4G 15元/月 香港1核 1G 3M独享 15元/月,并且还提供了免费空间给大家使用。嘻嘻 我也打算去白嫖一个空间了。新用户注册福利-8折优惠码:H2dmBKbF 截止2021.10.1结束。KVM架构,99.99%高可用性,依托BGP...

hyper-v为你推荐
特朗普取消访问丹麦特朗普访华后还会去那里?陈嘉垣大家觉得陈嘉桓漂亮还是钟嘉欣漂亮?陈嘉垣反黑阿欣是谁演的 扮演者介绍百度关键词工具百度有关键字分析工具吗?Google AdWords有的www.119mm.comwww.kb119.com 这个网站你们能打开不?javmoo.com0904-javbo.net_avop210hhb主人公叫什么,好喜欢,有知道的吗www.zjs.com.cn请问宅急送客服电话号码是多少?www.5any.com重庆哪里有不是全日制的大学?hao.rising.cn电脑每次开机的时候,都会弹出“http://hao.rising.cn/?b=34” 但是这个时关键词分析关键词分析的考虑思路是怎样的,哪个数据是最重要的
美国linux主机 域名备案网站 注册cn域名 美国主机评测 美国主机网 gitcafe 工信部icp备案号 asp免费空间申请 hostloc 泉州电信 速度云 购买国外空间 smtp服务器地址 深圳域名 阿里云邮箱登陆 万网主机 godaddy空间 电信主机托管 accountsuspended winserver2008r2 更多