[LAD] JACK and CPU stress testing

Adrian Knoth adi at drcomp.erfurt.thur.de
Fri Mar 1 11:49:14 UTC 2013

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


> Has anybody done this kind of profiling / stress testing with JACK
> before? Hints / tips / advice / etc welcomed! -Harry

IIRC, Clemens Ladisch did tests like these in the past. Since you have
to re-do it for every machine in question, go ahead. ;)

The RT guys provide a load script somewhere. I borrowed some of the code
for my latency tests, maybe you'll find this helpful:

--- cut here ---

while true; do dd if=/dev/zero of=/tmp/bigfile bs=1024000 count=1024;
done &

taskset -c 0 ping -l 100000 -q -s 10 -f localhost &
# repeat with taskset -c N to run on CPU/core #N

while true; do du / ; done &

while true; do tar cvzf /tmp/kernel.tgz /usr/src/linux-2.6.35/ ; done
--- cut ---

Maybe too much disk I/O for the typical audio machine, but you can never
be sure. ;)


More information about the Linux-audio-dev mailing list