Skip to content

Fix memory measurements for AMD Zen2

Thomas Gruber requested to merge amd_zen2_mem_fix into master

Created by: TomTheBear

Memory measurements on AMD Zen2 need to be scaled dependent on the NPS mode (4.0/num_numadomains). This works well for single-socket servers but for multi-socket systems, the divisor needs to be the number of NUMA domains per socket. This patch fixes this by including the number of CPU sockets in the scaling factor: 4.0/(num_numadomains/num_sockets).

Merge request reports

Loading