[LAD] Faster context switch

Michael Ost most at museresearch.com
Tue Nov 2 18:02:27 UTC 2010

fons at kokkinizita.net wrote:
> On Tue, Nov 02, 2010 at 10:17:30AM -0700, Michael Ost wrote:
>> Ah, so no magic bullet then! %) This makes sense. Thanks for your response.
> One thing to look at is if you really need all those context switches.
> That would be the case only if all the VST plugins are in series and
> there is some linux code between each one and the next.
> One way to organise the processing on both sides is to continue
> in the same process until it depends on results from the other.
> This will reduce the number of context switches in almost all
> cases.

Right, that's an option.

> And 32 frames is quite small - there may be reasons for that
> but in many cases you can use larger period sizes.

Low latency is part of the "spec battle" that our product is engaged in. 
I think I need to look for an option that doesn't use IPC during processing.


- Michael Ost

More information about the Linux-audio-dev mailing list