[PD] lag when starting sub-process

Miller Puckette msp at ucsd.edu
Tue Nov 12 18:09:32 CET 2019


Pd sometimes seems to take several seconds to start up on MacOs.  It once
started up very quickly. I haven't figured out if this is a change in MacOs
or in Pd.

And yes, the owing Pd instance has to wait for the sub-process to get running,
so that will freeze it for a few seconds.

It migth help to clear out unneeded "libraries" (start the subprocess with
-noprefs and explicitly add the ones you want).  Also it will always speed
things up to run the sub-process "-no-gui" whenever you don't need to see it.

cheers
Miller

On Tue, Nov 12, 2019 at 03:52:51PM +0100, Christof Ressi wrote:
> <html><head></head><body><div style="font-family: Verdana;font-size: 12.0px;"><div>
> <div>if the pd~ subprocess blocks (beyond the specified latency), then the parent process blocks as well, so the behavior you describe is expected. It's simply not possible to spawn pd subprocesses in a realtime safe manner (yet).</div>
> 
> <div> 
> <div name="quote" style="margin:10px 5px 5px 10px; padding: 10px 0 10px 10px; border-left:2px solid #C3D9E5; word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">
> <div style="margin:0 0 10px 0;"><b>Gesendet:</b> Dienstag, 12. November 2019 um 15:25 Uhr<br/>
> <b>Von:</b> "iftah gabbai" <ift.gab at gmail.com><br/>
> <b>An:</b> Pd-List <Pd-list at lists.iem.at><br/>
> <b>Betreff:</b> [PD] lag when starting sub-process</div>
> 
> <div name="quoted-content">
> <div>hey there, im experiencing a lag in my main patch when i start a pd~ sub process. on my i7 quad core 16gb macbook pro its about 4-5 seconds until pd is running again and on an rpi 3 its about the same. is this a known thing? and if so, is there a workaround?
> <div> </div>
> 
> <div>best</div>
> </div>
> _______________________________________________ Pd-list at lists.iem.at mailing list UNSUBSCRIBE and account-management -> <a href="https://lists.puredata.info/listinfo/pd-list" target="_blank">https://lists.puredata.info/listinfo/pd-list</a></div>
> </div>
> </div>
> </div></div></body></html>
> 
> 
> 

> _______________________________________________
> Pd-list at lists.iem.at mailing list
> UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list






More information about the Pd-list mailing list