<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>

    <meta http-equiv="content-type" content="text/html; charset=ISO-8859-1">
  </head>
  <body bgcolor="#ffffff" text="#000000">
    Hey, I thought I would repost this here (after all we are all
    striving for good performance at low latencies). I was having
    problems with xruns in my laptop: I could only get xrun free
    behavior if I actually turned off the cpuspeed daemon (lost a lot of
    time on it) - just setting the governor to "Performance Mode" would
    not help.&nbsp; <br>
    <br>
    Turning off pci and pci express power management (but not power
    management for the CPU) in the BIOS seems to have made all the
    difference. This may be premature because I have not done a full
    scale test yet but my first impression is that it works. <br>
    <br>
    -- Fernando<br>
    <br>
    -------- Original Message --------
    <table class="moz-email-headers-table" border="0" cellpadding="0"
      cellspacing="0">
      <tbody>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">Subject: </th>
          <td>Re: [LAU] Balance between performance and noise</td>
        </tr>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">Date: </th>
          <td>Thu, 09 Dec 2010 15:54:47 -0800</td>
        </tr>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">From: </th>
          <td>Fernando Lopez-Lezcano <a class="moz-txt-link-rfc2396E" href="mailto:nando@ccrma.Stanford.EDU">&lt;nando@ccrma.Stanford.EDU&gt;</a></td>
        </tr>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">To: </th>
          <td>Robin Gareus <a class="moz-txt-link-rfc2396E" href="mailto:robin@gareus.org">&lt;robin@gareus.org&gt;</a></td>
        </tr>
        <tr>
          <th nowrap="nowrap" align="RIGHT" valign="BASELINE">CC: </th>
          <td><a class="moz-txt-link-abbreviated" href="mailto:linux-audio-user@lists.linuxaudio.org">linux-audio-user@lists.linuxaudio.org</a></td>
        </tr>
      </tbody>
    </table>
    <br>
    <pre>On 12/09/2010 12:10 PM, Robin Gareus wrote:
&gt; On 12/09/2010 06:39 PM, rosea.grammostola wrote:
&gt;&gt; On 12/09/2010 06:35 PM, Robin Gareus wrote:
&gt;&gt;&gt; On 11/27/10 13:11, Arnold Krille wrote:
&gt;&gt;&gt;
&gt;&gt;&gt;&gt; Set ther cpu-governor to performance (so it doesn't switch
&gt;&gt;&gt;&gt; frequencies which
&gt;&gt;&gt;&gt; produces xruns) but reduce the maximum allowed frequency.
&gt;&gt;&gt;&gt;
&gt;&gt;&gt; what kernel are you running?
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt;&gt;    2.6.33.7-rt29
&gt;&gt;&gt;
&gt;&gt;
&gt;&gt; That one ^
&gt;&gt;
&gt;&gt; You tested it with yoshimi, hammond or other heavy patches? Foo-yc20 ?
&gt;
&gt; different toolset here, but I can go from naught to 16 jconvolvers,
&gt; csound, fluidsynth, ardour&amp;  jamin in a few seconds. causing the CPU
&gt; usage to jump up and change freq w/o x-runs.
&gt;
&gt; ..what does cause problems here is FSBus frequency scaling, I've
&gt; disabled that in the BIOS.

Turns out that there are two parameters in my laptop's BIOS (Lenovo 
T510) that can disable both pci and pci express power management.

I'll be darned! Guess what? The xruns are gone! Like magic!! Just on a 
preliminary test (I don't have all the hardware I would need here) but 
running with the "Ondemand" governor.

This is a _golden_ tip. Thanks much!

-- Fernando
_______________________________________________
Linux-audio-user mailing list
<a class="moz-txt-link-abbreviated" href="mailto:Linux-audio-user@lists.linuxaudio.org">Linux-audio-user@lists.linuxaudio.org</a>
<a class="moz-txt-link-freetext" href="http://lists.linuxaudio.org/listinfo/linux-audio-user">http://lists.linuxaudio.org/listinfo/linux-audio-user</a>
</pre>
  </body>
</html>