Skip to content

Latest commit

 

History

History
116 lines (84 loc) · 3.86 KB

13-opt_hw_virt.md

File metadata and controls

116 lines (84 loc) · 3.86 KB
SPDX-FileCopyrightText SPDX-License-Identifier title author footer description keywords color class style
© 2023 Palsmo
CC-BY-SA-4.0
Virtualisation course: HW-level optimization
Joel Rangsmo <joel@menacit.se>
© Course authors (CC BY-SA 4.0)
How hardware and software features can be used to accelerate VMs
virtualisation
vm
acceleration
accel
devops
#ffffff
invert
section.center { text-align: center; }

Optimizing virtualisation

Making HW-level VMs go wroooom!

bg right:30%


CPU assisted virtualisation

Allow guests to access parts of CPU, RAM and PCI bus without going through virtualiser.

May require use of feature masking for migration and security.

bg right:30%


Para-virtualisation

Let's not pretend that guests are running on real hardware.

Virtual devices don't necessarily need to act like physical HW and can be much more efficient.

Virtio offers standardised virtual devices such as NICs, block devices ("disk drives"), sockets and sound cards.

bg right:30%


Memory and data optimization

Deduplication may be used for both guest memory/RAM and disk to save a lot of space.

Memory ballooning features enables overprovisioning of RAM in guests.

bg right:30%