diff --git a/modules/virt-enabling-higher-vm-workload-density.adoc b/modules/virt-enabling-higher-vm-workload-density.adoc index c0959c59ba5..f64667a5700 100644 --- a/modules/virt-enabling-higher-vm-workload-density.adoc +++ b/modules/virt-enabling-higher-vm-workload-density.adoc @@ -66,10 +66,14 @@ spec: RequiredBy=kubelet-dependencies.target enabled: true name: swap-provision.service + kernelArguments: + - schedstats=enable ---- + Set the `SWAP_SIZE_MB` value to the amount of swap space to provision on the node, in MB. Adjust this value by using the formula that follows. + +The `schedstats=enable` kernel argument enables scheduler statistics that virtualization observability dashboards use, such as vCPU wait metrics. This kernel argument adds a minor additional load to the scheduler. ++ Ensure that the provisioned swap space is at least equal to the overcommitted RAM. Calculate the amount of swap space to provision on a node by using the following formula: + ----