1
Light Weight Virtualization with QEMU/KVM
Anthony Xu <anthony.xu@intel.com> Chao Peng <chao.p.peng@intel.com> Haozhong Zhang <haozhong.zhang@intel.com>
Light Weight Virtualization with QEMU/KVM Anthony Xu - - PowerPoint PPT Presentation
Light Weight Virtualization with QEMU/KVM Anthony Xu <anthony.xu@intel.com> Chao Peng <chao.p.peng@intel.com> Haozhong Zhang <haozhong.zhang@intel.com> 1 Outline Background Optimization for VM Launch Time Memory Footprint
1
Anthony Xu <anthony.xu@intel.com> Chao Peng <chao.p.peng@intel.com> Haozhong Zhang <haozhong.zhang@intel.com>
2
3
Container Traditional VM
Launch Time
✓
Resource Efficiency
✓
Density
Deployment
✓
Security
✓
4
Container Traditional VM
Light Weight VM Launch Time
✓ ✓
Resource Efficiency
✓ ✓
Density
Deployment
✓ ✓
Security
✓ ✓
5
6
7
283 (22%) 43 (3%) 468 (37%) 211 (17%) 271 (21%)
200 400 600 800 1000 1200 1400
Baseline
QEMU SeaBIOS OptionROM (linuxboot) Linux Kernel Userspace (systemd)
Total: 1276 ms
8
9
10
11
12
283 68 43 468 211 72 271 195
200 400 600 800 1000 1200 1400
Baseline Optimized QEMU SeaBIOS OptionROM (linuxboot) Linux Kernel Userspace (systemd)
Total: reduced by 74% (1276 ms335 ms)
13
283 232 232 90 54 54 54 68 43 43 43 43 43 29 29 468 468 468 468 468 468 468 211 211 155 155 155 142 124 72 271 271 240 240 240 240 195 195 200 400 600 800 1000 1200 1400 Baseline QEMU Config Kernel Parameter Cache CPUID Parallelize VCPU Init Q35 Opt vNVDIMM Remove BIOS QEMU SeaBIOS OptionROM (linuxboot) Linux Kernel Userspace (systemd)
14
15
117872 134348 (+14%) 164968 (+40%) 20000 40000 60000 80000 100000 120000 140000 160000 180000 kvmtool QEMU Lite QEMU Lite
VmRSS
16
17
18
19
20
21
22
23