>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