| 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 <[email protected]> |
© 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 virtualisation software.
Requires support from hardware, like Intel VT-(x|d) and AMD-V features.
May require use of "feature masking" for live 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 (only store unique data once) 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.



