Re: [LAD] ANN: convoLV2 0.2

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Robin Gareus <robin@...>
Cc: <linux-audio-dev@...>
Date: Saturday, October 20, 2012 - 9:03 pm

On Sat, Oct 20, 2012 at 07:43:38PM +0200, Robin Gareus wrote:

> On 10/20/2012 01:44 PM, Fons Adriaensen wrote:

What's the problem with the semas ? They are the simplest and most
efficient way to signal an event. And unless you use the 'sync' mode
(which you should do only when Jack is freewheeling), they are used
only to trigger the lower priority threads, and the thread calling
Convproc->process() will never wait for a sema or be blocked.

And what's the problem with the threads ? The only one I see is that
LV2 doesn't have any way to pass the required priority parameter, but
there are simple ways around that.

> The real issue we have is small block-sizes in general.

CPU load per cycle will be strictly constant if the minimum partition
size is equal to or greater than the period. This was a design requirement.
When you use a period size smaller than 64 frames you have to buffer
up to 64 frames, and indeed in that case you will call Convproc->process()
in some cycles and not in others. But if you use multiple partition sizes
then only a small fraction of the work is done synchronuously, so even if
the load is not strictly constant, the variation will be small compared
to the total load.

Ciao,

--
FA

A world of exhaustive, reliable metadata would be an utopia.
It's also a pipe-dream, founded on self-delusion, nerd hubris
and hysterically inflated market opportunities. (Cory Doctorow)

_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@lists.linuxaudio.org
http://lists.linuxaudio.org/listinfo/linux-audio-dev

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
[LAD] ANN: convoLV2 0.2, David Robillard, (Sat Oct 20, 4:14 am)
Re: [LAD] ANN: convoLV2 0.2, Tom Szilagyi, (Sat Oct 20, 1:27 pm)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sat Oct 20, 6:39 pm)
Re: [LAD] ANN: convoLV2 0.2, Robin Gareus, (Sat Oct 20, 5:45 pm)
Re: [LAD] ANN: convoLV2 0.2, Tom Szilagyi, (Sun Oct 21, 10:41 am)
Re: [LAD] ANN: convoLV2 0.2, Robin Gareus, (Sun Oct 21, 1:48 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sun Oct 21, 1:04 pm)
Re: [LAD] ANN: convoLV2 0.2, Tom Szilagyi, (Sun Oct 21, 10:46 am)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sat Oct 20, 6:42 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sat Oct 20, 11:44 am)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sat Oct 20, 6:19 pm)
Re: [LAD] ANN: convoLV2 0.2, Robin Gareus, (Sat Oct 20, 5:43 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sat Oct 20, 9:03 pm)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sat Oct 20, 11:02 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sun Oct 21, 11:38 am)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sun Oct 21, 5:38 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sun Oct 21, 7:25 pm)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sun Oct 21, 7:49 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sun Oct 21, 7:57 pm)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sun Oct 21, 5:36 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sun Oct 21, 7:44 pm)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sun Oct 21, 7:59 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sun Oct 21, 3:35 pm)
Re: [LAD] ANN: convoLV2 0.2, hermann meyer, (Sun Oct 21, 12:09 pm)
Re: [LAD] ANN: convoLV2 0.2, hermann meyer, (Sun Oct 21, 12:04 pm)
Re: [LAD] ANN: convoLV2 0.2, Fons Adriaensen, (Sun Oct 21, 12:15 pm)
Re: [LAD] ANN: convoLV2 0.2, hermann meyer, (Sun Oct 21, 12:02 pm)
Re: [LAD] ANN: convoLV2 0.2, hermann meyer, (Sat Oct 20, 7:54 am)
Re: [LAD] ANN: convoLV2 0.2, David Robillard, (Sat Oct 20, 11:47 pm)