Software Tuning, Performance Optimization & Platform Monitoring
Discussion around monitoring and software tuning methodologies, Performance Monitoring Unit (PMU) of Intel microprocessors, and platform monitoring
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.

Configure Memory Latency Checker to benchmark Optane DC PM

Wu__Kan
Beginner
412 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
412 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.

Reply