jackaudio.github.com icon indicating copy to clipboard operation
jackaudio.github.com copied to clipboard

Question about buffering

Open Raymonk975 opened this issue 9 years ago • 1 comments

Hello, i am using JACK audio on a small Windows computer. I know JACK is intented to be low latency but in my case i would like to set a larger buffering to ease the CPU workload. I have successfully set the buffer to 8192 samples, but it doesn't seem to work for higher values. Is possible to allow for larger buffers?

Thank you for this very useful piece of software!

Raymonk975 avatar Jul 17 '16 16:07 Raymonk975

The BUFFER_SIZE_MAX is defined in "common/JackConstants.h" to 8192 samples. You would have to build jack2 yourself to change that maximum.

Furthermore, increasing the buffer size beyond this will not yield the results you seek. The overhead you are trying to reduce by increasing the buffer size is already so small, that it will not bring you any noticeable performance boost by increasing the buffer size.

Your system is simply overwhelmed by the required computation time. You may:

  • remove clients from jack
  • upgrade your hardware
  • improve your signal processing clients to use less computational resources
  • partition your signal processing graph in a way, that allows for the workload to be split across multiple processors, if available and if possible.

mseeber avatar Jul 18 '16 21:07 mseeber