feat: kubevirt - use 75% of the memory for hugepages

This commit is contained in:
Ryan Yin
2024-08-15 17:19:26 +08:00
parent e17bc1ec23
commit 43db6bcf63
4 changed files with 7 additions and 11 deletions
+2 -2
View File
@@ -58,8 +58,8 @@ in {
#
# pre-allocate hugepages manually(for kubevirt guest vms)
# NOTE: the hugepages allocated here can not be used for other purposes!
# so we should left some memory for the host OS
# so we should left some memory for the host OS and other vms that don't use hugepages
"hugepagesz=1G"
"hugepages=54"
"hugepages=48" # use 75% of the total memory for hugepages
];
}