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

PCM 2.5.1 - cleanup after execution?

Rolf_Andersson
Beginner
286 Views

Hi,
when running pcm-tsx.x multiple times I stumbled on something that looks like a cleanup prob.
This may already be known but I post a brief log anyway.

Best,
Rolf 

---

Rolfs-MacBook-Air:IntelPerformanceCounterMonitorV2.5.1 ran$ ./pcm-tsx.x 2

Intel(r) Performance Counter Monitor: Intel(r) Transactional Synchronization Extensions Monitoring Utility

Copyright (c) 2013 Intel Corporation

Num logical cores: 4
Num sockets: 1
Threads per core: 2
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 4
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency: 3066666659 Hz

Detected Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz "Intel(r) microarchitecture codename unknown"
Update every 2 seconds
Time elapsed: 1501 ms
Core | IPC | Instructions | Cycles | Transactional Cycles | Aborted Cycles | #RTM | #HLE | Cycles/Transaction
0 0.44 96 M 217 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
1 0.25 8611 K 35 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
2 0.38 69 M 182 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
3 0.26 9312 K 35 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
-------------------------------------------------------------------------------------------------------------------
* 0.39 184 M 471 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A

Time elapsed: 1502 ms
Core | IPC | Instructions | Cycles | Transactional Cycles | Aborted Cycles | #RTM | #HLE | Cycles/Transaction
0 0.42 128 M 305 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
1 0.32 21 M 65 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
2 0.36 92 M 259 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
3 0.60 85 M 142 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
-------------------------------------------------------------------------------------------------------------------
* 0.42 327 M 774 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A

^CCleaning up
Rolfs-MacBook-Air:IntelPerformanceCounterMonitorV2.5.1 ran$ ./pcm-tsx.x 2

Intel(r) Performance Counter Monitor: Intel(r) Transactional Synchronization Extensions Monitoring Utility

Copyright (c) 2013 Intel Corporation

Num logical cores: 4
Num sockets: 1
Threads per core: 2
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 4
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency: 3066666659 Hz
WARNING: Core 0 IA32_PERFEVTSEL0_ADDR are not zeroed 4391369
Access to Intel(r) Performance Counter Monitor has denied (Performance Monitoring Unit is occupied by other application). Try to stop the application that uses PMU.
Alternatively you can try to reset PMU configuration at your own risk. Try to reset? (y/n)
y
PMU configuration has been reset. Try to rerun the program again.
Rolfs-MacBook-Air:IntelPerformanceCounterMonitorV2.5.1 ran$ ./pcm-tsx.x 2

Intel(r) Performance Counter Monitor: Intel(r) Transactional Synchronization Extensions Monitoring Utility

Copyright (c) 2013 Intel Corporation

Num logical cores: 4
Num sockets: 1
Threads per core: 2
Core PMU (perfmon) version: 3
Number of core PMU generic (programmable) counters: 4
Width of generic (programmable) counters: 48 bits
Number of core PMU fixed counters: 3
Width of fixed counters: 48 bits
Nominal core frequency: 3066666659 Hz

Detected Intel(R) Core(TM) i7-4650U CPU @ 1.70GHz "Intel(r) microarchitecture codename unknown"
Update every 2 seconds
Time elapsed: 1501 ms
Core | IPC | Instructions | Cycles | Transactional Cycles | Aborted Cycles | #RTM | #HLE | Cycles/Transaction
0 0.41 92 M 224 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
1 0.49 25 M 52 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
2 0.38 88 M 233 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
3 0.41 27 M 68 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A
-------------------------------------------------------------------------------------------------------------------
* 0.40 234 M 578 M 0 ( 0.00%) 0 ( 0.00%) 0 0 N/A

^CCleaning up
Rolfs-MacBook-Air:IntelPerformanceCounterMonitorV2.5.1 ran$

0 Kudos
1 Reply
Roman_D_Intel
Employee
286 Views

it is not a bug it is a feature :-)

0 Kudos
Reply