On 03/01/2013 12:41 PM, Harry van Haaren wrote:
Hi!
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 ---
#/bin/bash
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. ;)
HTH