<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic INTEL PCM -- Problems starting service in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781887#M372</link>
    <description>Leslie,&lt;BR /&gt;&lt;BR /&gt;it seems we have an error in the WINDOWS_HOWTO documentation. The Winring driver files have to be copied into the directory where the PCM-Service.exe is located. This should solve your problem. Let us know if it helped or not.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Roman</description>
    <pubDate>Thu, 19 Jul 2012 11:07:51 GMT</pubDate>
    <dc:creator>Roman_D_Intel</dc:creator>
    <dc:date>2012-07-19T11:07:51Z</dc:date>
    <item>
      <title>INTEL PCM -- Problems starting service</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781884#M369</link>
      <description>&lt;P&gt;I've built the components necessary to run &lt;PCM&gt; and &lt;PCM-SERVICE&gt;, but I'm having (different) issues with both. By way of background, I am running 64-bit Windows 7, and using WinRing0 from open-hardware-monitor v0.2.1 (so I have not personally built this component). The WinRing0* files have been copied to &lt;&gt;. All operations are run with administrator privilege.&lt;/&gt;&lt;/PCM-SERVICE&gt;&lt;/PCM&gt;&lt;/P&gt;&lt;P&gt;&lt;PCM&gt; works in that it can successfully access MSR values. But when I start it, it reports error 2 very early on. Sample (truncated) output is as follows:&lt;/PCM&gt;&lt;/P&gt;&lt;P&gt; Intel Performance Counter Monitor V2.1 (2012-05-31 14:40:57 +0200 ID=2d18fd5)&lt;/P&gt;&lt;P&gt; Copyright (c) 2009-2012 Intel Corporation&lt;/P&gt;&lt;P&gt; Starting MSR service failed with error 2&lt;BR /&gt; Trying to load winring0.dll/winring0.sys driver...&lt;BR /&gt; Using winring0.dll/winring0.sys driver.&lt;/P&gt;&lt;P&gt; Num (logical) cores: 4&lt;BR /&gt; Num sockets: 1&lt;BR /&gt; Threads per core: 2&lt;BR /&gt; Core PMU (perfmon) version: 3&lt;BR /&gt; Number of core PMU generic (programmable) counters: 4&lt;BR /&gt; Width of generic (programmable) counters: 48 bits&lt;BR /&gt; Number of core PMU fixed counters: 3&lt;BR /&gt; Width of fixed counters: 48 bits&lt;BR /&gt; Nominal core frequency: 2666666660 Hz&lt;/P&gt;&lt;P&gt; Detected processor(s) with Intel microarchitecture codename Westmere/Clarkdale&lt;/P&gt;&lt;P&gt;The second issue is that attempting to start the PCM service directly fails with the following output:&lt;/P&gt;&lt;P&gt; The Intel Performance Counter Monitor Service service is starting.&lt;BR /&gt; The Intel Performance Counter Monitor Service service could not be started.&lt;/P&gt;&lt;P&gt; A system error has occurred.&lt;/P&gt;&lt;P&gt; The requested service has already been started.&lt;/P&gt;&lt;P&gt;From the Windows system event log, the error is:&lt;/P&gt;&lt;P&gt; The Intel Performance Counter Monitor Service service terminated with the following error: 526470&lt;/P&gt;&lt;P&gt;From the Windows application event log, the sequence reported is:&lt;/P&gt;&lt;P&gt; Trying to create the measure thread...&lt;/P&gt;&lt;P&gt; Monitor Instance could not be created&lt;/P&gt;&lt;P&gt;By adding additional event tracing information, it appears that the &lt;CREATEFILE&gt; call in &lt;MSRHANDLE&gt; is failing.&lt;/MSRHANDLE&gt;&lt;/CREATEFILE&gt;&lt;/P&gt;&lt;P&gt;Any assistance you can provide on these two issues would be much appreciated. Thanks.&lt;/P&gt;&lt;P&gt;Leslie&lt;/P&gt;</description>
      <pubDate>Wed, 18 Jul 2012 14:55:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781884#M369</guid>
      <dc:creator>leslie_g</dc:creator>
      <dc:date>2012-07-18T14:55:53Z</dc:date>
    </item>
    <item>
      <title>INTEL PCM -- Problems starting service</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781885#M370</link>
      <description>Leslie,&lt;BR /&gt;&lt;BR /&gt;you can ignore the "Starting MSR service failed with error 2" message because it is trying to start the alternative msr.sys driver which you don't have but you use winring0 driver which is a replacement for it (should be ok).&lt;BR /&gt;&lt;BR /&gt;As for the service start error pleasemake surethe pcm.exe utility is not running in parallel and try to install AND start service as administrator again. Did it work?&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Roman</description>
      <pubDate>Wed, 18 Jul 2012 15:23:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781885#M370</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2012-07-18T15:23:23Z</dc:date>
    </item>
    <item>
      <title>INTEL PCM -- Problems starting service</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781886#M371</link>
      <description>Hi, Roman. I'm always impressed at how quickly you respond to everyone's queries--must get in the way of doing any real work! But a sincere thanks for all the effort you put into this and other forums.&lt;BR /&gt;&lt;BR /&gt;OK regarding ignoring the error from &lt;PCM&gt;. It appeared to be benign, and obviously the &lt;WINRING0&gt; access was succeeding.&lt;BR /&gt;&lt;BR /&gt;I uninstalled pcmservice (via &lt;PCM_SERVICE -uninstall=""&gt;), and then reinstalled it (via &lt;PCM_SERVICE -install=""&gt;). Both operations appeared to work correctly (no errors, and the log file is as expected). However, &lt;NET start="" pcmservice=""&gt; gives the same error as before. All of this was done with administrator privilege and without the &lt;PCM&gt; utility's being active. It's as if the service can't find a driver to handle the RDMSR request.&lt;BR /&gt;&lt;BR /&gt;Leslie&lt;/PCM&gt;&lt;/NET&gt;&lt;/PCM_SERVICE&gt;&lt;/PCM_SERVICE&gt;&lt;/WINRING0&gt;&lt;/PCM&gt;</description>
      <pubDate>Wed, 18 Jul 2012 16:21:03 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781886#M371</guid>
      <dc:creator>leslie_g</dc:creator>
      <dc:date>2012-07-18T16:21:03Z</dc:date>
    </item>
    <item>
      <title>INTEL PCM -- Problems starting service</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781887#M372</link>
      <description>Leslie,&lt;BR /&gt;&lt;BR /&gt;it seems we have an error in the WINDOWS_HOWTO documentation. The Winring driver files have to be copied into the directory where the PCM-Service.exe is located. This should solve your problem. Let us know if it helped or not.&lt;BR /&gt;&lt;BR /&gt;Thanks,&lt;BR /&gt;Roman</description>
      <pubDate>Thu, 19 Jul 2012 11:07:51 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781887#M372</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2012-07-19T11:07:51Z</dc:date>
    </item>
    <item>
      <title>INTEL PCM -- Problems starting service</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781888#M373</link>
      <description>&lt;P&gt;Roman,&lt;/P&gt;&lt;P&gt;Thanks, that does indeed fix the problem, and now the service starts properly.&lt;/P&gt;&lt;P&gt;I have one other question that more relates to understanding the instruction count values I'm seeing. In a benchmark I'm running, I'm testing a couple of different scenarios under controlled conditions. Both scenarios perform much the same instruction mixture.&lt;/P&gt;&lt;P&gt;Inone scenario, I have numbers like this (from a typical one-second interval sampled by &lt;PCM&gt;):&lt;/PCM&gt;&lt;/P&gt;&lt;P&gt;EXEC IPC FREQ AFREQ L3MISS L2MISS L3HIT L2HIT L3CLK L2CLK&lt;BR /&gt;0.167 0.264 0.633 1.17 7.02 17.2 0.593 0.0734 0.194 0.0573&lt;/P&gt;&lt;P&gt;INST ACYC TIME PhysIPC PhysIPC% INSTnom INSTnom%&lt;BR /&gt;1720 6520 2570 0.528 13.2 0.334 8.36&lt;/P&gt;&lt;P&gt;In another, I get numbers like this:&lt;/P&gt;&lt;P&gt;EXEC IPC FREQ AFREQ L3MISS L2MISS L3HIT L2HIT L3CLK L2CLK&lt;BR /&gt;0.022 0.0343 0.642 1.19 7.72 10.2 0.244 0.0412 0.212 0.0152&lt;/P&gt;&lt;P&gt;INST ACYC TIME PhysIPC PhysIPC% INSTnom INSTnom%&lt;BR /&gt;225 6560 2550 0.0685 1.71 0.044 1.1&lt;/P&gt;&lt;P&gt;Obviously, the first scenario is running much more efficiently, but the cache hit numbers alone don't seem to explain it. What else is a likely reason for such a large discrepancy in the retired instruction counts?&lt;BR /&gt;&lt;BR /&gt;Leslie&lt;/P&gt;</description>
      <pubDate>Thu, 19 Jul 2012 17:31:36 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781888#M373</guid>
      <dc:creator>leslie_g</dc:creator>
      <dc:date>2012-07-19T17:31:36Z</dc:date>
    </item>
    <item>
      <title>INTEL PCM -- Problems starting service</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781889#M374</link>
      <description>&lt;P&gt;Roman,&lt;/P&gt;&lt;P&gt;Thanks, that does indeed fix the problem, and now the service starts properly.&lt;/P&gt;&lt;P&gt;I have one other question that more relates to understanding the instruction count values I'm seeing. In a benchmark I'm running, I'm testing a couple of different scenarios under controlled conditions. Both scenarios perform much the same instruction mixture.&lt;/P&gt;&lt;P&gt;Inone scenario, I have numbers like this (from a typical one-second interval sampled by &lt;PCM&gt;):&lt;/PCM&gt;&lt;/P&gt;&lt;P&gt;EXEC IPC FREQ AFREQ L3MISS L2MISS L3HIT L2HIT L3CLK L2CLK&lt;BR /&gt;0.167 0.264 0.633 1.17 7.02 17.2 0.593 0.0734 0.194 0.0573&lt;/P&gt;&lt;P&gt;INST ACYC TIME PhysIPC PhysIPC% INSTnom INSTnom%&lt;BR /&gt;1720 6520 2570 0.528 13.2 0.334 8.36&lt;/P&gt;&lt;P&gt;In another, I get numbers like this:&lt;/P&gt;&lt;P&gt;EXEC IPC FREQ AFREQ L3MISS L2MISS L3HIT L2HIT L3CLK L2CLK&lt;BR /&gt;0.022 0.0343 0.642 1.19 7.72 10.2 0.244 0.0412 0.212 0.0152&lt;/P&gt;&lt;P&gt;INST ACYC TIME PhysIPC PhysIPC% INSTnom INSTnom%&lt;BR /&gt;225 6560 2550 0.0685 1.71 0.044 1.1&lt;/P&gt;&lt;P&gt;Obviously, the first scenario is running much more efficiently, but the cache hit numbers alone don't seem to explain it. What else is a likely reason for such a large discrepancy in the retired instruction counts?&lt;BR /&gt;&lt;BR /&gt;Leslie&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2012 13:34:10 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781889#M374</guid>
      <dc:creator>leslie_g</dc:creator>
      <dc:date>2012-07-20T13:34:10Z</dc:date>
    </item>
    <item>
      <title>INTEL PCM -- Problems starting service</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781890#M375</link>
      <description>Leslie,&lt;BR /&gt;&lt;BR /&gt;unfortunately, there are many possible reasons that can cause a decrase of the IPC. Cache misses are typically the most prominent one and therefore they are reported in PCM. Other possibilities are branch mispredicts, DTLB misses, icache misses, FP denormals,... The list goes on.&lt;BR /&gt;&lt;BR /&gt;My suggestion is that you try a profiler like &lt;A href="http://software.intel.com/en-us/articles/intel-vtune-amplifier-xe/"&gt;Intel VTune Amplifier XE&lt;/A&gt;. In contrast to Intel PCM, VTune allows you identify the code line (or assembly instruction) where the performance issue is happening. Furthermore, it is easier than in PCM to change the event that you want to examine.&lt;BR /&gt;&lt;BR /&gt;Kind regards&lt;BR /&gt;Thomas</description>
      <pubDate>Sat, 28 Jul 2012 06:28:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/INTEL-PCM-Problems-starting-service/m-p/781890#M375</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2012-07-28T06:28:23Z</dc:date>
    </item>
  </channel>
</rss>

