mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-07-10 06:32:42 +02:00
feat: decrease pre-allocated hugepages
This commit is contained in:
@@ -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"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -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"
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user