Note that the issue I&#39;m seeing is a difference in cpu usage between Pd-Extended and Pd-vanilla.  In OS X 10.7, when opening up each version of pd and looking at Activity Monitor (before every opening a patch or turning on DSP), I get:<div>
<br></div><div>- Pd-0.43.1-extended-20120228 running at ~ 17% cpu</div><div>- Pd-0.43-1 running at ~ 7% cpu<br><br>I can file this on sourceforge if it would be easier to track there.<br><br><div class="gmail_quote">On Wed, Feb 29, 2012 at 8:56 PM, Jamie Bullock <span dir="ltr">&lt;<a href="mailto:jamie@postlude.co.uk">jamie@postlude.co.uk</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="HOEnZb"><div class="h5"><br>
<br>
On 28 Feb 2012, at 21:10, katja wrote:<br>
<br>
&gt;<br>
&gt;<br>
&gt; On Tue, Feb 28, 2012 at 9:06 PM, Jamie Bullock &lt;<a href="mailto:jamie@postlude.co.uk">jamie@postlude.co.uk</a>&gt; wrote:<br>
&gt;<br>
&gt; Yup, I think this is related to the Portaudio driver. I reported it here:<br>
&gt;<br>
&gt;        <a href="http://sourceforge.net/tracker/?func=detail&amp;aid=3100679&amp;group_id=55736&amp;atid=478070" target="_blank">http://sourceforge.net/tracker/?func=detail&amp;aid=3100679&amp;group_id=55736&amp;atid=478070</a><br>

&gt;<br>
&gt; I don&#39;t think it&#39;s Portaudio itself that&#39;s at fault, but rather the way it interfaces with Pd.<br>
&gt;<br>
&gt;<br>
&gt; DspFuncLib is in:<br>
&gt;<br>
&gt;  /System/Library/Extensions/AppleHDA.kext/Content/Plugins/DspFuncLib.kext/Contents/MacOS.<br>
&gt;<br>
&gt; If you run command nm on the lib, you&#39;ll see a plethora of dsp functions like MultiBandCompressor, NoiseCanceller, Loudness, Softclip, Limiter and whatnot. Functions in this lib are called when the internal soundcard is used. When using an external soundcard with Pd, DspFuncLib is not called and that makes the big difference in CPU load.<br>

&gt;<br>
&gt; AppleHDA and mach_kernel are Apple libs as well and together with DspFuncLib they are responsible for the crazy CPU load in the &#39;idle-but-dsp-on&#39; case.<br>
&gt;<br>
&gt; PortAudio functions are apparently statically built into Pd and they consume very little CPU time.<br>
&gt;<br>
<br>
</div></div>It seems that you&#39;re right, so I&#39;ve closed the bug (my apologies to PortAudio!).<br>
<br>
I guess the real &#39;fix&#39; for this is that Pd now has a block size setting in Preferences. With a block size of 1024, using the PortAudio driver I get a CPU use of &lt;2% with DSP on. Checking &quot;use callbacks&quot; also seems to reduce CPU. Here, I got a reduction of ~2% with that checked.<br>

<br>
Also, I&#39;m not sure if this is an improvement in recent versions of OS X, but Pd now runs at only ~5% with DSP on using the PortAudio driver with a blocksize of 64. This is on a MacBook Air i7/1.8.<br>
<br>
best,<br>
<br>
Jamie<br>
<br>
--<br>
<a href="http://www.jamiebullock.com" target="_blank">http://www.jamiebullock.com</a><br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
</div></div></blockquote></div><br></div>