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.
商家介绍:创梦云是来自国内的主机销售商,成立于2018年4月30日,创梦云前期主要从事免备案虚拟主机产品销售,现在将提供5元挂机宝、特惠挂机宝、香港云服务器、美国云服务器、低价挂机宝等产品销售。主打高性价比高稳定性挂机宝、香港云服务器、美国云服务器、香港虚拟主机、美国虚拟主机。官方网站:http://cmy0.vnetdns.com本次促销产品:地区CPU内存硬盘带宽价格购买地址香港特价云服务器1...
virmach这是第二波出这种一次性周期的VPS了,只需要缴费1一次即可,用完即抛,也不允许你在后面续费。本次促销的是美国西海岸的圣何塞和美国东海岸的水牛城,周期为6个月,过后VPS会被自动且是强制性取消。需要临时玩玩的,又不想多花钱的用户,可以考虑下!官方网站:https://www.virmach.comTemporary Length Service Specials圣何塞VPS-一次性6个...
云基成立于2020年,目前主要提供高防海内外独立服务器用户,欢迎各类追求稳定和高防优质线路的用户。业务可选:洛杉矶CN2-GIA+高防(默认500G高防)、洛杉矶CN2-GIA(默认带50Gbps防御)、香港CN2-GIA高防(双向CN2GIA专线,突发带宽支持,15G-20G DDoS防御,无视CC)、国内高防服务器(广州移动、北京多线、石家庄BGP、保定联通、扬州BGP、厦门BGP、厦门电信、...
迈拓kvm为你推荐
传奇类手游哪个好传奇哪个版本比较好玩 最好玩的传奇手游排行榜帕萨特和迈腾哪个好迈腾和帕萨特哪个好法兰绒和珊瑚绒哪个好法兰绒、珊瑚绒、天鹅绒哪个暖和?小说软件哪个好用免费有什么好用的免费小说软件华为p40和mate30哪个好荣耀30pro和华为P40哪个好?宝来和朗逸哪个好新宝来和新朗逸选哪个?好纠结!!宝来和朗逸哪个好朗逸和宝来那个比较好些各方面核芯显卡与独立显卡哪个好英特尔核芯显卡怎么样?和独立显卡那个更好?清理手机垃圾软件哪个好手机垃圾清理软件哪个好视频软件哪个好手机看视频用什么软件好
论坛虚拟主机 域名投资 国际域名抢注 国外vps主机 过期域名抢注 息壤主机 mediafire omnis 美国便宜货网站 56折 国外空间服务商 阿里云代金券 tk域名 100x100头像 个人域名 新家坡 服务器是干什么的 超级服务器 申请网站 ebay注册 更多