虛擬化環(huán)境下的虛擬磁盤寫緩存機制研究
發(fā)布時間:2018-01-14 05:11
本文關鍵詞:虛擬化環(huán)境下的虛擬磁盤寫緩存機制研究 出處:《華中科技大學》2013年碩士論文 論文類型:學位論文
【摘要】:在虛擬化環(huán)境下,對于一些具有高可靠性需求的虛擬機,為了保證用戶數(shù)據(jù)的一致性會采用寫直達的磁盤寫緩存策略;對于其他具有I/O性能需求的虛擬機,采用寫回策略的磁盤寫緩存可以確保其基本的I/O性能。在同一個虛擬化平臺下,具有不同性能需求的虛擬機共享底層磁盤寫緩存,因此,它們在寫緩存的使用方式上存有爭議。但是,在當前的虛擬化環(huán)境下,針對不同性能需求的虛擬機對磁盤寫緩存使用方式上的矛盾并沒有相應的解決方案。 虛擬化環(huán)境下的虛擬磁盤寫緩存系統(tǒng)(VDWB)利用計算機系統(tǒng)虛擬化的結構特點,實現(xiàn)了在同一個虛擬化平臺上可靠性虛擬機和I/O性能型虛擬機在使用磁盤寫緩存上的良好共存。VDWB系統(tǒng)首先對底層磁盤寫緩存采用寫直達方式,保證了上層可靠性虛擬機的數(shù)據(jù)一致性要求,然后為I/O性能型虛擬機在VMM中開辟一片內(nèi)存空間作為虛擬磁盤寫緩存(VDiskCache),,通過虛擬磁盤寫緩存對寫數(shù)據(jù)流的緩沖作用,彌補因底層磁盤寫緩存采用寫直達方式而造成的I/O性能損失。虛擬機對虛擬磁盤寫緩存的內(nèi)部可控性,使得虛擬機根據(jù)上層應用需求的改變,可以實時的打開或關閉其相應的虛擬磁盤寫緩存,來適應虛擬機在可靠性或I/O性能間的需求變化。同時設計了虛擬磁盤寫緩存帶寬控制算法,減小頻繁的虛擬磁盤寫緩存刷新對可靠性虛擬機的性能影響。 實驗結果表明,VDWB系統(tǒng)解決了對底層磁盤寫緩存的使用方式上,可靠性虛擬機需要采用寫直達方式,而I/O性能型虛擬機需要采用寫回方式的爭議問題。在確?煽啃蕴摂M機的數(shù)據(jù)一致性的前提下,VDWB系統(tǒng)保證了I/O性能型虛擬機的I/O性能,使其系統(tǒng)吞吐量提升了100%。
[Abstract]:In the virtualization environment, for some virtual machines with high reliability, in order to ensure the consistency of user data, write-to-write cache policy will be adopted. For other virtual machines with I / O performance requirements, disk write caching using write-back policies ensures basic I / O performance on the same virtualization platform. Virtual machines with different performance requirements share the underlying disk write cache, so their use of write cache is controversial. However, in the current virtualization environment. There is no solution to the problem of disk write cache usage for virtual machines with different performance requirements. Virtual disk write caching system (VDWB) in virtualized environment takes advantage of the structural characteristics of computer system virtualization. Implemented on the same virtualization platform reliability virtual machine and I / O performance virtual machine in using disk write cache good coexistence .VDWB system first of all the underlying disk write cache using write direct mode. The data consistency requirement of the upper reliability virtual machine is guaranteed, and then a memory space is opened up in VMM for the I / O performance virtual machine to write cache VDiskCache. Through the buffering effect of virtual disk write cache on write data stream, I / O performance loss caused by the underlying disk write cache using write direct mode is compensated, and the internal controllability of virtual disk write cache caused by virtual machine. The virtual machine can open or close the corresponding virtual disk write cache in real time according to the change of the upper application requirements. In order to adapt to the requirements of virtual machine between reliability and I / O performance, a virtual disk write buffer bandwidth control algorithm is designed to reduce the impact of frequent virtual disk write cache refresh on the reliability of virtual machine. The experimental results show that the VDWB system solves the use of the underlying disk write cache, and the reliability virtual machine needs to use write direct mode. However, I / O performance virtual machine needs to be written back. VDWB system ensures I / O performance of I / O performance virtual machine on the premise of data consistency of reliable virtual machine. Increases its system throughput by 100.
【學位授予單位】:華中科技大學
【學位級別】:碩士
【學位授予年份】:2013
【分類號】:TP333.35
【參考文獻】
相關期刊論文 前2條
1 李現(xiàn)艷;趙書俊;初元萍;;基于MySQL的數(shù)據(jù)庫服務器性能測試[J];核電子學與探測技術;2011年01期
2 董耀祖;周正偉;;基于X86架構的系統(tǒng)虛擬機技術與應用[J];計算機工程;2006年13期
本文編號:1422147
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1422147.html
最近更新
教材專著