Files
ubicloud/prog/setup_hugepages.rb
Hadi Moshayedi 93c2b5585a Change the hugepages arithmetic.
Previously, at an arm64 host with 128g memory & 80 cores we tried to get
128 hugepages (2 + 128*79/80), which might put the host under pressure.

This PR enforces a static allocation of 5GB of memory for the host
across all configurations, enhancing the predictability of memory
available for services running on the host.

In current deployments we have allocated either 248 or 249 huepages per
256g host, so this doesn't reduce the capacity of current deployments.
2024-02-27 11:34:14 -08:00

626 B