Re: [linux-audio-dev] Re: [vst-plugins] Plugin server (Re: [vst-plugins] Re: [a bit OT] gcc as a cross compiler for VST?

New Message Reply About this list Date view Thread view Subject view Author view Other groups

Subject: Re: [linux-audio-dev] Re: [vst-plugins] Plugin server (Re: [vst-plugins] Re: [a bit OT] gcc as a cross compiler for VST?
From: Paul Davis (paul_AT_linuxaudiosystems.com)
Date: Sun Dec 08 2002 - 20:44:04 EET


>Yupp, I see. I get a 7 percent penalty compaired to doing
>the same just in one process.

right. now try it with 8 different processes, all of them touching
enough (different) data to invalidate a random selection of about 80%
of the cache. or better yet, just take our word for it that the cost
of the context switch is significant.

you also haven't addressed kernel scheduling issues; the context
switch doesn't happen till the kernel has decided what task is going
to run next. if it picks the wrong one, for whatever reason, then
you/we lose. right now, it picks the wrong one too often, even with
SCHED_FIFO+mlockall.

>> >I'm not talking about jack tasks, I'm talking about doing a simple
>plug-in
>> >task inside a standalone program, the way the vst server works.
>>
>> i don't understand how the vst server works. perhaps you can explain
>> it.
>
>Its just simple one to one process request/processing/answer. No mixing
>or synchronising.

in other words, a lot like JACK :) one plugin per JACK client. no real
difference, i would guess.

--p


New Message Reply About this list Date view Thread view Subject view Author view Other groups

This archive was generated by hypermail 2b28 : Sun Dec 08 2002 - 21:25:56 EET