<?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 The WINDOWS_HOWTO.rtf in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136077#M6525</link>
    <description>&lt;P&gt;The WINDOWS_HOWTO.rtf includes a description for setting up the Windows service. However, I have to confess that I have not used it for a while.&lt;/P&gt;</description>
    <pubDate>Thu, 08 Feb 2018 19:55:11 GMT</pubDate>
    <dc:creator>Thomas_W_Intel</dc:creator>
    <dc:date>2018-02-08T19:55:11Z</dc:date>
    <item>
      <title>Installing/Using Processor Counter Monitor as a service (Windows)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136076#M6524</link>
      <description>&lt;P&gt;I'm currently using the Processor Counter Monitor on Windows. We'd like to monitor these metrics in our monitoring software (Zabbix).&lt;BR /&gt;
	I've read that we can install the Processor Counter Monitor as a service on Windows, which adds the metrics to perfmon. We can then import the metrics from perfmon into Zabbix.&lt;/P&gt;

&lt;P&gt;I'm having some issues with installing the Processor Counter Monitor as a service on Windows.&lt;BR /&gt;
	When executing PCM-service.exe we get a popup window which states that the service cannot be started, it needs to be installed with installutil.exe&lt;/P&gt;

&lt;P&gt;I couldn't find any documentation on how to install the Processor Counter Monitor as a service. Can someone tell me how to install it as a service?&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 16:43:08 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136076#M6524</guid>
      <dc:creator>gveld</dc:creator>
      <dc:date>2018-02-08T16:43:08Z</dc:date>
    </item>
    <item>
      <title>The WINDOWS_HOWTO.rtf</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136077#M6525</link>
      <description>&lt;P&gt;The WINDOWS_HOWTO.rtf includes a description for setting up the Windows service. However, I have to confess that I have not used it for a while.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 19:55:11 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136077#M6525</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2018-02-08T19:55:11Z</dc:date>
    </item>
    <item>
      <title>Quote:Thomas Willhalm (Intel)</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136078#M6526</link>
      <description>&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Thomas Willhalm (Intel) wrote:&lt;BR /&gt;The WINDOWS_HOWTO.rtf includes a description for setting up the Windows service. However, I have to confess that I have not used it for a while.&lt;/BLOCKQUOTE&gt;&lt;BR /&gt;
	Where can I find this file? The one on Github is of no use (https://github.com/opcm/pcm/blob/master/WINDOWS_HOWTO.rtf)&lt;P&gt;&lt;/P&gt;

&lt;P&gt;I also found this:&lt;BR /&gt;
	&lt;A href="https://github.com/opcm/pcm/tree/master/PCM-Service_Win" target="_blank"&gt;https://github.com/opcm/pcm/tree/master/PCM-Service_Win&lt;/A&gt;&lt;BR /&gt;
	"From the command line, run:&amp;nbsp; PMU Service.exe -Install"&lt;/P&gt;

&lt;P&gt;Problem is there is no such executable "PMU Service.exe"..&lt;BR /&gt;
	PCM-service.exe doesn't accept the -install command either..&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:02:29 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136078#M6526</guid>
      <dc:creator>gveld</dc:creator>
      <dc:date>2018-02-08T20:02:29Z</dc:date>
    </item>
    <item>
      <title>github doesn't seem to like</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136079#M6527</link>
      <description>&lt;P&gt;github doesn't seem to like rtf files, but if you download the raw file and open it, you can see the content. Here is the part on the PCM-service:&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Graphical Perfmon front end:&lt;/P&gt;

&lt;P&gt;1.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Compile the windows MSR driver (msr.sys) with Windows* DDK Kit (see the sources in the WinMSRDriver directory). For Windows 7 you have to sign the msr.sys driver additionally (&lt;A href="http://msdn.microsoft.com/en-us/library/ms537361(VS.85).aspx"&gt;http://msdn.microsoft.com/en-us/library/ms537361(VS.85).aspx&lt;/A&gt;).&lt;/P&gt;

&lt;P&gt;2.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy msr.sys into the c:\windows\system32 directory&lt;/P&gt;

&lt;P&gt;3.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build pcm-lib.dll in the PCM-Lib_Win directory using Microsoft* Visual Studio&lt;/P&gt;

&lt;P&gt;4.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Build 'PCM-Service.exe' in the PCM-Service_Win directory using Microsoft* Visual Studio&lt;/P&gt;

&lt;P&gt;5.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Copy PCM-Service.exe, PCM-Service.exe.config, and pcm-lib.dll files into a single directory&lt;/P&gt;

&lt;P style="margin-left:36.0pt;"&gt;The config file enables support for legacy security policy. Without this configuration switch, you will get an exception like this:&lt;/P&gt;

&lt;P style="margin-left:36.0pt;"&gt;Unhandled Exception: System.NotSupportedException: This method implicitly uses CAS policy, which has been obsoleted by the .NET Framework.&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;

&lt;P&gt;6.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; With administrator rights execute '"PCM-Service.exe" -Install' from this directory&lt;/P&gt;

&lt;P&gt;7.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; With administrator rights execute 'net start pcmservice'&lt;/P&gt;

&lt;P&gt;8.&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; Start perfmon and find new PCM* counters&lt;/P&gt;

&lt;P&gt;If you do not want or cannot compile the msr.sys driver you might use a third-party open source WinRing0 driver instead. Instructions:&lt;/P&gt;

&lt;OL&gt;
	&lt;LI&gt;Download the free RealTemp utility package from &lt;A href="http://www.techpowerup.com/realtemp/"&gt;http://www.techpowerup.com/realtemp/&lt;/A&gt; or any other free utility that uses the open-source WinRing0 driver (like OpenHardwareMonitor &lt;A href="http://code.google.com/p/open-hardware-monitor/downloads/list"&gt;http://code.google.com/p/open-hardware-monitor/downloads/list&lt;/A&gt;).&lt;/LI&gt;
	&lt;LI&gt;Copy WinRing0.dll, WinRing0.sys, WinRing0x64.dll, WinRing0x64.sys files from there into the PCM.exe binary location, into the PCM-Service.exe location and into c:\windows\system32&lt;/LI&gt;
	&lt;LI&gt;Run the PCM.exe tool and/or go to step 6 (perfmon utility).&lt;/LI&gt;
&lt;/OL&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:12:50 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136079#M6527</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2018-02-08T20:12:50Z</dc:date>
    </item>
    <item>
      <title>Thanks, that actually works.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136080#M6528</link>
      <description>&lt;P&gt;Thanks, that actually works. It's up and running now.&lt;BR /&gt;
	Good to know that github messes up the .rtf files.&lt;/P&gt;</description>
      <pubDate>Thu, 08 Feb 2018 20:24:17 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Installing-Using-Processor-Counter-Monitor-as-a-service-Windows/m-p/1136080#M6528</guid>
      <dc:creator>gveld</dc:creator>
      <dc:date>2018-02-08T20:24:17Z</dc:date>
    </item>
  </channel>
</rss>

