Re: [LAD] JACK and CPU stress testing

From: Adrian Knoth <adi@email-addr-hidden>
Date: Fri Mar 01 2013 - 13:49:14 EET

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
_______________________________________________
Linux-audio-dev mailing list
Linux-audio-dev@email-addr-hidden
http://lists.linuxaudio.org/listinfo/linux-audio-dev
Received on Fri Mar 1 16:15:02 2013

This archive was generated by hypermail 2.1.8 : Fri Mar 01 2013 - 16:15:02 EET