Re: [LAD] Faster context switch

From: Michael Ost <most@email-addr-hidden>
Date: Tue Nov 02 2010 - 20:02:27 EET

fons@email-addr-hidden 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.

Thanks,

- Michael Ost
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Tue Nov 2 20:15:03 2010

This archive was generated by hypermail 2.1.8 : Tue Nov 02 2010 - 20:15:03 EET