Hey guys,
This has been rehashed again and again, but it's worth bringing up
once more.
I've attached an example patch "sample-test-01.pd" and it's
dependencies. On my dual core 2.4ghz Macbook Pro (4gb ram, 10.5.1, pd
extended 40.3-2007-12-07), I hit 21-27% cpu load
On my work machine, a 1.8ghz single core P4 running windows XP, the
cpu load is negligible (around 0-1%).
I've seen this pattern before, and I anticipate Linux users will
experience negligible CPU load as well with this example patch. This
difference is pretty extreme, my notebook tests well on Geekbench and
other benchmarks, but why is the performance so poor with Pd?
I appreciate any insight you can give, ~bsoisoi
On Feb 4, 2008 11:16 AM, bsoisoi bsoisoi@mac.com wrote:
I've attached an example patch "sample-test-01.pd" and it's dependencies. On my dual core 2.4ghz Macbook Pro (4gb ram, 10.5.1, pd extended 40.3-2007-12-07), I hit 21-27% cpu load
On the Macbook 'Pro' 1.83 I have here the CPU time is never above 10% and all of that time is spent in the driver - I bet you didn't know the Apple drivers always apply the iTunes graphic EQ effect to the output did you?
Your problem might be simply having the latest Macbook with its unbelievably shitty drivers. The Apple written drivers have gotten really bad lately - try to stick with ATI GPUs just to avoid Apple's in house Nvidia drivers for example. The wireless drops connections with perfect reception and the audio sucks a lot of CPU pointlessly.
Maybe use Bootcamp for Pd?
About the iTunes EQ, that is really funny. I just profiled PD while
running the example patch, and you're right (see example 1 below).
Using "Instruments" showed similar results, + a _lot_ of time spent
microsleeping.
Do you find that the CPU load scales well in large patches,
disregarding the 10% overhead?
--Example 1--: # Report 0 - Session 2 - Time Profile of pd.mshark - Time Profile of pd SharkProfileViewer # Generated from the visible portion of the outline view
long) (com.apple.driver.DspFuncLib)
unsigned long) (com.apple.driver.DspFuncLib)
long) (com.apple.driver.DspFuncLib)
(com.apple.driver.DspFuncLib)
(com.apple.driver.DspFuncLib)
On Feb 4, 2008, at 12:56 PM, chris clepper wrote:
On Feb 4, 2008 11:16 AM, bsoisoi bsoisoi@mac.com wrote: I've attached an example patch "sample-test-01.pd" and it's dependencies. On my dual core 2.4ghz Macbook Pro (4gb ram, 10.5.1, pd extended 40.3-2007-12-07), I hit 21-27% cpu load
On the Macbook 'Pro' 1.83 I have here the CPU time is never above
10% and all of that time is spent in the driver - I bet you didn't
know the Apple drivers always apply the iTunes graphic EQ effect to
the output did you?Your problem might be simply having the latest Macbook with its
unbelievably shitty drivers. The Apple written drivers have gotten
really bad lately - try to stick with ATI GPUs just to avoid Apple's
in house Nvidia drivers for example. The wireless drops connections
with perfect reception and the audio sucks a lot of CPU pointlessly.Maybe use Bootcamp for Pd?
the patch i'm currently using has a base cpu output of around 50% and then it goes up to about 70% when running. ..but that's with 8 channels of drums, 4 synth channels, 8 sampler channels and dsp effects + gui for all of them.
i didn't know that about the itunes eq either. is there a way to turn that off?
Just a thought, but is everyone running in Jack mode or Portaudio
mode? and following on from that, would running in Jack mode be
subject to this iTunes eq crap? (Apple, what is that about? -a step
too far i think)
S
On 5 Feb 2008, at 04:11, hard off wrote:
the patch i'm currently using has a base cpu output of around 50% and then it goes up to about 70% when running. ..but that's with 8 channels of drums, 4 synth channels, 8 sampler channels and dsp effects + gui for all of them.
i didn't know that about the itunes eq either. is there a way to
turn that off?
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I think the performance under load on Mac OS X isn't so bad. But it
does use a lot of CPU on idle, for whatever reason.
There are somethings that can be done to make things run better on
Mac OS X. For example, on Mac OS X and Windows, Pd uses double-
precision math functions while Pd only uses single-precision floats.
If Pd used the single-precision functions, then things would probably
use a bit less CPU.
.hc
On Feb 5, 2008, at 4:55 AM, Si Mills wrote:
Just a thought, but is everyone running in Jack mode or Portaudio mode? and following on from that, would running in Jack mode be subject to this iTunes eq crap? (Apple, what is that about? -a step too far i think)
S
On 5 Feb 2008, at 04:11, hard off wrote:
the patch i'm currently using has a base cpu output of around 50% and then it goes up to about 70% when running. ..but that's with 8 channels of drums, 4 synth channels, 8 sampler channels and dsp effects + gui for all of them.
i didn't know that about the itunes eq either. is there a way to turn that off?
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
PD-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list
I spent 33 years and four months in active military service and
during that period I spent most of my time as a high class muscle man
for Big Business, for Wall Street and the bankers. - General
Smedley Butler