feat: decrease pre-allocated hugepages

This commit is contained in:
Ryan Yin
2024-07-30 01:18:23 +08:00
parent f9d07d92de
commit 8ffaf4e3ae
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -59,6 +59,6 @@ in {
# NOTE: the hugepages allocated here can not be used for other purposes! # 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
"hugepagesz=1G" "hugepagesz=1G"
"hugepages=56" "hugepages=54"
]; ];
} }
+1 -1
View File
@@ -53,6 +53,6 @@ in {
# NOTE: the hugepages allocated here can not be used for other purposes! # 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
"hugepagesz=1G" "hugepagesz=1G"
"hugepages=56" "hugepages=55"
]; ];
} }
+1 -1
View File
@@ -53,6 +53,6 @@ in {
# NOTE: the hugepages allocated here can not be used for other purposes! # 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
"hugepagesz=1G" "hugepagesz=1G"
"hugepages=18" "hugepages=16"
]; ];
} }