-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Yaroslav Borbat <[email protected]>
- Loading branch information
1 parent
6c82174
commit 02595f8
Showing
1 changed file
with
21 additions
and
0 deletions.
There are no files selected for viewing
21 changes: 21 additions & 0 deletions
21
images/virt-artifact/patches/099-test-increase-mem-overhead.patch
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
diff --git a/pkg/virt-controller/services/template.go b/pkg/virt-controller/services/template.go | ||
index f607c24786..83d7c4cd5b 100644 | ||
--- a/pkg/virt-controller/services/template.go | ||
+++ b/pkg/virt-controller/services/template.go | ||
@@ -119,11 +119,11 @@ const EXT_LOG_VERBOSITY_THRESHOLD = 5 | ||
const ephemeralStorageOverheadSize = "50M" | ||
|
||
const ( | ||
- VirtLauncherMonitorOverhead = "25Mi" // The `ps` RSS for virt-launcher-monitor | ||
- VirtLauncherOverhead = "100Mi" // The `ps` RSS for the virt-launcher process | ||
- VirtlogdOverhead = "20Mi" // The `ps` RSS for virtlogd | ||
- VirtqemudOverhead = "35Mi" // The `ps` RSS for virtqemud | ||
- QemuOverhead = "30Mi" // The `ps` RSS for qemu, minus the RAM of its (stressed) guest, minus the virtual page table | ||
+ VirtLauncherMonitorOverhead = "250Mi" // The `ps` RSS for virt-launcher-monitor | ||
+ VirtLauncherOverhead = "1000Mi" // The `ps` RSS for the virt-launcher process | ||
+ VirtlogdOverhead = "200Mi" // The `ps` RSS for virtlogd | ||
+ VirtqemudOverhead = "350Mi" // The `ps` RSS for virtqemud | ||
+ QemuOverhead = "300Mi" // The `ps` RSS for qemu, minus the RAM of its (stressed) guest, minus the virtual page table | ||
// Default: limits.memory = 2*requests.memory | ||
DefaultMemoryLimitOverheadRatio = float64(2.0) | ||
) |