基于影子緩存的多增量虛擬機(jī)啟動(dòng)系統(tǒng)
發(fā)布時(shí)間:2018-11-03 17:11
【摘要】:在虛擬機(jī)鏡像文件集中存儲(chǔ)的環(huán)境下,大量虛擬機(jī)同時(shí)啟動(dòng)時(shí),由于硬盤I/O吞吐能力有限,使得虛擬機(jī)鏡像文件從硬盤傳輸?shù)絻?nèi)存的時(shí)間過長(zhǎng),最終導(dǎo)致虛擬機(jī)啟動(dòng)速度過慢。 為了解決上述問題,基于影子緩存的多增量虛擬機(jī)啟動(dòng)系統(tǒng)Scache(StartingSystem of Multiple Incremental Virtual Machines Based on Shadow Cache)利用虛擬機(jī)間的相似性,使用基礎(chǔ)鏡像文件加增量鏡像文件的方式為虛擬機(jī)提供虛擬塊設(shè)備,,然后通過搭建由多個(gè)數(shù)據(jù)集緩沖結(jié)構(gòu)組成的影子緩存,以及修改開源虛擬機(jī)管理系統(tǒng)Xen4.1.2上Qemu塊設(shè)備模擬器中增量鏡像文件異步讀機(jī)制,將增量虛擬機(jī)啟動(dòng)過程中需要的數(shù)據(jù)單獨(dú)緩存于特定的數(shù)據(jù)集緩沖結(jié)構(gòu)中以供增量虛擬機(jī)啟動(dòng)時(shí)取用。其中,每一個(gè)數(shù)據(jù)集緩沖結(jié)構(gòu)對(duì)應(yīng)一種基礎(chǔ)鏡像文件,可被基于此基礎(chǔ)鏡像而創(chuàng)建的多個(gè)增量虛擬機(jī)共用。由此對(duì)于虛擬機(jī)而言,內(nèi)存的緩存結(jié)構(gòu)被設(shè)計(jì)得和硬盤中鏡像文件的層次結(jié)構(gòu)一致,猶如鏡像文件棧的影子。與此同時(shí), Scache系統(tǒng)還避免了多個(gè)增量虛擬機(jī)啟動(dòng)過程中被共用的基礎(chǔ)鏡像文件里部分?jǐn)?shù)據(jù)被重復(fù)讀取的情形。 經(jīng)測(cè)試驗(yàn)證,Scache系統(tǒng)可最小化增量虛擬機(jī)啟動(dòng)過程中硬盤和網(wǎng)絡(luò)上的負(fù)載,并對(duì)啟動(dòng)過程有較明顯的加速效果。而針對(duì)一種基礎(chǔ)鏡像創(chuàng)建的多個(gè)增量虛擬機(jī),Scache系統(tǒng)額外消耗的內(nèi)存在具體數(shù)量上也很小,且不受虛擬機(jī)內(nèi)存配置大小的影響。
[Abstract]:In the virtual machine image file centralized storage environment, when a large number of virtual machines start at the same time, due to the hard disk I / O throughput capacity is limited, so the virtual machine image file from the hard disk to memory transfer time is too long. The result is that the virtual machine starts too slowly. In order to solve the above problem, Scache (StartingSystem of Multiple Incremental Virtual Machines Based on Shadow Cache), a multi-increment virtual machine startup system based on shadow cache, utilizes the similarity between virtual machines. The virtual block device is provided for the virtual machine by using the basic image file and the incremental image file, and then the shadow cache composed of multiple data set buffering structures is built. And modify the asynchronous reading mechanism of incremental mirror files in the Qemu block device simulator on the open source virtual machine management system (Xen4.1.2). The data needed during the incremental virtual machine startup is cached separately in a specific data set buffer structure for the incremental virtual machine to be accessed at startup time. Each data set buffer structure corresponds to an underlying image file, which can be shared by multiple incremental virtual machines created based on the underlying image. Therefore, for virtual machines, the memory cache structure is designed to be consistent with the hierarchical structure of the mirror file in the hard disk, as the shadow of the mirror file stack. At the same time, the Scache system avoids the repeated reading of part of the data in the shared underlying image file during the startup of multiple incremental virtual machines. The test results show that the Scache system can minimize the load on the hard disk and network during the incremental virtual machine startup process and has obvious acceleration effect. However, for multiple incremental virtual machines created by a base image, the amount of extra consumption of Scache system is also very small, and it is not affected by the memory configuration size of virtual machine.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP302
本文編號(hào):2308413
[Abstract]:In the virtual machine image file centralized storage environment, when a large number of virtual machines start at the same time, due to the hard disk I / O throughput capacity is limited, so the virtual machine image file from the hard disk to memory transfer time is too long. The result is that the virtual machine starts too slowly. In order to solve the above problem, Scache (StartingSystem of Multiple Incremental Virtual Machines Based on Shadow Cache), a multi-increment virtual machine startup system based on shadow cache, utilizes the similarity between virtual machines. The virtual block device is provided for the virtual machine by using the basic image file and the incremental image file, and then the shadow cache composed of multiple data set buffering structures is built. And modify the asynchronous reading mechanism of incremental mirror files in the Qemu block device simulator on the open source virtual machine management system (Xen4.1.2). The data needed during the incremental virtual machine startup is cached separately in a specific data set buffer structure for the incremental virtual machine to be accessed at startup time. Each data set buffer structure corresponds to an underlying image file, which can be shared by multiple incremental virtual machines created based on the underlying image. Therefore, for virtual machines, the memory cache structure is designed to be consistent with the hierarchical structure of the mirror file in the hard disk, as the shadow of the mirror file stack. At the same time, the Scache system avoids the repeated reading of part of the data in the shared underlying image file during the startup of multiple incremental virtual machines. The test results show that the Scache system can minimize the load on the hard disk and network during the incremental virtual machine startup process and has obvious acceleration effect. However, for multiple incremental virtual machines created by a base image, the amount of extra consumption of Scache system is also very small, and it is not affected by the memory configuration size of virtual machine.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級(jí)別】:碩士
【學(xué)位授予年份】:2013
【分類號(hào)】:TP302
【共引文獻(xiàn)】
相關(guān)期刊論文 前1條
1 袁野;趙海燕;曹健;陳慶奎;;虛擬機(jī)內(nèi)存遷移技術(shù)研究[J];小型微型計(jì)算機(jī)系統(tǒng);2014年02期
相關(guān)碩士學(xué)位論文 前1條
1 張凱;基于運(yùn)行模式的云計(jì)算資源調(diào)度方法研究[D];哈爾濱理工大學(xué);2013年
本文編號(hào):2308413
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/2308413.html
最近更新
教材專著