Re: [LAD] FLTK vs GTKmm

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Jens M Andreasen <jens.andreasen@...>
Cc: <linux-audio-dev@...>
Date: Tuesday, August 11, 2009 - 8:15 pm

On Tue, Aug 11, 2009 at 08:56:56PM +0200, Jens M Andreasen wrote:

> Say warp A (or "process" A) must do four smaller workloads while warp B

It's not that simple...

An example: the santalucia reverb with period size = 256,
mininum partition size = 256.

There will be 3 partitions of 256 frames, 6 of 512, 6 of 2048
and 24 of 8192 frames.

The first will be done in jack's callback and the others at
lower priorities, resp. -1,-2,-3 relative to jack's thread (*).
Each of these threads is triggered into action with a period
equal to its partition size, and the work is expected to be
ready at the next trigger.

That means that the thread that does the size 512 ones must
have priority over all the others. Except in some simple
cases it's almost impossible to divide the work done by e.g.
the slowest thread into equal parts. If that were possible we
wouldn't need multiple threads at all - the evenly divided
workload could be done in jack's callback without problem.
As things are, pre-emption seems to be the only solution.

> I found a measure of ~1 sec for a 128K FFT on a PPro @200

No. The largest FFT used by jconv is 16k, it doesn't pay to
increase that size. Depending on the configuration the FFTs
could dominate the workload (many short 1-to-1 convolutions)
or the MAC operartions would take most of the time (long IRs
and/or a dense matrix). And then there's the cache size that
will have all sorts of complicated effects.

(*) From the next release that would be -1,-3,-5, i.e. one
less for each doubling of the size. This allows multiple
jconvs to be scheduled fairly even it they don't use the
same set of sizes. Other apps doing similar things should
use the same system if they are supposed to work together
well.

--
FA

Io lo dico sempre: l'Italia รจ troppo stretta e lunga.

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

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

Messages in current thread:
[LAD] FLTK vs GTKmm, Christian, (Mon Aug 10, 7:41 am)
[LAD] GTK+ vs QT for new Open Source Project., Ken Dawber, (Thu Aug 13, 6:35 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Luis Garrido, (Thu Aug 13, 9:06 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Paul Davis, (Thu Aug 13, 10:34 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Pedro Lopez-Cabanillas, (Fri Aug 14, 10:51 am)
Re: [LAD] GTK+ vs QT for new Open Source Project., Gabriel M. Beddingfield, (Fri Aug 14, 4:30 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., David Robillard, (Fri Aug 14, 4:01 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Harry Van Haaren, (Fri Aug 14, 4:21 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Ray Rashif, (Fri Aug 14, 1:37 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Chris Cannam, (Fri Aug 14, 1:41 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Julien Claassen, (Thu Aug 13, 7:25 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., David Robillard, (Thu Aug 13, 7:29 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Chris Cannam, (Fri Aug 14, 4:14 pm)
Re: [LAD] GTK+ vs QT for new Open Source Project., Paul Davis, (Thu Aug 13, 7:20 pm)
Re: [LAD] FLTK vs GTKmm, Thorsten Wilms, (Mon Aug 10, 9:52 am)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 11:29 am)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 11:33 am)
Re: [LAD] FLTK vs GTKmm, Raymond Martin, (Mon Aug 10, 10:44 am)
Re: [LAD] FLTK vs GTKmm, Christian, (Mon Aug 10, 11:13 am)
Re: [LAD] FLTK vs GTKmm, Raymond Martin, (Mon Aug 10, 12:04 pm)
Re: [LAD] FLTK vs GTKmm, Luis Garrido, (Mon Aug 10, 1:08 pm)
Re: [LAD] FLTK vs GTKmm, Pedro Lopez-Cabanillas, (Tue Aug 11, 9:21 am)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Tue Aug 11, 5:30 pm)
Re: [LAD] FLTK vs GTKmm, Christian, (Mon Aug 10, 10:09 am)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 4:10 pm)
Re: [LAD] FLTK vs GTKmm, Ralf Mardorf, (Tue Aug 11, 4:45 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 4:32 pm)
Re: [LAD] FLTK vs GTKmm, Ralf Mardorf, (Tue Aug 11, 4:53 pm)
Re: [LAD] FLTK vs GTKmm, Vincent Torri, (Tue Aug 11, 5:06 pm)
Re: [LAD] FLTK vs GTKmm, Ralf Mardorf, (Tue Aug 11, 5:47 pm)
Re: [LAD] FLTK vs GTKmm, Vincent Torri, (Tue Aug 11, 6:00 pm)
Re: [LAD] FLTK vs GTKmm, Ralf Mardorf, (Tue Aug 11, 6:36 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 5:57 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 6:06 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 6:49 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 7:10 pm)
Re: [LAD] FLTK vs GTKmm, Patrick Shirkey, (Mon Aug 10, 6:16 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 6:43 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 7:00 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 7:17 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 7:22 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 7:26 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 7:41 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 8:05 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 9:10 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 9:14 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 9:36 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 9:40 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Mon Aug 10, 10:45 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Tue Aug 11, 1:44 am)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 6:17 am)
Re: [LAD] FLTK vs GTKmm, Steve Harris, (Tue Aug 11, 6:45 am)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 7:06 am)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Tue Aug 11, 5:32 pm)
Re: [LAD] FLTK vs GTKmm, Steve Harris, (Tue Aug 11, 10:26 am)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 11:55 am)
Re: [LAD] FLTK vs GTKmm, Steve Harris, (Tue Aug 11, 1:10 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 2:23 pm)
Re: [LAD] FLTK vs GTKmm, Adrian Knoth, (Tue Aug 11, 12:44 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Fri Nov 6, 8:10 pm)
Re: [LAD] FLTK vs GTKmm, Adrian Knoth, (Sun Nov 8, 10:01 am)
[LAD] audio@CUDA, Jens M Andreasen, (Sun Nov 8, 9:50 pm)
Re: [LAD] FLTK vs GTKmm, Loki Davison, (Tue Aug 11, 2:33 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 4:54 pm)
Re: [LAD] FLTK vs GTKmm, Fons Adriaensen, (Tue Aug 11, 5:55 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 6:57 pm)
Re: [LAD] FLTK vs GTKmm, Fons Adriaensen, (Tue Aug 11, 8:15 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Wed Aug 12, 8:00 am)
Re: [LAD] FLTK vs GTKmm, Fons Adriaensen, (Wed Aug 12, 10:11 am)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Wed Aug 12, 6:52 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 4:01 pm)
Re: [LAD] FLTK vs GTKmm, Jens M Andreasen, (Tue Aug 11, 12:33 pm)
Re: [LAD] FLTK vs GTKmm, David Robillard, (Mon Aug 10, 9:01 pm)
Re: [LAD] FLTK vs GTKmm, Patrick Shirkey, (Mon Aug 10, 6:47 pm)
Re: [LAD] FLTK vs GTKmm, Ralf Mardorf, (Tue Aug 11, 5:04 pm)
Re: [LAD] FLTK vs GTKmm, Paul Davis, (Mon Aug 10, 10:15 am)
Re: [LAD] FLTK vs GTKmm, Christian, (Mon Aug 10, 10:27 am)