Re: [PD-dev] why must one never send a message from a perform routine ?

2023-08-24 Thread Christof Ressi
This has nothing to do with callback mode, as such. it is a general performance note included to illustrate the various things that I discovered, often with much debugging of PD itself, which affect performance. Ok, I see. Note that *receiving* messages is more or less fine because the I/O

Re: [PD-dev] why must one never send a message from a perform routine ?

2023-08-24 Thread Day Rush
On Thu, 24 Aug 2023 at 14:12, Christof Ressi wrote: > Perhaps. But I was definitely able to manually bump the priority without > sudo. > > I don't doubt that you can manually bump the priority; that doesn't > necessarily mean that Pd itself can do it. > > BTW, if Pd fails to raise the thread

Re: [PD-dev] why must one never send a message from a perform routine ?

2023-08-24 Thread Christof Ressi
Perhaps. But I was definitely able to manually bump the priority without sudo. I don't doubt that you can manually bump the priority; that doesn't necessarily mean that Pd itself can do it. BTW, if Pd fails to raise the thread priority to RT, you should get the following error message in the

Re: [PD-dev] why must one never send a message from a perform routine ?

2023-08-24 Thread Day Rush
On Wed, 23 Aug 2023 at 23:24, Christof Ressi wrote: > I actually get fewer xruns in callback mode, > > This sounds highly unlikely. Maybe your "delay" setting is too low? Or Pd > is not actually running with realtime priority? > I spent a lot of time testing this on an ancient laptop running a