<?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 Re: WinMMAudioRenderer Pegs CPU in Intel® Integrated Performance Primitives</title>
    <link>https://community.intel.com/t5/Intel-Integrated-Performance/WinMMAudioRenderer-Pegs-CPU/m-p/852369#M6689</link>
    <description>Discovered that the base audio renderer has a vm_time_sleep(0) spin on UMC_ERR_NOT_ENOUGH_BUFFERS. While no data is flowing through the audio renderer, this loop will peg the CPU at 100%. There are other examples of vm_time_sleep(0) or vm_time_sleep(TIME_TO_SLEEP) where TIME_TO_SLEEP=0 in other parts of UMC. They all need to be replaced with synchronization objects.&lt;BR /&gt;</description>
    <pubDate>Thu, 14 Feb 2008 15:26:26 GMT</pubDate>
    <dc:creator>franknatoli</dc:creator>
    <dc:date>2008-02-14T15:26:26Z</dc:date>
    <item>
      <title>WinMMAudioRenderer Pegs CPU</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/WinMMAudioRenderer-Pegs-CPU/m-p/852368#M6688</link>
      <description>Windows Task Manager shows a 100% CPU hit when the WinMMAudioRenderer is initialized as follows:&lt;BR /&gt;&lt;BR /&gt; UMC::FWAudioRenderParams audioRenderParams;&lt;BR /&gt; audioRenderParams.info = *audioTrackInfo;&lt;BR /&gt; audioRenderParams.pModuleContext = NULL;&lt;BR /&gt; audioRenderParams.pOutFile = NULL;&lt;BR /&gt;&lt;BR /&gt; UMC::WinMMAudioRender audioRender;&lt;BR /&gt; audioRender.Init(&amp;amp;audioRenderParams);&lt;BR /&gt; if (umcResult != UMC::UMC_OK)&lt;BR /&gt; {&lt;BR /&gt;  str.Format("WinMMAudioRender::Init failure %d", umcResult);&lt;BR /&gt;  AfxMessageBox(str);&lt;BR /&gt;  dualThreadedCodec.Reset();&lt;BR /&gt;  dualThreadedCodec.Close();&lt;BR /&gt;  splitter-&amp;gt;Stop();&lt;BR /&gt;  splitter-&amp;gt;Close();&lt;BR /&gt;  reader.Close();&lt;BR /&gt;  return;&lt;BR /&gt; }&lt;BR /&gt;&lt;BR /&gt; // check run&lt;BR /&gt; while (!m_bPlay)&lt;BR /&gt;  Sleep(200);&lt;BR /&gt;&lt;BR /&gt;If I move the Sleep loop above the WinMMAudioRenderer Init call, CPU stays normal. Move the Sleep loop after the WinMMAudioRenderer Init call, CPU pegs 100%. My guess is that WinMMAudioRenderer is creating a thread that is spinning badly on something. Probably should submit this to premier.intel.com but thought I'd check the forum first. Thanks.&lt;BR /&gt;</description>
      <pubDate>Mon, 11 Feb 2008 14:45:53 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/WinMMAudioRenderer-Pegs-CPU/m-p/852368#M6688</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2008-02-11T14:45:53Z</dc:date>
    </item>
    <item>
      <title>Re: WinMMAudioRenderer Pegs CPU</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/WinMMAudioRenderer-Pegs-CPU/m-p/852369#M6689</link>
      <description>Discovered that the base audio renderer has a vm_time_sleep(0) spin on UMC_ERR_NOT_ENOUGH_BUFFERS. While no data is flowing through the audio renderer, this loop will peg the CPU at 100%. There are other examples of vm_time_sleep(0) or vm_time_sleep(TIME_TO_SLEEP) where TIME_TO_SLEEP=0 in other parts of UMC. They all need to be replaced with synchronization objects.&lt;BR /&gt;</description>
      <pubDate>Thu, 14 Feb 2008 15:26:26 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/WinMMAudioRenderer-Pegs-CPU/m-p/852369#M6689</guid>
      <dc:creator>franknatoli</dc:creator>
      <dc:date>2008-02-14T15:26:26Z</dc:date>
    </item>
    <item>
      <title>Re: WinMMAudioRenderer Pegs CPU</title>
      <link>https://community.intel.com/t5/Intel-Integrated-Performance/WinMMAudioRenderer-Pegs-CPU/m-p/852370#M6690</link>
      <description>&lt;P&gt;Agree, please submit your issue report to &lt;A href="http://premier.intel.com"&gt;Intel Premier Support&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;Vladimir&lt;/P&gt;</description>
      <pubDate>Wed, 20 Feb 2008 19:35:35 GMT</pubDate>
      <guid>https://community.intel.com/t5/Intel-Integrated-Performance/WinMMAudioRenderer-Pegs-CPU/m-p/852370#M6690</guid>
      <dc:creator>Vladimir_Dudnik</dc:creator>
      <dc:date>2008-02-20T19:35:35Z</dc:date>
    </item>
  </channel>
</rss>

