支持无冗余 I/O 和缓存的数字指纹虚拟磁盘技术
Fingerprinted Virtual Disk for Redundancy-free I/O and Caching
虚拟化环境中,虚拟磁盘的存储整合技术产生了大量的存储冗余,给虚拟磁盘的 I/O 和缓存带来了巨大的压力。本文提出了一种数字指纹虚拟磁盘(Fingerprinted Virtual Disk,FVD)技术以实现虚拟磁盘的无冗余 I/O 和缓存。该技术为每个虚拟磁盘数据块维护一个持久的数字指纹,在运行时刻用数字指纹识别数据内容,并利用存在于客户虚拟机磁 盘缓存中的数据消除冗余的磁盘访问请求。在 KVM 环境中的实验结果表明使用 FVD 格式 的虚拟磁盘,数据的顺序和随机冗余读取速度分别从 122MB/秒和 45MB/秒提到高了 430MB/秒和 368MB/秒,对于无冗余的顺序读取只带来了 0.3%的额外开销,在写操作中维 护持久化数字指纹的开销仅为9.4%。使用FVD格式的虚拟磁盘时,1到 16台 Linux虚拟机的平均并发启动时间都约为38秒,而使用RAW格式的虚拟机磁盘时这一时间最长可达 178 秒。对于 8个Windows 虚拟机,FVD 加速了 65.1%的并发系统启动,而 Office软件的并行 启动性能提升了 168%。
Storage consolidation in a virtualized environment introduces tremendous duplications on virtual disks and imposes a great pressure on the disk I/O and caching. In this paper, we present the Fingerprinted Virtual Disk (FVD) approach to provide redundancy-free disk I/O and caching over virtual disks. FVD introduces persistent fingerprints for virtual disk blocks to enable I/O redundancy detection before accessing the disk, and exploits the content pages that already in guest caches to service the redundant I/O requests by page sharing. By implementing and evaluating a prototype of FVD on the KVM hypervisor, we demonstrate that our FVD prototype improves the sequential and random read throughput on duplicate data from 122 MB/s to 430 MB/s and from 45 MB/s to 368 MB/s, respectively. Meanwhile, the overhead on fresh sequential reads is only 0.3%, and the writing overhead for maintaining persistent fingerprints is 9.4%. Our experimental results also show that the average booting time of 1 to 16 simultaneously running Linux VMs is almost constant near 38s with FVD, while the booting time increases rapidly to 178s without FVD. For 8 Windows VMs, the booting time is accelerated by 65.1% with FVD, and the time to launch office applications is accelerated by 168.0%.
刘先华、杨春
计算技术、计算机技术
计算机系统结构虚拟化存贮去冗余
rchitectureVirtualizationStorageDuplication
刘先华,杨春.支持无冗余 I/O 和缓存的数字指纹虚拟磁盘技术[EB/OL].(2017-03-20)[2025-08-23].http://www.paper.edu.cn/releasepaper/content/201703-259.点此复制
评论