Re: CPU problems only after hours
"Peter P." <[email protected]> Wed, 15 Apr 2026 11:31:18 +0200
| Newsgroups | gmane.comp.multimedia.puredata.general |
|---|---|
| Message-ID | <h3bw5dh6kobc5rjwd4tojvxdrbnjrug22tcig7hfmu6564bs6z@v435yakwtlip> |
Hi Jakob, from Antoine's and IOhannes' replies and your own comments it *looks* as if your problems are not related to audio processing. You could try disabling the label modification Antoine pointed out in the patch rather than trying -nogui, which would nevertheless create the symbols as pointed out by IOhannes. That is all that I can contribute at the current point I am afraid... good luck! P * Jakobweb via Pd-list <[email protected]> [2026-04-15 10:17]: > Dear Peter, thank you for your hint. > > I did some tests: > - I disconnected the Teensys and played the instrument by myself, stress-testing it by playing many notes on all four sets. The problem persists and seems to appear already after a few minutes. > > - I re-connected the Teensys, re-started the patch, then after a few seconds disabled Audio-computing by unclicking the checkbox in the console. And then I‘ve let the sensors play the instrument over night. Just with no audio computing. > > The pd-pid in the top command was showing around 7 % after starting the patch, same value for the cpu-meter in Pd. > > After the night, the problem came back! I couldnt hear it, because I had audio still turned off, but I could see it in the lagging of colors that are changing according to the sequencer and some some other gui elements. > > pd-pid in top command shows 98%, the cpu-loadmeter shows 468% ! > > This is interesting because it shows that the problem does not lie in the audio-computation. > > Can you confirm? > > Best, Jakob > > > Am 14.04.2026 um 13:09 schrieb Peter P. <[email protected]>: > > > > Jakob, > > > > * Jakobweb via Pd-list <[email protected]> [2026-04-14 12:59]: > > [...] > >> When I let the sensors and instrument do their thing, everything is fine. CPU load is at about 30-50 % according to Pd‘s load meter. But after 2-3 hours or so, I hear crackles in the audio, the cpu load goes up to over 100 %. The audio is not fluent anymore, it‘s lagging. > > Provided you have narrowed to CPU consumption down to Pd's two software > > components using the top unix command or your OSes cpu meter, you could > > try running the patch with -noaudio or DSP turned off and see > > if the CPU consumption is in the audio part of your patch. > > > > Alterantively see if the problem persists without your > > single-board-computer sending data. > > > > best, P > > > > --- > > [email protected] - the Pure Data mailinglist > > https://lists.iem.at/hyperkitty/list/[email protected]/message/EAC6KE6LXSX7KX3YBVED5Y6E3N5MQQRO/ > > > > To unsubscribe send an email to [email protected] mailing list > > UNSUBSCRIBE and account-management -> https://lists.iem.at/ > > > --- > [email protected] - the Pure Data mailinglist > https://lists.iem.at/hyperkitty/list/[email protected]/message/2EUEOOOIK4FHN5YSYUPUO3G5CUO5LORY/ > > To unsubscribe send an email to [email protected] mailing list > UNSUBSCRIBE and account-management -> https://lists.iem.at/ --- [email protected] - the Pure Data mailinglist https://lists.iem.at/hyperkitty/list/[email protected]/message/BRGXRI6M3AMCAN76I5XFEWU2R5JFIXLT/ To unsubscribe send an email to [email protected] mailing list UNSUBSCRIBE and account-management -> https://lists.iem.at/