From: Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU>
To: Ingo Molnar <mingo@elte.hu>
Cc: nando@ccrma.Stanford.EDU, "Linux-Kernel," <linux-kernel@vger.kernel.org>
Subject: Re: 2.6.19-rt1: max latencies with jackd
Date: Fri, 01 Dec 2006 11:01:35 -0800 [thread overview]
Message-ID: <1164999696.4385.20.camel@cmn3.stanford.edu> (raw)
In-Reply-To: <20061201080826.GA17504@elte.hu>
On Fri, 2006-12-01 at 09:08 +0100, Ingo Molnar wrote:
> * Fernando Lopez-Lezcano <nando@ccrma.Stanford.EDU> wrote:
> could you try the patch below? It changes trace entries to be measured
> via get_cycles() again [which should be must faster than pmtimer on your
> CPU], but keeps the latency tracing timestamps (the timestamp of the
> start/end of critical sections) on pmtimer again. This should give us
> accurate latency measurements, but fast trace entries.
>
> you can still revert to the conservative timestamping behavior via:
>
> echo 0 > /proc/sys/kernel/trace_use_raw_cycles
>
> note: you can probably get a higher quality of 'overview trace' via:
>
> echo 0 > /proc/sys/kernel/mcount_enabled
> echo 1 > /proc/sys/kernel/stackframe_tracing
If I do this I get a lockup or an instant reboot.
But it looks like something is wrong. I'm not getting traces at all and
the preempt_max_latency remains stubbornly at 0.
I'll try with the previous kernel but I'll just turn on tracing for all
activity, not just within the jackd client activation cycle. It looks
like the xruns are happening elsewhere.
-- Fernando
PS: this is what I'm using to "arm" the trace (from the trace-it.c
example):
-----
#!/bin/bash
#
echo 1 > /proc/sys/kernel/trace_user_triggered
[ -e /proc/sys/kernel/wakeup_timing ] && echo 1
> /proc/sys/kernel/wakeup_timing
echo 1 > /proc/sys/kernel/trace_enabled
# get better quality traces
echo 1 > /proc/sys/kernel/mcount_enabled
# echo 0 > /proc/sys/kernel/mcount_enabled
# echo 1 > /proc/sys/kernel/stackframe_tracing
echo 0 > /proc/sys/kernel/trace_freerunning
echo 0 > /proc/sys/kernel/trace_print_at_crash
echo 0 > /proc/sys/kernel/trace_verbose
echo 0 > /proc/sys/kernel/preempt_thresh 2>/dev/null
echo 0 > /proc/sys/kernel/preempt_max_latency 2>/dev/null
-----
prev parent reply other threads:[~2006-12-01 19:01 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-11-30 21:47 Fernando Lopez-Lezcano
2006-12-01 8:08 ` Ingo Molnar
2006-12-01 18:21 ` Fernando Lopez-Lezcano
2006-12-01 19:01 ` Fernando Lopez-Lezcano [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1164999696.4385.20.camel@cmn3.stanford.edu \
--to=nando@ccrma.stanford.edu \
--cc=linux-kernel@vger.kernel.org \
--cc=mingo@elte.hu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®