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

Getting start with PCM

Tommy_C_
Beginner
1,029 Views

Dear Sir,

I have tried to follow the steps in Windows_howto.rtf to setup PCM.

I have built the pcm.exe successfully and tried to use third party driver, say copy WinRing0* and WinRing0x64* with pcm.exe into c:\windows\system32.

When I tried to execute the pcm -1, it failed to load winring0.dll with error 2.

Would you please advice help can I fix it ? I have copy the result into this post.

Thanks,

Tommy

Starting MSR service failed with error 2
Trying to load winring0.dll/winring0.sys driver...
Failed to load winring0.dll/winring0.sys driver.

Cannot access CPU counters
You must have signed msr.sys driver in your current directory and have administr
ator rights to run this program
Num logical cores: 4
Num sockets: 1
Threads per core: 1
Core PMU (perfmon) version: 1
Number of core PMU generic (programmable) counters: 4
Width of generic (programmable) counters: 48 bits
Can not access CPUs Model Specific Registers (MSRs).
You must have signed msr.sys driver in your current directory and have administr
ator rights to run this program.
Access to Intel(r) Performance Counter Monitor has denied (no MSR or PCI CFG spa
ce access).

0 Kudos
4 Replies
Tommy_C_
Beginner
1,029 Views

Error of execution of pcm.exe

0 Kudos
Roman_D_Intel
Employee
1,029 Views

the rtf instructs you to copy the drivers both to c:\windows\system32 and the directory with pcm.exe.

Roman

0 Kudos
Tommy_C_
Beginner
1,029 Views

Thanks. Actually, I have already copied both pcm.exe and the third party drivers (4 files) to c:\windows\system32.

After that, I executed the pcm.exe and have the error.

Please correct me if I'm wrong.

0 Kudos
Roman_D_Intel
Employee
1,029 Views

the drivers must be on your current path. For example

1. Copy all files to c:\pcm

2. chdir c:\pcm

3. pcm.exe

Roman

0 Kudos
Reply