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.
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.