Software Tuning, Performance Optimization & Platform Monitoring
Discussion regarding monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform updating.

Configure Memory Latency Checker to benchmark Optane DC PM

Wu__Kan
Beginner
798 Views

Hi there,

I'm using MLC to benchmark my Optane PM modules and wondering how to configure MLC in this case.

Specifically, I'm following https://software.intel.com/en-us/articles/configure-manage-and-profile-intel-optane-dc-persistent-memory-modules

and now I have a namespace for my PM modules with devdax mode on /dev/dax0.0 .

How should I configure MLC to benchmark this "device" then? thanks.

 

Kan

0 Kudos
1 Reply
Thomas_W_Intel
Employee
798 Views

MLC does not automatically detect persistent memory. Nevertheless, you can use it to measure bandwidth and latency for it by providing the path to filesystem with DAX. For latency, you can use the following:

mlc --latency_matrix -J/path/to/pmem

For bandwidth measurements, it is best to create a configuration file that describes which cores should access which memory with what access pattern. For example:

# cat mlc_1s2_23_ddrt.cfg
0-23 R seq 300000 pmem /mnt/pmem2
# mlc --loaded_latency -omlc_1s_23_ddrt.cfg -T -d0 -t60

For details on the format of the config file, please refer to the readme file that is included in MLC.

0 Kudos
Reply