Skip to content

luzhixing12345/pcm

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intel PCM for vtism

pcm

this repo is used to get memory bandwidth and latency for vtism

build

git submodule update --init --recursive
mkdir build
cd build
cmake ..
cmake --build .

usage

all the following cmd should run in pcm root path

for bandwidth

sudo ./build/bin/pcm-memory

for latency

sudo ./build/bin/pcm-raw -el event_file.txt 2>/dev/null -ext | python cal_latency.py

check

(base) lzx@cxl2:~$ cat /sys/kernel/mm/vtism/dump
node 0 demotion target: 1 2 3
node 1 demotion target: 0 2 3
node 2 has no demotion target(cxl node)
node 3 has no demotion target(cxl node)

node 0: total = 64058 MB(62 GB), free = 59912 MB(58 GB)
node 1: total = 64453 MB(62 GB), free = 46731 MB(45 GB)
node 2: total = 64511 MB(62 GB), free = 64200 MB(62 GB)
node 3: total = 64505 MB(62 GB), free = 64199 MB(62 GB)

  node   read_bw(MB/s)  write_bw(MB/s)  latency(ns) to_cxl_latency(ns)
     0               0               0         186            464
     1               0               0         210           3030
     2               0               0           -              -
     3               0               0           -              -

About

Intel® Performance Counter Monitor (Intel® PCM)

Resources

License

Contributing

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 93.4%
  • C 2.5%
  • Shell 1.6%
  • CMake 1.3%
  • Python 1.0%
  • PowerShell 0.2%