<?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 I see. in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057853#M5073</link>
    <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I see.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;​Is&amp;nbsp;&lt;/SPAN&gt;there&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;a way to measure power/energy&amp;nbsp;&lt;/SPAN&gt;readings on KNL (self boot) boxes..?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 14 Jul 2016 19:12:56 GMT</pubDate>
    <dc:creator>Kumar_C_</dc:creator>
    <dc:date>2016-07-14T19:12:56Z</dc:date>
    <item>
      <title>Intel PCM Syntax for Linux</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057847#M5067</link>
      <description>&lt;P&gt;I have been trying to use Intel PCM in Linux for quite a few days&lt;/P&gt;

&lt;P&gt;When I run pcm.x the usage is posted out as:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;&amp;nbsp;Intel(r) Performance Counter Monitor V2.6 (2013-11-04 13:43:31 +0100 ID=db05e43)&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;Copyright (c) 2009-2013 Intel Corporation&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;Usage: pcm &amp;lt;delay&amp;gt;|"external_program parameters"|--help &amp;lt;other options&amp;gt;&lt;/P&gt;

	&lt;P&gt;&amp;nbsp;&lt;BR /&gt;
		&amp;nbsp;Other options:&lt;BR /&gt;
		&amp;nbsp;-nc or --nocores or /nc =&amp;gt; hides core related output&lt;BR /&gt;
		&amp;nbsp;-ns or --nosockets or /ns =&amp;gt; hides socket related output&lt;BR /&gt;
		&amp;nbsp;-nsys or --nosystem or /nsys =&amp;gt; hides system related output&lt;BR /&gt;
		&amp;nbsp;-csv or /csv =&amp;gt; print compact csv format&lt;BR /&gt;
		&amp;nbsp;Example: &amp;nbsp;pcm.x 1 -nc -ns&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;I'm trying to measure the counters values before and after my program run, but I', having difficulty with the syntax to run a program with arguments.&lt;/P&gt;

&lt;P&gt;For example I can run &lt;EM&gt;./pcm.x myprog&lt;/EM&gt;. But I cannot run the program "myprog" with arguments, both &lt;EM&gt;./pcm.x myprog arg1 arg2&amp;nbsp;&lt;/EM&gt;and&amp;nbsp;&lt;EM&gt;./pcm.x 1|myprog arg1 arg2|&amp;nbsp;&lt;/EM&gt;&amp;nbsp;don't seem to work&lt;/P&gt;

&lt;P&gt;And I found no manual for the tool. Can anyone give the correct syntaxes with some examples?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 13:31:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057847#M5067</guid>
      <dc:creator>Huy_H_</dc:creator>
      <dc:date>2014-07-09T13:31:00Z</dc:date>
    </item>
    <item>
      <title>try ./pcm.x "my_prog params"</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057848#M5068</link>
      <description>&lt;P&gt;try ./pcm.x "my_prog params" pcm_params&lt;/P&gt;

&lt;P&gt;in the next version of PCM we will make the syntax more standard "pcm.x pcm_params -- myprog params"&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 13:35:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057848#M5068</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2014-07-09T13:35:56Z</dc:date>
    </item>
    <item>
      <title>./pcm.x "myprog arg1 arg2"</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057849#M5069</link>
      <description>&lt;P&gt;&lt;EM&gt;./pcm.x "myprog arg1 arg2" &lt;/EM&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Jul 2014 13:36:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057849#M5069</guid>
      <dc:creator>Roman_D_Intel</dc:creator>
      <dc:date>2014-07-09T13:36:42Z</dc:date>
    </item>
    <item>
      <title>./pcm.x `myprog arg1 arg2` </title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057850#M5070</link>
      <description>&lt;P&gt;Or&lt;/P&gt;

&lt;P&gt;&lt;EM&gt;./pcm.x `myprog arg1 arg2`&amp;nbsp; &lt;/EM&gt;&lt;/P&gt;

&lt;P&gt;S&lt;SPAN class="short_text" id="result_box" lang="en"&gt;&lt;SPAN class="hps"&gt;uch&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;quotes&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;give more freedom&lt;/SPAN&gt; &lt;SPAN class="hps"&gt;for action&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Jul 2014 17:02:00 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057850#M5070</guid>
      <dc:creator>SB17</dc:creator>
      <dc:date>2014-07-10T17:02:00Z</dc:date>
    </item>
    <item>
      <title>Does Intel PCM supports the</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057851#M5071</link>
      <description>&lt;P&gt;Does Intel PCM supports the latest KNL (Atom- Silvermont) based core. Running a simple code using pcm.x says the following:&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;Error: unsupported processor. Only Intel(R) processors are supported (Atom(R) and microarchitecture codename Nehalem/Nehalem-EP, Atom(tm), Westmere/Clarkdale, Sandy Bridge, Westmere-EP, Sandy Bridge-EP/Jaketown, Nehalem-EX, Westmere-EX, Ivy Bridge, Haswell, Broadwell, Ivy Bridge-EP/EN/EX/Ivytown, Haswell-EP/EN/EX, Broadwell-EP, Broadwell-DE, Skylake). CPU model number: 87 Brand: "Intel(R) Xeon Phi(TM) &lt;STRONG&gt;CPU 7250 @000000 1.40GHz&lt;/STRONG&gt;"&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;The "/proc/cpuinfo" says the following:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;processor&amp;nbsp;&amp;nbsp; &amp;nbsp;: 271&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;vendor_id&amp;nbsp;&amp;nbsp; &amp;nbsp;: GenuineIntel&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;cpu family&amp;nbsp;&amp;nbsp; &amp;nbsp;: 6&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;model&amp;nbsp;&amp;nbsp; &amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;nbsp;: 87&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&lt;SPAN style="font-variant-ligatures: no-common-ligatures"&gt;model name&amp;nbsp;&amp;nbsp; &amp;nbsp;: Intel(R) Xeon Phi(TM) CPU 7250 @000000 1.40GHz&lt;/SPAN&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;How should I run the pcm correctly on Intel KNL?&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 18px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 18:03:38 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057851#M5071</guid>
      <dc:creator>Kumar_C_</dc:creator>
      <dc:date>2016-07-14T18:03:38Z</dc:date>
    </item>
    <item>
      <title>I'm sorry but Intel PCM does</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057852#M5072</link>
      <description>&lt;P&gt;I'm sorry but Intel PCM does not support Xeon Phi currently. Unfortunately, there are also no plans to add support for Xeon Phi any time soon.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 18:39:40 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057852#M5072</guid>
      <dc:creator>Thomas_W_Intel</dc:creator>
      <dc:date>2016-07-14T18:39:40Z</dc:date>
    </item>
    <item>
      <title>I see.</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057853#M5073</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;I see.&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;​Is&amp;nbsp;&lt;/SPAN&gt;there&lt;SPAN style="font-size: 1em;"&gt;&amp;nbsp;a way to measure power/energy&amp;nbsp;&lt;/SPAN&gt;readings on KNL (self boot) boxes..?&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Jul 2016 19:12:56 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057853#M5073</guid>
      <dc:creator>Kumar_C_</dc:creator>
      <dc:date>2016-07-14T19:12:56Z</dc:date>
    </item>
    <item>
      <title>The RAPL registers are</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057854#M5074</link>
      <description>&lt;P&gt;The RAPL registers are present on the KNL and give reasonable numbers.&amp;nbsp;&amp;nbsp; I either use the command-line tools from msrtools-1.3 to read these registers or I use a separate program (as root) to open the /dev/cpu/*/msr drivers (which can be done read-only for RAPL) to read and parse the values.&amp;nbsp;&amp;nbsp; This is particularly useful for RAPL because the definitions of the units used for time, power, and energy are encoded in some rather unusual formats and I don't want to hurt my brain trying to figure them out a second time....&lt;/P&gt;

&lt;P&gt;Only PKG and DRAM domains are supported.&lt;/P&gt;

&lt;P&gt;I have not seen any documentation on whether the MCDRAM is included in the PKG or DRAM domains (or neither, or both).&amp;nbsp; It should be possible to determine this via directed testing, but I have not gotten that far yet....&lt;/P&gt;</description>
      <pubDate>Fri, 15 Jul 2016 14:04:39 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057854#M5074</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2016-07-15T14:04:39Z</dc:date>
    </item>
    <item>
      <title>How to use PCM API inside my</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057855#M5075</link>
      <description>&lt;P&gt;How to use PCM API inside my program?&amp;nbsp;&lt;/P&gt;&lt;P&gt;I want to get the energy usage by my program also the energy used by major functions inside my code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Aditya Singh&lt;/P&gt;&lt;P&gt;IIT-Hyderabad&lt;/P&gt;</description>
      <pubDate>Thu, 12 Dec 2019 06:07:07 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057855#M5075</guid>
      <dc:creator>Aditya_Kumar_Singh</dc:creator>
      <dc:date>2019-12-12T06:07:07Z</dc:date>
    </item>
    <item>
      <title>LIKWID supports reading of</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057856#M5076</link>
      <description>&lt;P&gt;&lt;A href="https://github.com/RRZE-HPC/likwid"&gt;LIKWID&lt;/A&gt; supports reading of energy data on Intel Xeon Phi and many other processors.&lt;/P&gt;
&lt;PRE class="brush:cpp; class-name:dark;"&gt;int main()
{
    int cpuid = 0;
    topology_init();
    int rapl_available = power_init(cpuid);
    if (rapl_available)
    {
        PowerData pkg, dram;
        power_start(&amp;amp;pkg, cpuid, PKG);
        power_start(&amp;amp;dram, cpuid, DRAM);
        // do something like sleep(1);
        power_stop(&amp;amp;pkg, cpuid, DRAM);
        power_stop(&amp;amp;dram, cpuid, PKG);
        printf("PKG %f Joules\n", power_printEnergy(&amp;amp;pkg));
        printf("DRAM %f Joules\n", power_printEnergy(&amp;amp;dram));
    }
    return 0;
}
&lt;/PRE&gt;</description>
      <pubDate>Thu, 02 Jan 2020 15:27:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Intel-PCM-Syntax-for-Linux/m-p/1057856#M5076</guid>
      <dc:creator>Thomas_G_4</dc:creator>
      <dc:date>2020-01-02T15:27:42Z</dc:date>
    </item>
  </channel>
</rss>

