[Jack-Devel] How to profile jack cpu load?
Tim
termtech at rogers.com
Fri Jul 13 22:37:54 CEST 2018
On 07/13/2018 04:21 PM, oleg68 wrote:
> I'd maken a file test.sh, that downloads, builds and runs jackd.
> ------------------------------------------
> #/usr/bin/sh
> rm -rf jack2
> git clone git://github.com/jackaudio/jack2.git
> cd jack2
> ./waf configure --profile
> ./waf build
> echo
> echo "Running jackd"
> build/jackd -v -R -P40 -dalsa -d hw:Pro -r 48000 -p 1024 -n 2 -s -P
> ------------------------------------------
>
> Than I ran:
>
> ./test.sh | tee test.log
>
> The resulting test.log
> <http://jack-audio.10948.n7.nabble.com/file/t1525/test.log> does not
> contain any 'Engine profiling activated' message
Hm, no ./waf install step?
Although it appears that the jackd you built is in fact
the one that is running, it seems possible to me that
it may be loading all of its libraries from a previous jack
installation such as in /usr or /usr/local - libraries that
were not built with the profiling.
Try the install step which should replace those libraries.
I find that it is always a good idea to run "sudo ldconfig"
after playing around with jack install steps, so that the
system really can find the correct libraries.
That is supposed to happen automatically with most software,
but I found sometimes it doesn't with jack, possibly with
just one of the jack versions, I can't recall which.
Tim.
The MusE sequencer project.
More information about the Jackaudio
mailing list