<?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 Hi, in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067516#M5246</link>
    <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	What's your CPU model?&lt;BR /&gt;
	&lt;BR /&gt;
	Regards&lt;/P&gt;</description>
    <pubDate>Fri, 12 Feb 2016 15:12:23 GMT</pubDate>
    <dc:creator>Carlos_P_</dc:creator>
    <dc:date>2016-02-12T15:12:23Z</dc:date>
    <item>
      <title>Power Capping by Power Governor and Power Gadget on Linux</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067514#M5244</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;When I tried to use Power Governor(https://software.intel.com/en-us/articles/intel-power-governor) and Power Gadget(https://software.intel.com/en-us/articles/intel-power-gadget-20) to get the power consumption info of CPU, I got the following error:&lt;/P&gt;

&lt;P&gt;&lt;STRONG&gt;&lt;SPAN style="font-family: Menlo; font-size: 11px;"&gt;RAPL not supported, or machine model 306f2 not recognized.&lt;/SPAN&gt;&lt;/STRONG&gt;&lt;/P&gt;

&lt;P&gt;&lt;STRONG style="font-family: Menlo; font-size: 11px;"&gt;Init failed!&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;When I followed the README.md to "modprobe msr" and "modprobe cpuid", it shows:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; line-height: normal;"&gt;&lt;FONT face="Menlo"&gt;&lt;SPAN style="font-size: 11px; font-weight: 700;"&gt;FATAL: Module&amp;nbsp;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11px;"&gt;&lt;B&gt;mrs&lt;/B&gt;&lt;/SPAN&gt;&lt;SPAN style="font-size: 11px; font-weight: 700;"&gt;&amp;nbsp;not found.&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&lt;STRONG&gt;FATAL: Module cpuid not found.&lt;/STRONG&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;I found any posts in the forum but didn't find any problems like this.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;The Purpose is to get the power consumption/temp info in a program.&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Does anyone have any ideas how to deal with the problems above of these two tools or other methods to get the power consumption in a program?&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Best wishes,&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Jiawen&lt;/P&gt;</description>
      <pubDate>Wed, 10 Feb 2016 16:47:24 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067514#M5244</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-10T16:47:24Z</dc:date>
    </item>
    <item>
      <title>Hi everyone,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067515#M5245</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi everyone,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;Does anyone know how to figure out this problem? I appreciate if anyone could give me any suggestions or ideas.&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jiawen&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 02:59:13 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067515#M5245</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-12T02:59:13Z</dc:date>
    </item>
    <item>
      <title>Hi,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067516#M5246</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
	&lt;BR /&gt;
	What's your CPU model?&lt;BR /&gt;
	&lt;BR /&gt;
	Regards&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 15:12:23 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067516#M5246</guid>
      <dc:creator>Carlos_P_</dc:creator>
      <dc:date>2016-02-12T15:12:23Z</dc:date>
    </item>
    <item>
      <title>Hi Carlos,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067517#M5247</link>
      <description>&lt;P&gt;Hi Carlos,&lt;/P&gt;

&lt;P&gt;The CPU is&amp;nbsp;&lt;FONT color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3"&gt;&amp;nbsp;Eighteen-Core/36-Threads &lt;/FONT&gt;&lt;STRONG style="color: rgb(51, 51, 51); font-family: 'Helvetica Neue', Helvetica, 'Segoe UI', Arial, freesans, sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol'; font-size: 16px;"&gt;Intel® Xeon® E5-2699 v3&lt;/STRONG&gt;&lt;FONT color="#333333" face="Helvetica Neue, Helvetica, Segoe UI, Arial, freesans, sans-serif, Apple Color Emoji, Segoe UI Emoji, Segoe UI Symbol" size="3"&gt; 2.3GHz-45MB Shared L3 Cache-9.6GT/s QPI-145W-22nm. Does it support the&amp;nbsp;rapl architecture?&lt;/FONT&gt;&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;BLOCKQUOTE&gt;Carlos P. wrote:&lt;BR /&gt;&lt;P&gt;&lt;/P&gt;

&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;What's your CPU model?&lt;/P&gt;

&lt;P&gt;Regards&lt;/P&gt;

&lt;P&gt;&lt;/P&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 15:21:44 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067517#M5247</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-12T15:21:44Z</dc:date>
    </item>
    <item>
      <title>With that details, I believe</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067518#M5248</link>
      <description>&lt;P&gt;With that details, I believe your "DisplayFamily_DisplayModel" is&amp;nbsp;06_3FH.&lt;BR /&gt;
	Well, just checked on the Intel® 64 and IA-32 Architectures Software Developer’s Manual Documentation by that ID and I find RAPL registers available...&amp;nbsp;&lt;BR /&gt;
	Try running this sample code:&amp;nbsp;http://web.eece.maine.edu/~vweaver/projects/rapl/&amp;nbsp;(Userspace Access without perf)&lt;BR /&gt;
	&lt;BR /&gt;
	Regards&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 17:45:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067518#M5248</guid>
      <dc:creator>Carlos_P_</dc:creator>
      <dc:date>2016-02-12T17:45:46Z</dc:date>
    </item>
    <item>
      <title>Hi Carlos,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067519#M5249</link>
      <description>&lt;P&gt;&lt;SPAN style="font-size: 1em;"&gt;Hi Carlos,&lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;When I compile the code, I still get the error message as below:&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;[liu@fornax ~]$ gcc rapl-read.c&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;/tmp/ccKurDYv.o: In function `rapl_msr':&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;rapl-read.c:(.text+0x3f6): undefined reference to `pow'&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;rapl-read.c:(.text+0x43b): undefined reference to `pow'&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;rapl-read.c:(.text+0x480): undefined reference to `pow'&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;collect2: error: ld returned 1 exit status&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P&gt;Do you know what is the reason?&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;

&lt;P&gt;Jiawen&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 17:55:32 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067519#M5249</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-12T17:55:32Z</dc:date>
    </item>
    <item>
      <title>Hey,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067520#M5250</link>
      <description>&lt;P&gt;Hey,&lt;BR /&gt;
	&lt;BR /&gt;
	you need to compile with the flag -lm&lt;BR /&gt;
	&lt;BR /&gt;
	regards&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 17:58:46 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067520#M5250</guid>
      <dc:creator>Carlos_P_</dc:creator>
      <dc:date>2016-02-12T17:58:46Z</dc:date>
    </item>
    <item>
      <title>Hi Carlos,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067521#M5251</link>
      <description>&lt;P&gt;Hi Carlos,&lt;/P&gt;

&lt;P&gt;After I run it, I got the following info showing that&amp;nbsp;&lt;FONT face="Menlo"&gt;&lt;SPAN style="font-size: 11px;"&gt;No perf_event rapl support found. I still didn't get the power&amp;nbsp;consumption of CPUs. Do you know what's the problem?&lt;/SPAN&gt;&lt;/FONT&gt;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;[liu@fornax ~]$ sudo ./a.out&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;No perf_event rapl support found (requires Linux 3.14)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Falling back to raw msr support&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Found Haswell-EP CPU&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Checking core #0&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Power units = 0.125W&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;CPU Energy units = 0.00006104J&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;DRAM Energy units = 0.00001526J&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Time units = 0.00097656s&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package thermal spec: 145.000W&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package minimum power: 69.000W&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package maximum power: 290.000W&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package maximum time window: 0.045898s&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package power limits are unlocked&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package power limit #1: 145.000W for 0.009766s (enabled, clamped)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package power limit #2: 174.000W for 0.002930s (enabled, clamped)&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo; min-height: 13px;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Package energy before: 75131.813354J&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;PowerPlane0 (core) for core 0 energy before: 0.000000J&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;rdmsr:pread: Input/output error&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;&amp;nbsp;&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Thanks,&lt;/P&gt;

&lt;P style="margin-bottom: 0px; font-size: 11px; line-height: normal; font-family: Menlo;"&gt;Jiawen&lt;/P&gt;</description>
      <pubDate>Fri, 12 Feb 2016 19:14:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067521#M5251</guid>
      <dc:creator>Kevin</dc:creator>
      <dc:date>2016-02-12T19:14:42Z</dc:date>
    </item>
    <item>
      <title>Hi Jiawen,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067522#M5252</link>
      <description>&lt;P&gt;Hi Jiawen,&lt;BR /&gt;
	&lt;BR /&gt;
	&lt;A href="https://software.intel.com/pt-br/forums/software-tuning-performance-optimization-platform-monitoring/topic/557622" target="_blank"&gt;https://software.intel.com/pt-br/forums/software-tuning-performance-optimization-platform-monitoring/topic/557622&lt;/A&gt;&lt;BR /&gt;
	&lt;BR /&gt;
	Check that topic best reply from Patrick. Maybe you have a similar problem so, there are some MSR's that are not compatible with your processor, maybe they are the same since it is a E5 too.&lt;BR /&gt;
	&lt;BR /&gt;
	Check if&amp;nbsp;it will help you!&lt;BR /&gt;
	&lt;BR /&gt;
	Try it and give some feedback :)&lt;BR /&gt;
	&lt;BR /&gt;
	Regards!&amp;nbsp;&lt;BR /&gt;
	&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 13 Feb 2016 00:22:12 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067522#M5252</guid>
      <dc:creator>Carlos_P_</dc:creator>
      <dc:date>2016-02-13T00:22:12Z</dc:date>
    </item>
    <item>
      <title>Hi all,</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067523#M5253</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm having the same problem. The CPU is Xeon(R) CPU E5-2680 v3. Isn't there a way to make it work?&lt;/P&gt;

&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Tue, 21 Jun 2016 19:59:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Power-Capping-by-Power-Governor-and-Power-Gadget-on-Linux/m-p/1067523#M5253</guid>
      <dc:creator>Koji_T_</dc:creator>
      <dc:date>2016-06-21T19:59:54Z</dc:date>
    </item>
  </channel>
</rss>

