<?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 Computing CPU throttling time in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Computing-CPU-throttling-time/m-p/1143675#M6711</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a question about thermal throttling. I use an &lt;SPAN&gt;Intel(R) Xeon(R) CPU E5-2680 v3 processor.&lt;BR /&gt;
	In my syslog, I have this line : &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;1498883997 2017 Jul&amp;nbsp; 1 06:39:57 node_id kern crit kernel CPU42: Package temperature above threshold, cpu clock throttled (total events = 1174)&lt;/P&gt;

&lt;P&gt;I found information about thermal throttling events in Linux kernel at &lt;A href="https://elixir.bootlin.com/linux/latest/source/arch/x86/kernel/cpu/mcheck/therm_throt.c" target="_blank"&gt;https://elixir.bootlin.com/linux/latest/source/arch/x86/kernel/cpu/mcheck/therm_throt.c&lt;/A&gt; and &lt;A href="https://elixir.bootlin.com/linux/latest/source/drivers/thermal/x86_pkg_temp_thermal.c" target="_blank"&gt;https://elixir.bootlin.com/linux/latest/source/drivers/thermal/x86_pkg_temp_thermal.c&lt;/A&gt;&lt;BR /&gt;
	If I understand correctly, the throttle count (corresponding to "total events" in syslog) is incremented at each interrupt. More precisely, it is incremented when a interrupt is raised on a transition from a temperature below the trip point (TM2) to above (based on description in &lt;A class="moz-txt-link-freetext" href="https://www.intel.com/content/www/us/en/embedded/testing-and-validation/cpu-monitoring-dts-peci-paper.html"&gt;https://www.intel.com/content/www/us/en/embedded/testing-and-validation/cpu-monitoring-dts-peci-paper.html)&lt;/A&gt; Is this correct ?&lt;/P&gt;

&lt;P&gt;My second question is : Is there a way to compute the throttling time based on counter (corresponding to "total events" in syslog) ? (Eg : My CPU throttled during 10 seconds in 5 previous minutes).&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2018 14:13:54 GMT</pubDate>
    <dc:creator>Marc_P_</dc:creator>
    <dc:date>2018-02-23T14:13:54Z</dc:date>
    <item>
      <title>Computing CPU throttling time</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Computing-CPU-throttling-time/m-p/1143675#M6711</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;I have a question about thermal throttling. I use an &lt;SPAN&gt;Intel(R) Xeon(R) CPU E5-2680 v3 processor.&lt;BR /&gt;
	In my syslog, I have this line : &lt;/SPAN&gt;&lt;/P&gt;

&lt;P&gt;1498883997 2017 Jul&amp;nbsp; 1 06:39:57 node_id kern crit kernel CPU42: Package temperature above threshold, cpu clock throttled (total events = 1174)&lt;/P&gt;

&lt;P&gt;I found information about thermal throttling events in Linux kernel at &lt;A href="https://elixir.bootlin.com/linux/latest/source/arch/x86/kernel/cpu/mcheck/therm_throt.c" target="_blank"&gt;https://elixir.bootlin.com/linux/latest/source/arch/x86/kernel/cpu/mcheck/therm_throt.c&lt;/A&gt; and &lt;A href="https://elixir.bootlin.com/linux/latest/source/drivers/thermal/x86_pkg_temp_thermal.c" target="_blank"&gt;https://elixir.bootlin.com/linux/latest/source/drivers/thermal/x86_pkg_temp_thermal.c&lt;/A&gt;&lt;BR /&gt;
	If I understand correctly, the throttle count (corresponding to "total events" in syslog) is incremented at each interrupt. More precisely, it is incremented when a interrupt is raised on a transition from a temperature below the trip point (TM2) to above (based on description in &lt;A class="moz-txt-link-freetext" href="https://www.intel.com/content/www/us/en/embedded/testing-and-validation/cpu-monitoring-dts-peci-paper.html"&gt;https://www.intel.com/content/www/us/en/embedded/testing-and-validation/cpu-monitoring-dts-peci-paper.html)&lt;/A&gt; Is this correct ?&lt;/P&gt;

&lt;P&gt;My second question is : Is there a way to compute the throttling time based on counter (corresponding to "total events" in syslog) ? (Eg : My CPU throttled during 10 seconds in 5 previous minutes).&lt;/P&gt;

&lt;P&gt;Thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 14:13:54 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Computing-CPU-throttling-time/m-p/1143675#M6711</guid>
      <dc:creator>Marc_P_</dc:creator>
      <dc:date>2018-02-23T14:13:54Z</dc:date>
    </item>
    <item>
      <title>For the Xeon E5 v3 there are</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Computing-CPU-throttling-time/m-p/1143676#M6712</link>
      <description>&lt;P&gt;For the Xeon E5 v3 there are performance counter events in the Power Control Unit (PCU) of the uncore that can be used to measure cumulative time spent in various throttling conditions.&amp;nbsp; These are described in the Xeon E5 v3 uncore performance monitoring reference manual (document 331051), Section 2.8.&lt;/P&gt;

&lt;P&gt;Events that are probably important are FREQ_MAX_LIMIT_THERMAL_CYCLES, PROCHOT_INTERNAL_CYCLES, PROCHOT_EXTERNAL_CYCLES.&lt;/P&gt;

&lt;P&gt;I don't currently have any systems that can be put into thermal throttling in a repeatable way, so I have not tested most of these events.&lt;/P&gt;</description>
      <pubDate>Mon, 26 Feb 2018 17:02:42 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Computing-CPU-throttling-time/m-p/1143676#M6712</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2018-02-26T17:02:42Z</dc:date>
    </item>
  </channel>
</rss>

