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 |
|
#ffffff |
|
section.center {
text-align: center;
}
|
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.
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.
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.