虚拟化环境下高性能日志文件系统的研究
发布时间:2018-03-29 21:26
本文选题:虚拟化 切入点:日志型文件系统 出处:《华中科技大学》2012年硕士论文
【摘要】:日志型文件系统保证了在服务器宕机时能够通过日志进行快速的文件系统一致性检查和恢复,因此被广泛使用。但文件系统日志存在对文件系统性能,,尤其是写性能造成了一定的影响。而在虚拟化环境下,每台虚拟机都有自己的虚拟磁盘区域,分别对各自的磁盘分区和日志区域进行读写。因此,引入日志同时不影响虚拟机文件系统性能是一个挑战。 虚拟化环境下高性能日志文件系统为每台虚拟机添加虚拟日志块设备VJBD(Virtual Journaling Block Device),在保证虚拟机内文件系统日志正常功能的情况下,最大程度上减小了由于对日志的频繁读写操作而导致的写性能的下降。首先,它将原本存储于慢速设备如传统旋转磁盘上的日志数据,转移存储到文件系统能够访问到的高速设备上如内存或者SSD,同时对文件系统日志记录流程以及对虚拟化环境不做任何修改,对上层应用完全透明。其次,在虚拟机内部,文件系统将VJBD识别为普通的磁盘设备,直接调用虚拟机内部的块设备驱动进行日志读写。在虚拟机管理层,所有虚拟机的VJBD被统一管理和分配,对虚拟机管理层的性能影响始终控制在最小。 系统测试与结果分析表明:在多台虚拟机同时运行的情况下,使用VJBD进行日志记录的文件系统相比与传统方式记录日志的文件系统的写性能提高了150%左右,与无日志型文件系统相比,写性能下降在10%以内。从以上数据可以看出,VJBD在保证日志型文件系统的高可靠性的同时也保证了文件系统的高速写性能。
[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.
【学位授予单位】:华中科技大学
【学位级别】:硕士
【学位授予年份】:2012
【分类号】:TP333.35
【参考文献】
相关硕士学位论文 前1条
1 邵颖哲;基于半虚拟化设备模型的域间数据传输系统[D];华中科技大学;2008年
本文编号:1682952
本文链接:https://www.wllwen.com/kejilunwen/jisuanjikexuelunwen/1682952.html