Memory迈拓kvm
迈拓kvm 时间:2021-01-23 阅读:(
)
DevelopmentsinKVMonPowerPaulMackerras,IBMLTCOzLabspaulus@au1.
ibm.
com221October20132013IBMOutlineIntroductionLittle-endiansupportOpenStackNestedvirtualizationGuesthotplugHardwareerrordetectionandrecovery321October20132013IBMIntroductionWewillbereleasingPOWERmachineswithKVM–AnnouncementbyArvindKrishna,IBMexecutivePOWER8processordisclosedatHotChipsconference–12coresperchip,8threadspercore–96kBL1cache,512kBL2cache,8MBL3cachepercoreonchipqemuKVMHostLinuxKernelSAPPHIREPOWERhardwareGuestOSGuestOSFSPqemuhostOSprocesshostOSprocesshostOSprocess421October20132013IBMIntroduction"Sapphire"firmwarebeingdevelopedforthesemachines–TeamledbyBenHerrenschmidt–SuccessortoOPALProvidesinitializationandbootservicesforhostOS–Loadfirst-stageLinuxkernelfromflash–Probethemachineandsetupdevicetree–Petitbootbootloadertoloadandrunthehostkernel(viakexec)Provideslow-levelrun-timeservicestohostkernel–Communicationwiththeserviceprocessor(FSP)ConsolePowerandrebootcontrolNon-volatilememoryTimeofdayclockErrorloggingfacilities–Somelow-levelerrordetectionandrecoveryservices521October20132013IBMLittle-endianSupportModernPOWERCPUshavealittle-endianmode–Instructionsandmulti-bytedataoperandsinterpretedinlittle-endianbyteorderLowest-numberedbyteisleastsignificant,ratherthanmostsignificant–"True"littleendian,notaddressswizzlingasonold32-bitPowerPCprocessorsEnabledbyanMSR(machinestateregister)bit–HypervisorregistercontrolsMSR[LE]settingoninterruptdeliveryLittle-endianmodehaslittleornoperformanceimpact–Somemisalignedloads/storestraponolderprocessors(POWER6,POWER7)GrowinginterestinrunningentireOSinlittle-endianmode–Easeportingofprogramsfromotherarchitectures–EaseportingofprogramswhichaccessfilescontainingLEbinarydata–EasecommunicationwithGPUsNewOpenPowerConsortium–IBM,Google,Tyan,Nvidia,MellanoxWanttobeabletorunlittle-endianOSasKVMguest–Host-sidechangessurprisinglyminor–Hostalwaysbig-endianfornow621October20132013IBMLittle-endianSupport"Bi-endian"support–KVMguestscanswitchendiannessatwill–Currentexecutionmodeunderdirectguestcontrol–InterruptdeliverymodecontrolledvianewH_SET_MODEhypercallPAPRparavirtualizationinterfaceisexplicitlybig-endian–MemoryoperandsforPAPRhypercallsarebig-endian,thereforeneedtobebyte-swappedbyLEguestkernels–Valuesinregistersdon'tneedbyteswapping:registersdon'thaveendianness–Memoryareassharedbetweenhostandguest(VirtualProcessorAreas)remainBEInstructionemulationrequiresbyte-swappingbyKVM–OnlyoccursforMMIOemulation–Byte-swapinstructionsafterreadingthemfromtheguest–Byte-swapmulti-bytedatavaluesfornormalload/stores,notforbyte-reversingloads/storesVirtiodatastructuresareinguestendianorder–Newvirtiospecificationwillspecifylittle-endian–Forcurrentguests,QEMUandKVMhavetobyte-swapforlittle-endianguests–Guestendianmodesampledatvirtiodeviceresettime721October20132013IBMLittle-endianSupportGuestsstartoutinbig-endianmode–Reverttobig-endianonrebootSLOF(guestbootfirmware)runsinbig-endianmode–WillbemodifiedtobeabletoloadbothBEandLEimagesLEkernelscheckcurrentmode,switchtoLEifnecessary–Usesinstructionthatisno-opinLEmode,branchinBEmode4800000cb.
+120c000048twi0,r0,72(trapnever)–SetMSR[LE]anddoH_SET_MODEifnecessaryNodifferencebetweenhowLEguestsandBEguestsarestartedChoiceofLEvs.
BEisaquestionofwhatimagegetsdeployedintheguest–Cataloguingproblematthesamelevelaschoiceofdistro–Allthesamearchitectureasfaraslibvirtandmanagementtoolsareconcerned.
POWER8addssplitlittle-endianmode–Allowsinstructionanddataendiannesstobedifferent821October20132013IBMOpenStackOpenStackisimportantasmanagementstackforKVMonPowermachinesUpstreamunmodifiedOpenStackcannowmanagePowercomputenodeswithKVM–Necessaryfixesareupstreamlibvirt:somex86-centricassumptionslibguestfs:buginpartitiontableparsing–MayneedextensionstoincludeLE/BEindicationinimagecatalogsRequirementfornestedvirtualization–NeededtoparticipateinOpenStack'scontinuousintegrationprocessRequirementforguestPCIhotplug–Virtualdiskandnetworkadapters921October20132013IBMNestedVirtualizationOpenStackCItestsproposedpatchesinvirtualcluster–Computenodesofvirtualclusterneedtobeabletorunguests–NodesareKVMguests,thereforedon'thaveaccesstohypervisormode–Twooptions:fullemulation,or"PR"styleKVMPRKVM,developedbyAlexGraf,runstheguestentirelyinusermode("PR"oblemstate)andemulatesallprivilegedinstructionsandtheMMUFullemulationhasproblems–Veryslow–QEMUdoesnotimplementalltheinstructionsinPOWER6/7/8–SomeLinuxdistributionsprovidepackagesoptimizedforPOWER7Fedora.
ppc64p7.
rpmpackagessinceFedora18PRKVMisourproposedsolutionfornestedvirtualization–Notasfastas"HV"styleKVM,butalotfasterthanfullemulation–Doesn'tcurrentlysupportallthefeaturesofPowerprocessorsDatabreakpoint(watchpoint)supportPerformancemonitorunitNewPOWER8featuressuchastransactionalmemorySupportingthesefeaturesisamatterofcoding–NotcurrentlypossibletocompilebothPRandHVKVMinonekernel1021October20132013IBMNestedVirtualizationWanttomakePRandHVKVMbothavailableinonekernel–Distroswon'tmaketwokernelbuildsavailable,sowillpickoneortheotherNeitherisasupersetoftheother–HVisfasterthanPR,assumingnecessaryhardwaresupportisavailable–HVKVMrequiresaparavirtualizedguestkernelHardwarenotdesignedtosupportfullvirtualization;guestaccesstohypervisorfacilitiestrapstotheguest,notthehost–HVKVMdoesn'tsupportemulationofancient,embeddedor32-bitprocessorsHardwarecompatibilitymodeforemulationofPOWER6andPOWER7MyproposalfromearlyAugust:–ModifybothPRandHVsothatbothcanbecompiledintoonekernel–EachVMhasanassociatedtype:PR,HVorunknown–ChangetypetoHVwhenPAPRcapabilityenabled(ifhardwareiscapable)–ChangetypetoPRwhenfirstvcpuisrunotherwise–Someproblems/objectionsUsersmightunexpectedlygetlower-performanceoptionthantheyexpectedAneeshKumar'spatches(earlyOctober)–Splitmoduleintothree:HV,PRandcore–UserspacechoosestypeatVMcreationtime1121October20132013IBMGuestPCIHotplugPrimarilyforvirtiodevicesratherthanrealPCIadapters–VirtiodevicesappearasemulatedPCIadapters–OpenStacktypicallybootsguestswithminimalconfigurationandaddsdisksandnetworkadapterswithhotplugPAPRincludesarchitectureforhotplug–Allsortsofresources:CPUs,memory,PCIdevices,PCIhostbridges–ReferredtoasDynamicLogicalPartitioning(DLPAR)–DesignedforPowerVMenvironmentOperationinitiatedfrommanagementconsole,nottheguestProprietaryclosed-sourcedaemonintheguest,talkingviasockettomanagementconsoleusingproprietaryprotocolDaemonperformsnecessaryfirmwareandsystemcallsExistingguestOSesdon'tautomaticallyhavesupportforhotplug–Eveniftheydoincludetheproprietarydaemon,wecan'tanddon'twanttouseitAlternativeapproachbeingdeveloped–Extendexistingopen-sourceeventloggingdaemon(rtas_errd)–Defineneweventsindicatingaddition/removalofPCIadapters–ModifyQEMUtogeneratetheseeventsandhandleresultingRTASfirmwarecalls(patchesbeingdevelopedbyMikeRoth,MikeDayandNathanFontenot)1221October20132013IBMHardwareErrorDetectionandRecoveryExploitReliability,AvailabilityandServiceability(RAS)featuresofthehardware–Hardwarehasalotoferrorcheckingandrecoveryfacilities–ParityorECConalmosteverything–Micro-checkpointingofthecore,rollbackontransienterrors–Don'thavePowerVMtoprovidesoftwaresupportErrordetection–CPU-generatedMachineCheckinterruptUseofdatawithuncorrectableerrorsAccesstonon-responsivephysicaladdressParityerrorsinSLBorTLBDuplicateSLBentries(canbegeneratedbyguest)–CPU-generatedHypervisorMaintenanceinterrupt–FSPscansforothertransient,correctederrorsandgenerateseventlogs–EnhancedErrorHandling(EEH)inPCIhostbridgesIsolatesPCIadapterswhenerrordetectedtopreventpropagationofbaddataErrorsincludeattemptstoaccessoutsideofpermittedbusaddressrangeaswellasparityerrorsandtimeouts1321October20132013IBMHardwareErrorDetectionandRecoveryHostmachinecheckhandler–PatchespostedbyMaheshSalgaonkar–AttempttocorrectMMU-relatederrorsinrealmodePotentiallystillinguestMMUcontextatthispoint–ThentransferstoguestexitcodeifthemachinecheckoccurredwhileinaKVMguestKVMhastodeliveramachinechecktotheguestinthiscasesinceSRR0/1registersmayhavebeenlive–Foruseofdatawithuncorrecteddata,exploithwpoisoninfrastructureEEHsupportforPCIpass-throughtoguests–EEHisolationeventscanbecausedbyguestmis-programmingofadapter,oradapterfailure–NeedtonotifyguestofeventviaRTASevent-loginfrastructureasspecifiedinPAPR–NeedtoimplementRTASfirmwarecallstoresetandde-isolateadapterOtherhost-sideRASfeaturesdon'timpactKVM–Daemon/databaseforloggingandretrievingerrorsandotherevents–Hostplatformdumps–Systemcatalog/VPDtools–Firmwareupdatetools–system,FSP,I/Oadapters1421October20132013IBMLegalStatementThisworkrepresentstheviewoftheauthoranddoesnotnecessarilyrepresenttheviewofIBM.
IBM,IBM(logo),AIX,POWER,POWER6,POWER7,POWER8andPowerVMaretrademarksorregisteredtrademarksofInternationalBusinessMachinesCorporationintheUnitedStatesand/orothercountries.
LinuxisaregisteredtrademarkofLinusTorvalds.
Othercompany,productandservicenamesmaybetrademarksorservicemarksofothers.
ZJI本月新上线了香港葵湾机房站群服务器,提供4个C段238个IPv4,支持使用8折优惠码,优惠后最低每月1400元起。ZJI是原Wordpress圈知名主机商家:维翔主机,成立于2011年,2018年9月更名为ZJI,提供中国香港、台湾、日本、美国独立服务器(自营/数据中心直营)租用及VDS、虚拟主机空间、域名注册等业务,所选数据中心均为国内普遍访问速度不错的机房。葵湾二型(4C站群)CPU:I...
OneTechCloud(易科云)是一家主打CN2等高端线路的VPS主机商家,成立于2019年,提供的产品包括VPS主机和独立服务器租用等,数据中心可选美国洛杉矶、中国香港、日本等,有CN2 GIA线路、AS9929、高防、原生IP等。目前商家针对全场VPS主机提供月付9折,季付8折优惠码,优惠后香港VPS最低季付64元起(≈21.3元/月),美国洛杉矶CN2 GIA线路+20Gbps防御型VPS...
月神科技怎么样?月神科技是由江西月神科技有限公司运营的一家自营云产品的IDC服务商,提供香港安畅、香港沙田、美国CERA、华中电信等机房资源,月神科技有自己的用户群和拥有创宇认证,并且也有电商企业将业务架设在月神科技的平台上。目前,香港CN2云服务器、洛杉矶CN2云主机、华中电信高防vps,月付20元起。点击进入:月神科技官方网站地址月神科技vps优惠信息:香港安畅CN2-GIA低至20元核心:2...
迈拓kvm为你推荐
秦殇内存修改器秦殇1.30内存修改器Vista不能用吗??!软银收购arm如果华为麒麟得不到ARMv9构架升级,性能势必会落后别人,该怎么办?桌面背景图片风景推荐个电脑桌面壁纸天玑1000plus和骁龙865哪个好天玑720和骁龙765g哪个好?视频剪辑软件哪个好有哪些好用的手机剪辑视频软件免费阅读小说app哪个好哪个手机小说app比较好用呢?电视直播软件哪个好电视直播软件哪个好苹果手机助手哪个好苹果手机助手哪个好,苹果手机助手推荐?红茶和绿茶哪个好红茶和绿茶哪个好?扣扣空间登录QQ空间怎么老是提示登陆?
韩国vps俄罗斯美女 免费注册网站域名 申请免费域名 lamp安装 warez 云网数据 photonvps 台湾服务器 美国主机代购 godaddy域名优惠码 iis安装教程 元旦促销 网站木马检测工具 lol台服官网 南通服务器 爱奇艺vip免费试用7天 美国堪萨斯 空间技术网 上海联通宽带测速 银盘服务 更多