Persistent memory’s (PM) byte-addressability and high capacity will also make it emerging for virtualized environment. Modern virtual machine monitors virtualize PM using either I/O virtualization or memory virtualization. However, I/O virtualization will sacrifice PM’s byte-addressability, and memory virtualization does not get the chance of PM image management. In this article, we enhance QEMU’s memory virtualization mechanism. The enhanced system can achieve both PM’s byte-addressability inside virtual machines and PM image management outside the virtual machines. We also design
pcow
, a virtual machine image format for PM, which is compatible with our enhanced memory virtualization and supports storage virtualization features including thin-provisioning, base image, snapshot, and striping. Address translation is performed with the help of the Extended Page Table, thus much faster than image formats implemented in I/O virtualization. We also optimize
pcow
considering PM’s characteristics. We perform exhaustive performance evaluations on an x86 server equipping with Intel’s Optane DC persistent memory. The evaluation demonstrates that our scheme boosts the overall performance by up to 50× compared with qcow2, an image format implemented in I/O virtualization, and brings almost no performance overhead compared with the native memory virtualization. The striping feature can also scale-out the virtual PM’s bandwidth performance.
[1]
Andrea C. Arpaci-Dusseau,et al.
Crash Consistency
,
2015,
ACM Queue.
[2]
Tao Huang,et al.
Clustering-based acceleration for virtual machine image deduplication in the cloud environment
,
2016,
J. Syst. Softw..
[3]
Shih-Hung Chen,et al.
Phase-change random access memory: A scalable technology
,
2008,
IBM J. Res. Dev..
[4]
Xueti Tang,et al.
Spin-transfer torque magnetic random access memory (STT-MRAM)
,
2013,
JETC.
[5]
Richard McDougall,et al.
Virtualization performance: perspectives and challenges ahead
,
2010,
OPSR.
[6]
Rusty Russell,et al.
virtio: towards a de-facto standard for virtual I/O devices
,
2008,
OPSR.
[7]
Jian Xu,et al.
NOVA-Fortis: A Fault-Tolerant Non-Volatile Main Memory File System
,
2017,
SOSP.