Skip to content

RFC memory tiering: calculate abstract distance based on ACPI HMAT

Huang Ying linux-mm lkml 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest4 patches 2 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/4memory tiering: add abstract distance calculation algorithms managementinclude/linux/memory-tiers.h mm/memory-tiers.c+78 -00 replies
2/4acpi, hmat: refactor hmat_register_target_initiators()drivers/acpi/numa/hmat.c+30 -510 replies
3/4acpi, hmat: calculate abstract distance with HMATdrivers/acpi/numa/hmat.c include/linux/memory-tiers.h mm/memory-tiers.c+126 -22 replies
4/4dax, kmem: calculate abstract distance with general interfacedrivers/dax/kmem.c include/linux/memory-tiers.h mm/memory-tiers.c+44 -140 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [RFC 0/4] memory tiering: calculate abstract distance based on ACPI HMAT

We have the explicit memory tiers framework to manage systems with multiple types of memory, e.g., DRAM in DIMM slots and CXL memory devices. Where, same kind of memory devices will be grouped into memory types, then put into memory tiers. To describe the performance of a memory type, abstract distance is defined. Which is in direct proportion to the memory latency and inversely proportional to the memory bandwidth. To keep the code as simple as possible, fixed abstract distance is used in dax/kmem to describe slow memory such as Optane DCPMM.

To support more memory types, in this series, we added the abstract distance calculation algorithm management mechanism, provided a algorithm implementation based on ACPI HMAT, and used the general abstract distance calculation interface in dax/kmem driver. So, dax/kmem can support HBM (high bandwidth memory) in addition to the original Optane DCPMM.

Best Regards,
Huang, Ying