虛擬化環(huán)境下高性能日志文件系統(tǒng)的研究
發(fā)布時間:2018-03-29 21:26
本文選題:虛擬化 切入點(diǎn):日志型文件系統(tǒng) 出處:《華中科技大學(xué)》2012年碩士論文
【摘要】:日志型文件系統(tǒng)保證了在服務(wù)器宕機(jī)時能夠通過日志進(jìn)行快速的文件系統(tǒng)一致性檢查和恢復(fù),因此被廣泛使用。但文件系統(tǒng)日志存在對文件系統(tǒng)性能,,尤其是寫性能造成了一定的影響。而在虛擬化環(huán)境下,每臺虛擬機(jī)都有自己的虛擬磁盤區(qū)域,分別對各自的磁盤分區(qū)和日志區(qū)域進(jìn)行讀寫。因此,引入日志同時不影響虛擬機(jī)文件系統(tǒng)性能是一個挑戰(zhàn)。 虛擬化環(huán)境下高性能日志文件系統(tǒng)為每臺虛擬機(jī)添加虛擬日志塊設(shè)備VJBD(Virtual Journaling Block Device),在保證虛擬機(jī)內(nèi)文件系統(tǒng)日志正常功能的情況下,最大程度上減小了由于對日志的頻繁讀寫操作而導(dǎo)致的寫性能的下降。首先,它將原本存儲于慢速設(shè)備如傳統(tǒng)旋轉(zhuǎn)磁盤上的日志數(shù)據(jù),轉(zhuǎn)移存儲到文件系統(tǒng)能夠訪問到的高速設(shè)備上如內(nèi)存或者SSD,同時對文件系統(tǒng)日志記錄流程以及對虛擬化環(huán)境不做任何修改,對上層應(yīng)用完全透明。其次,在虛擬機(jī)內(nèi)部,文件系統(tǒng)將VJBD識別為普通的磁盤設(shè)備,直接調(diào)用虛擬機(jī)內(nèi)部的塊設(shè)備驅(qū)動進(jìn)行日志讀寫。在虛擬機(jī)管理層,所有虛擬機(jī)的VJBD被統(tǒng)一管理和分配,對虛擬機(jī)管理層的性能影響始終控制在最小。 系統(tǒng)測試與結(jié)果分析表明:在多臺虛擬機(jī)同時運(yùn)行的情況下,使用VJBD進(jìn)行日志記錄的文件系統(tǒng)相比與傳統(tǒng)方式記錄日志的文件系統(tǒng)的寫性能提高了150%左右,與無日志型文件系統(tǒng)相比,寫性能下降在10%以內(nèi)。從以上數(shù)據(jù)可以看出,VJBD在保證日志型文件系統(tǒng)的高可靠性的同時也保證了文件系統(tǒng)的高速寫性能。
[Abstract]:The log file system is widely used because it ensures that the file system consistency can be checked and recovered quickly through the log when the server is down, but the file system log has a good performance on the file system. In the virtualization environment, each virtual machine has its own virtual disk area, which reads and writes its own disk partition and log area. Introducing logs without affecting the performance of virtual machine file systems is a challenge. In virtualized environment, high performance log file system adds virtual log block device VJBD(Virtual Journaling Block device to each virtual machine, which ensures the normal function of file system log in virtual machine. Minimizes the decline in write performance due to frequent read and write operations on logs. First, it reduces log data that is stored on slow devices such as traditional rotating disks. Transfer storage to high-speed devices accessible by the file system, such as memory or SSDs, and make no changes to the file system logging process and to the virtualized environment, so it is completely transparent to the upper application. Second, within the virtual machine, The file system recognizes the VJBD as a normal disk device and directly calls the block device driver inside the virtual machine for log reading and writing. In the management of the virtual machine, the VJBD of all virtual machines is managed and distributed uniformly. The performance impact on virtual machine management is always kept to a minimum. The system test and result analysis show that the write performance of the file system recorded by VJBD is improved by about 150% compared with that of the file system recorded in the traditional way under the condition of multiple virtual machines running simultaneously. Compared with the log free file system, the write performance is less than 10%. From the above data, we can see that VJBD not only ensures the high reliability of the log file system, but also ensures the high write performance of the file system.
【學(xué)位授予單位】:華中科技大學(xué)
【學(xué)位級別】:碩士
【學(xué)位授予年份】:2012
【分類號】:TP333.35
【參考文獻(xiàn)】
相關(guān)碩士學(xué)位論文 前1條
1 邵穎哲;基于半虛擬化設(shè)備模型的域間數(shù)據(jù)傳輸系統(tǒng)[D];華中科技大學(xué);2008年
本文編號:1682952
本文鏈接:http://sikaile.net/kejilunwen/jisuanjikexuelunwen/1682952.html
最近更新
教材專著