-
-
Notifications
You must be signed in to change notification settings - Fork 109
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
reduce default SWIOTLB size when no PCI devs are used
Linux inside HVM will allocate 64MB for bouncing DMA (SWIOTLB) by default. If no real PCI device is assigned, that's way too much, and wastes over 15% of VM's initial memory. With real PCI devices, it's usually too much too, but it's very device specific, so don't risk breaking it. In other cases, reduce default to 4MB. Note PVH domain will not allocate SWIOTLB anyway, as no PCI devices are there at all. This difference contributes to the VM start time, so reducing SWIOTLB should also improve that part. QubesOS/qubes-issues#6174 (cherry picked from commit c774fd4)
- Loading branch information
Showing
2 changed files
with
7 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters