資源描述:
《基于xen的虛擬機(jī)快照技術(shù)研究》由會(huì)員上傳分享,免費(fèi)在線閱讀,更多相關(guān)內(nèi)容在學(xué)術(shù)論文-天天文庫(kù)。
1、東南大學(xué)碩士學(xué)位論文基于Xen的虛擬機(jī)快照技術(shù)研究姓名:張輝申請(qǐng)學(xué)位級(jí)別:碩士專(zhuān)業(yè):計(jì)算機(jī)科學(xué)與技術(shù);計(jì)算機(jī)系統(tǒng)結(jié)構(gòu)指導(dǎo)教師:任國(guó)林;徐造林2012-06-03摘要虛擬化技術(shù)在服務(wù)器整合、集群計(jì)算、計(jì)算機(jī)安全等領(lǐng)域具有很高的應(yīng)用價(jià)值,Xen是一種開(kāi)源、高效的虛擬化軟件,一直被廣泛地應(yīng)用和研究。虛擬機(jī)快照技術(shù)是虛擬化技術(shù)中一個(gè)重要組成部分,被應(yīng)用于虛擬機(jī)遷移、操作系統(tǒng)調(diào)試、網(wǎng)絡(luò)入侵行為分析等領(lǐng)域。本文對(duì)Xen的虛擬機(jī)快照技術(shù)進(jìn)行了研究,發(fā)現(xiàn)Xen虛擬機(jī)快照時(shí)將全部的虛擬機(jī)內(nèi)存數(shù)據(jù)保存到快照文件,而虛擬機(jī)中大量的頁(yè)面緩存數(shù)據(jù)和磁盤(pán)數(shù)據(jù)是一致的。為減
2、小快照文件大小,本文對(duì)Xen虛擬機(jī)快照技術(shù)進(jìn)行了優(yōu)化,將與磁盤(pán)數(shù)據(jù)相同的GuestOS頁(yè)面緩存以索引形式存儲(chǔ)到快照文件,在恢復(fù)快照時(shí)直接從磁盤(pán)讀取相應(yīng)數(shù)據(jù)。為此,本文設(shè)計(jì)并實(shí)現(xiàn)了GuestOS頁(yè)面緩存監(jiān)視模塊,監(jiān)視訪存時(shí)頁(yè)面緩存與磁盤(pán)數(shù)據(jù)的一致性;同時(shí)修改了磁盤(pán)i/o事件的相關(guān)處理代碼,實(shí)現(xiàn)本文的快照優(yōu)化技術(shù)。實(shí)驗(yàn)數(shù)據(jù)表明,對(duì)于磁盤(pán)i/o頻繁的虛擬機(jī)應(yīng)用,優(yōu)化后的虛擬機(jī)快照文件大小減小了30%一44%,同時(shí)引起較低的系統(tǒng)性能損耗。虛擬化技術(shù)還在不斷地發(fā)展,期望本文的研究能夠?yàn)樘摂M機(jī)快照技術(shù)的應(yīng)用帶來(lái)一些有益的經(jīng)驗(yàn)。關(guān)鍵字:Xen技術(shù),虛擬機(jī)快照
3、,頁(yè)面高速緩存,虛擬化東南大學(xué)碩士學(xué)位論文AbstractVirtualizationtechnologyisofveryhighapplicationvalueinmanyfieldssuchasserverconsolidation,clustercomputingandcomputersecurityandSOon,andXenis趴opensoul'ceandefficientvirtualizationsoftware,whichhasbeenwidelyappliedandresearched.Thevirtualmachinesn
4、apshottechnology,asallimportantpartofvirtualizationtechnology,iswidelyusedinthefieldsofvirtualmachinesmigration,operatingsystemsdebugging,networkintrusionbehavioranalysisetc.Inthisthesis,virtualmachinesnapshottechnologyofXenhasbeenresearched,whichfoundsthatallthevirtualmachi
5、nememorydataaresavedtothesnapshotfiles,butalargenumberofpagecachingdataofvirtualmachineareconsistentwithdiskdata.Inordertoreducethesizeofsnapshotfiles,inthisthesis,thevirtualmachinesnapshottechnologyofXenisoptimized,andtheGuestOSpagecachewhichhasthesamedatawithdiskstoredtoth
6、esnapshotfilesinanindexform,andthenthedataaredirectlyreadfromdiskwhenthesnapshotisrestored.Thus,Inthisthesis,theGuestOSpagecachemonitoringmodule,whichmonitortheconsistencybetweenpagecacheanddiskdatawhentheGuestOSaccessmemory,isdesignedandrealized.Meanwhilethehandlingcodesoft
7、hediskI/Oeventaremodifiedandthesnapshotoptimizationofthisthesisisachieved.Theexperimentaldatashowmatthesizeoftheoptimizedvirtualmachinesnapshotfileisreducedby30%一44%,whichwillcauselosslowersystemperformanceforthediskI/Ofrequentlyvirtualmachineapplications.Virtualizationtechn
8、ologyaredevelopingcontinuously,Theauthorsincerelyhopesthatresearchinthisthe