lokki what are the drawbacks? inability to login via ssh because of "overload", or similar?
there can be down to zero time for the CPU to serve anything else than the audio, so yes, the IDE will quickly become unresponsive. If you are running something in a terminal, you should still be able to ctrl-C. Either way, you can always stop the running program by pressing The Button on the Bela (or BelaMini) cape.
lokki how would i apply it to a project that runs on startup?
Just add it to the "User Command Line Arguments:" field for the project in the IDE (--high-performance-mode
). Then refresh the project starting at boot (e.g.: select "none" and then select your project again).
To make sure that these options have been applied, run
cat /opt/Bela/startup_env
and you should see something like
ACTIVE=1
PROJECT=test
ARGS=-p16 -C8 -B16 -H-6 -N1 -G1 -M0 -D0 -A0 --pga-gain-left=10 --pga-gain-right=10 --high-performance-mode -X0