<?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 Background processes for most cpu frequency stability? in Software Tuning, Performance Optimization &amp; Platform Monitoring</title>
    <link>https://community.intel.com/t5/Software-Tuning-Performance/Background-processes-for-most-cpu-frequency-stability/m-p/1139656#M6601</link>
    <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm trying to get the Jack audio server to run smoothly on Linux and this seems to be less glitchy the more I restrict the cpu frequency.&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="_5yl5"&gt;&lt;SPAN&gt;Disabling SpeedStep doesn't seem to prevent cpu frequency scaling (even though the BIOS says “Disabled = Places the processor into the highest performance state and prevents the Intel Speedstep applet or native operating system driver from adjusting the processor's performance.&lt;/SPAN&gt;&lt;/SPAN&gt;” which suggests that it is meant to...), but it does reduce the number of glitches.&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="_5yl5"&gt;&lt;SPAN&gt;With the scaling governor set to ‘performance’, i7z reports that the cores have a frequency range of around 2584.53 to 2595.74&lt;/SPAN&gt;&lt;/SPAN&gt;, but if I use the program ‘hackbench’ to generate background processes to max out the processor, stability increases and the frequency range becomes &lt;SPAN class="_5yl5"&gt;&lt;SPAN&gt;2592.95 to 2592.96&lt;/SPAN&gt;&lt;/SPAN&gt;. Is there a way to get that stability without hackbench's background processes?&lt;/P&gt;

&lt;P&gt;I'm using a Intel Core i5-6440HQ Processor (Quad Core 2.60GHz, 3.50GHz Turbo, 6MB 45W, w/Intel HD&lt;BR /&gt;
	Graphics 530) with a recent BIOS update.&lt;/P&gt;

&lt;P&gt;Thanks for any advice that can be provided :)&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
    <pubDate>Tue, 10 Oct 2017 23:34:45 GMT</pubDate>
    <dc:creator>Thomas_H_1</dc:creator>
    <dc:date>2017-10-10T23:34:45Z</dc:date>
    <item>
      <title>Background processes for most cpu frequency stability?</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Background-processes-for-most-cpu-frequency-stability/m-p/1139656#M6601</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;

&lt;P&gt;I'm trying to get the Jack audio server to run smoothly on Linux and this seems to be less glitchy the more I restrict the cpu frequency.&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="_5yl5"&gt;&lt;SPAN&gt;Disabling SpeedStep doesn't seem to prevent cpu frequency scaling (even though the BIOS says “Disabled = Places the processor into the highest performance state and prevents the Intel Speedstep applet or native operating system driver from adjusting the processor's performance.&lt;/SPAN&gt;&lt;/SPAN&gt;” which suggests that it is meant to...), but it does reduce the number of glitches.&lt;/P&gt;

&lt;P&gt;&lt;SPAN class="_5yl5"&gt;&lt;SPAN&gt;With the scaling governor set to ‘performance’, i7z reports that the cores have a frequency range of around 2584.53 to 2595.74&lt;/SPAN&gt;&lt;/SPAN&gt;, but if I use the program ‘hackbench’ to generate background processes to max out the processor, stability increases and the frequency range becomes &lt;SPAN class="_5yl5"&gt;&lt;SPAN&gt;2592.95 to 2592.96&lt;/SPAN&gt;&lt;/SPAN&gt;. Is there a way to get that stability without hackbench's background processes?&lt;/P&gt;

&lt;P&gt;I'm using a Intel Core i5-6440HQ Processor (Quad Core 2.60GHz, 3.50GHz Turbo, 6MB 45W, w/Intel HD&lt;BR /&gt;
	Graphics 530) with a recent BIOS update.&lt;/P&gt;

&lt;P&gt;Thanks for any advice that can be provided :)&lt;/P&gt;

&lt;P&gt;Tom&lt;/P&gt;</description>
      <pubDate>Tue, 10 Oct 2017 23:34:45 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Background-processes-for-most-cpu-frequency-stability/m-p/1139656#M6601</guid>
      <dc:creator>Thomas_H_1</dc:creator>
      <dc:date>2017-10-10T23:34:45Z</dc:date>
    </item>
    <item>
      <title>In general, the Power Control</title>
      <link>https://community.intel.com/t5/Software-Tuning-Performance/Background-processes-for-most-cpu-frequency-stability/m-p/1139657#M6602</link>
      <description>&lt;P&gt;In general, the Power Control Unit on Intel processors feels free to lower the frequency of idle processors.&amp;nbsp; As far as I can tell, this cannot be overridden by BIOS or OS options.&amp;nbsp;&amp;nbsp; It has minimal impact on the performance of long-running processes, but the frequency changes incur a latency penalty that could be significant for a process that runs for a very short period of time (with sleeping between periods of activity).&lt;/P&gt;

&lt;P&gt;One recommendation that I have seen is to put a "spinner" process in the background at the lowest possible priority.&amp;nbsp; Something like:&lt;/P&gt;

&lt;BLOCKQUOTE&gt;
	&lt;P&gt;taskset -c &amp;lt;target_core&amp;gt; nice 19 ./spinner&lt;/P&gt;
&lt;/BLOCKQUOTE&gt;

&lt;P&gt;This will ensure that the &amp;lt;target_core&amp;gt; is never idle, but the "spinner" program should never steal cycles from any other application.&lt;/P&gt;

&lt;P&gt;Your processor does not support HyperThreading, which makes things a bit easier.&amp;nbsp; The approach above will slow down the application if the spinner and the application are pinned to different logical processors on the same physical processor (since the OS sees those as different processors, it will schedule them at the same time, and they will share the hardware resources).&lt;/P&gt;

&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 16 Oct 2017 15:35:21 GMT</pubDate>
      <guid>https://community.intel.com/t5/Software-Tuning-Performance/Background-processes-for-most-cpu-frequency-stability/m-p/1139657#M6602</guid>
      <dc:creator>McCalpinJohn</dc:creator>
      <dc:date>2017-10-16T15:35:21Z</dc:date>
    </item>
  </channel>
</rss>

