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

[PCM] Processor Counter Monitor replaces Intel Performance Counter Monitor

Thomas_W_Intel
Employee
2,133 Views

Intel Performance Counter Monitor v2.11.1 will be the last version and there won't be any new releases. Therefore, the download package has just been removed from the web page.

Instead, the authors have started contributing to the fork Processor Counter Monitor, which is hosted on.github. The changes that have already been submitted include:

  • support for processors for processors formerly code-named Apollo Lake
  • bug fixes
0 Kudos
4 Replies
Gabrieli_S_
Beginner
2,133 Views

Hi,

I installed PCM on my linux host and I would like to monitor my application, but I don't know the correct syntax for this. Can you help me?

The command for I to compile my application is:

./omp/lud_omp -n 4 -i /home/openMP/Aplicaçoes/dwarf/rodinia_2.3/data/lud/2048.dat

 

How to monitor this with ./pcm-power.x for example?

 

 

 

 

0 Kudos
Thomas_W_Intel
Employee
2,133 Views

pcm-power.c -h

prints you a help message of its usage. You can take a measure of a progam run by providg the program name as a parameter to pcm-power.x separated by two dashes:

pcm-power.x -- ./omp/lud_omp -n 4 -i /home/openMP/Aplicaçoes/dwarf/rodinia_2.3/data/lud/2048.dat

Please note that pcm monitors the whole system. So, if some other program is generating load and consuming power, this will be included in the output.

 

0 Kudos
Now__Joe
Beginner
2,133 Views

I would like to monitor behavior on the PCIe.

I have a Linux machine with the following listed pci devices:

 

00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:16.3 Serial controller: Intel Corporation 6 Series/C200 Series Chipset Family KT Controller (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.4 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 5 (rev b4)
00:1c.6 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 7 (rev b4)
00:1c.7 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 8 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Q65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)

 

I followed the GitHub link to your program, and saw ending with WIN. Does it mean the program works on Windows? 

Will your program work on Linux?

 

thanks

 

 

 

 

 

0 Kudos
Aditya_Kumar_Singh
2,133 Views

I'm trying to get the DRAM energy consumed by a specific function in a program. 

for that, I try to use the inbuilt functions defined in pcm-power.cpp But it didn't work.

compiling the program: g++ c_example.c -o matrix -lpthread -lpcm -ldl -std=c++11

0 Kudos
Reply