Bugs item #2791638, was opened at 2009-05-14 06:16 Message generated for change (Settings changed) made by eighthave You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2791638...
Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update.
Category: pd-extended Group: v0.41 Status: Open
Resolution: None Priority: 5 Private: No Submitted By: boonier (boonier)
Assigned to: IOhannes m zmlnig (zmoelnig)
Summary: Jack OSX cpu load
Initial Comment: In Jack mode, Blank empty patch
Toggling Compute Audio on and then off results in cpu load jumping up to ~25% from a nominal 1%. Turn Compute Audio back on, and cpu drops back to nominal 1%.
Tested on 2.4ghz iMac , OS 10.5.6. Pd-0.41.4-extended-rc1
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2009-05-28 11:25
Message: ------------------------------------------------------------------ 1. start jack server and attach Pd to it jackdmp 2.7% pd 1.7%
- 21.6%, ml_set_interrupts_enabled, mach_kernel - 7.6%, __nanotime, libSystem.B.dylib - 6.2%, __memcpy, libSystem.B.dylib 5.6%, lo_unix_scall, mach_kernel
------------------------------------------------------------------ 2. then turn on Compute Audio jackdmp 4.2% pd 2.1%
- 20.0%, ml_set_interrupts_enabled, mach_kernel 7.1%, lo_unix_scall, mach_kernel - 6.3%, __nanotime, libSystem.B.dylib - 4.0%, __memcpy, libSystem.B.dylib - 4.0%, __gettimeofday, libSystem.B.dylib - 2.8%, select$DARWIN_EXTSN$NOCANCEL, libSystem.B.dylib 2.2%, lo_alltraps, mach_kernel 2.0%, lo_mach_scall, mach_kernel
------------------------------------------------------------------ 3. turn off Compute Audio after its on jackdmp 4.2% pd 7.5-10.5% + 81.4%, __bzero, libSystem.B.dylib | + 80.9%, process, pd | | + 80.9%, Jack::JackClient::Execute(), Jackmp | | | + 80.9%, Jack::JackPosixThread::ThreadHandler(void*), Jackmp | | | | + 80.9%, _pthread_start, libSystem.B.dylib | | | | | 80.9%, thread_start, libSystem.B.dylib
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2009-05-18 16:04
Message: Ah, sorry, I misunderstood, I also get similar behavior using Pd version 0.41.4-extended-rc2. Using Jack, I get ~3% CPU when audio is ON and ~8% CPU when audio is OFF.
----------------------------------------------------------------------
Comment By: Nobody/Anonymous (nobody) Date: 2009-05-18 05:56
Message: hi - sorry for delay
hmm i don't understand why when Pd is runing in Jack mode and you switch audio off, why it would revert to a Portaudio state? I that what you are saying?
----------------------------------------------------------------------
Comment By: Hans-Christoph Steiner (eighthave) Date: 2009-05-14 12:24
Message: For me, Pd without Jack, i.e. just using coreaudio/portaudio, it will use 25% of my CPU just idling. That's a known issue. With Jack, it goes down to 5-7% at idle. So my guess is that the first time the 25% spike is caused by the same think.
Is this causing any problems for you?
----------------------------------------------------------------------
You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=478070&aid=2791638...