Forums > MaxMSP

CPU question

January 19, 2009 | 8:26 pm

Hi community,

THis is something I’ve been wondering about for a while.
What is the REAL % that max is taking. When I look in the option/DSP/Cpu < - the value is drastically different from the MAC's activity monitor.

I feel the activity is more precise simply because when max’s operations start coughing & jittering, the DSP’s CPU will only be @ something like 32% while @ 84% in the Activity monitor.

So, I is the DSP’s CPU % really showing.

Thanks a lot for clearing things up.

phil


January 20, 2009 | 2:38 am

> THis is something I’ve been wondering about for a while.
> What is the REAL % that max is taking. When I look in the option/DSP/Cpu < -
> the value is drastically different from the MAC’s activity monitor.
>
> I feel the activity is more precise simply because when max’s operations start
> coughing & jittering, the DSP’s CPU will only be @ something like 32% while @
> 84% in the Activity monitor.
>
> So, I is the DSP’s CPU % really showing.

In the DSP status, you see the percentage of CPU use for DSP processing,
i.e. what MSP does in terms of signal processing. Max does a lot more stuff.
Add Jitter, add java, add externals, add communication, networking, surfing
the web, looking into a database, and you may often go beyond 100 – 104% in
the activity monitor. Your numbers are not surprising.

And, if you want really bad numbers, try to open [pattr]‘s clientwindow and
storagewindow in a real patch, and watch the CPU. (no, never open these
windows in concert!)

Jean-Francois.


January 20, 2009 | 5:24 am

thanks for the reply.

>>In the DSP status, you see the percentage of CPU use for DSP processing,
i.e. what MSP does in terms of signal processing. Max does a lot more stuff.

Not sure what you mean by max does more stuff.

>>Add Jitter, add java, add externals, add communication, networking, surfing
the web, looking into a database, and you may often go beyond 100 – 104%

No of course this is not what I meant. WHat I mean is that when all browser etc are off, when I look @ the CPu in the DSP window it is always drastically different from what I see in the Activity monitor give me specifically for MAx msp ‘s usage. Not the CPU % of everything running.

So, in this manner (unless I don’t get what your saying) the question still remains ;-)

phil


January 20, 2009 | 11:26 am

Quote: phil hughes wrote on Tue, 20 January 2009 06:24
—————————————————-
> >>In the DSP status, you see the percentage of CPU use for DSP processing,
> i.e. what MSP does in terms of signal processing. Max does a lot more stuff.
>
> Not sure what you mean by max does more stuff.
>
> >>Add Jitter, add java, add externals, add communication, networking, surfing
> the web, looking into a database, and you may often go beyond 100 – 104%
>
> No of course this is not what I meant. WHat I mean is that when all browser etc are off, when I look @ the CPu in the DSP window it is always drastically different from what I see in the Activity monitor give me specifically for MAx msp ‘s usage. Not the CPU % of everything running.
>
> So, in this manner (unless I don’t get what your saying) the question still remains ;-)
—————————————————-

You’ve not understood the answer.

The display in the DSP window is an indication of how much CPU is used for handling *D*S*P*only*. That’s why it’s in the DSP window.

Over and above DSP, Max (*Max*, not anything else on your machine) is running a UI, handling message-passing between objects (which is far more CPU intensive than most people imagine), possibly running a Java engine, possibly interperting Javascript, possibly processing video, possibly handling net I/O, and definitely doing a pile of other work.

What you see in Activity Monitor is the total CPU used by Max/MSP.

What you see in the DSP window is how much CPU is used solely for processing DSP.

Google the archives, this has been discussed many, many, many times in the past. It is also actually explained fairly clearly in the friendly reference manuals.


January 20, 2009 | 2:37 pm

>>>> In the DSP status, you see the percentage of CPU use for DSP processing,
>> i.e. what MSP does in terms of signal processing. Max does a lot more stuff.
>>
>> Not sure what you mean by max does more stuff.
>>
>>>> Add Jitter, add java, add externals, add communication, networking, surfing
>> the web, looking into a database, and you may often go beyond 100 – 104%
>>
>> No of course this is not what I meant. WHat I mean is that when all browser
>> etc are off, when I look @ the CPu in the DSP window it is always drastically
>> different from what I see in the Activity monitor give me specifically for
>> MAx msp ‘s usage. Not the CPU % of everything running.
>>
>> So, in this manner (unless I don’t get what your saying) the question still
>> remains ;-)
> —————————————————-
>
> You’ve not understood the answer.
>
> The display in the DSP window is an indication of how much CPU is used for
> handling *D*S*P*only*. That’s why it’s in the DSP window.
>
> Over and above DSP, Max (*Max*, not anything else on your machine) is running
> a UI, handling message-passing between objects (which is far more CPU
> intensive than most people imagine), possibly running a Java engine, possibly
> interperting Javascript, possibly processing video, possibly handling net I/O,
> and definitely doing a pile of other work.
>
> What you see in Activity Monitor is the total CPU used by Max/MSP.
>
> What you see in the DSP window is how much CPU is used solely for processing
> DSP.
>
> Google the archives, this has been discussed many, many, many times in the
> past. It is also actually explained fairly clearly in the friendly reference
> manuals.
>
> Peter Castine

Exactly as Peter says.


January 20, 2009 | 5:31 pm

THanks guys,

It was nearly 2 in the morning. Went to bed/woke up/ realized, God I stupid of me < - your looking at the DSP. SIGNAL. of course it will be different than in the activity monitor. Sorry about that. :-|

Thanks for clearing some clear up.

phil


Viewing 6 posts - 1 through 6 (of 6 total)