Re: CPU problems only after hours

Jakobweb via Pd-list <[email protected]> Wed, 15 Apr 2026 10:16:30 +0200
Newsgroups gmane.comp.multimedia.puredata.general
Message-ID <[email protected]>
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/