Freezing up when a patch with too much load is loaded

I am still finding my feet with MM. So I regularly load a patch that exceeds its resources. What happens is this. If I load something and it runs the CPU load up to 100% I get a warning and audio goes away. I can back out and try and reload another patch but no audio is produced. The Go arrow still goes green or grey on push and I can cruise around. But no audio. Even after I load another patch known to work. Tachyon Entangler and Elastika seems to be frequent perpetrators of the problem.
Another mystery is that the CPU load shows as 100% and never any higher, even though the processor has 2 cores. Most Linux based systems will show up to 100% per core and is more informative as true load capacity.

Hmm.. that shouldn’t be happening, the audio should come back after it hits > 100%.

That could be a clue… perhaps something with those modules? I regularly exceed 100% and it always plays fine if I open a different patch, change the audio settings, or remove whatever module I added that caused the load increase.
Have you tried changing the sample rate or block size? That will reset some more of the audio stream. If that makes it work then that’s another clue.
Also have you played with the overload retries settings?

Yeah, I’ve thought about showing per-core, like “78% + 45%”. When we first were getting 1.0 up, I asked around informally and the consensus was “One number is easier to understand than 2” so we went with that. But it’s easy to change.

I guess one thing is true, I’ve not ever exceeded 100% and so I thought that was the upper limit. But some of my patches definitely start to behave like and overloaded CPU swapping d/t RAM. .

Also, I did change the sameple rate and size and unfortunately it still drops.

I do have other patches that don’t ever drop audio.

If you want to attach a patch file that causes problems, that would help us troubleshoot the issue

LikeVick.yml (13.0 KB)
LikeVick1.vcv (4.0 KB)

OK, I ran that patch and there’s no audio like you say. If I remove the Cella TwinPeaks module, then it works (minus the filtering sound). Further playing around showed me that the LP-TWP knob on the TwinPeaks causes the DC offset of the signal to go below -10V when it’s turned all the way up (and it’s all the up in the patch originally). It doesn’t do that on VCV Rack, and I don’t know what the function of that knob is (Low Pass <> Twin Peaks cross fade?). But turning that knob down restores the audio:

LikeVick2.yml (14.6 KB)

cool. will load this to see what you see. it’s interesting that the default ranges of some modules may be pushing output out the audio range. also, on my MM I am not seeing any CPU usage going above 100%. I will start a separate thread on this.