Re: [LAD] JACK and CPU stress testing

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Harry van Haaren <harryhaaren@...>
Cc: Linux Audio Developers <linux-audio-dev@...>
Date: Friday, March 1, 2013 - 5:29 pm

On 03/01/2013 12:41 PM, Harry van Haaren wrote:

There's a tool to cause jack DSP load:
http://subversion.ardour.org/svn/ardour2/branches/3.0/tools/jacktest.c
which may or may not come in handy.

I've hacked it somewhat for testing CPU freq scaling a while ago:
http://gareus.org/gitweb/?p=jackfreqd.git;a=blob;f=tools/busyjack.c

> Then collecting stats based on Xruns, % DSP load, etc.

drobilla and me did a similar analysis for LV2 plugins. Basically
measure the time it takes to process N samples for various block-sizes
and input data. The total execution time is only significant for a
single machine, however we were interested in variations (error bars).

If processing always takes the same amount of time per sample and is
independent of the input data, the algorithm is very likely RT safe.
Furthermore if there is no significant relationship to block-size that's
even better.

The scripts and data is available at
http://drobilla.net/2012/08/22/benchmarking-lv2-plugins/

> I intend to show (trough brute force) that an application is RT capable on

_______________________________________________
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] JACK and CPU stress testing, Harry van Haaren, (Fri Mar 1, 11:41 am)
Re: [LAD] JACK and CPU stress testing, Robin Gareus, (Fri Mar 1, 5:29 pm)
Re: [LAD] JACK and CPU stress testing, Harry van Haaren, (Sat Mar 2, 3:47 pm)
Re: [LAD] JACK and CPU stress testing, Dominique Michel, (Sat Mar 2, 9:39 pm)
Re: [LAD] JACK and CPU stress testing, Dominique Michel, (Fri Mar 1, 5:02 pm)
Re: [LAD] JACK and CPU stress testing, Dominique Michel, (Fri Mar 1, 5:10 pm)
Re: [LAD] JACK and CPU stress testing, Rui Nuno Capela, (Fri Mar 1, 12:23 pm)
Re: [LAD] JACK and CPU stress testing, Rui Nuno Capela, (Fri Mar 1, 4:09 pm)
Re: [LAD] JACK and CPU stress testing, Kaj Ailomaa, (Fri Mar 1, 11:55 am)
Re: [LAD] JACK and CPU stress testing, Adrian Knoth, (Fri Mar 1, 11:49 am)