All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gerrit Binnenmars <gerritbinnenmars@wanadoo.nl>
To: Steven Rostedt <rostedt@goodmis.org>
Cc: Daniel Walker <dwalker@mvista.com>, linux-rt-users@vger.kernel.org
Subject: Re: CONFIG_CRITICAL_IRQSOFF_TIMING
Date: Wed, 31 Oct 2007 20:53:25 +0100 (CET)	[thread overview]
Message-ID: <14294538.1772991193860405373.JavaMail.www@wwinf6002> (raw)

> Datum: 31/10/07 01:17 AM
> Van: "Steven Rostedt" 
> Aan: "Gerrit Binnenmars" 
> CC: linux-rt-users@vger.kernel.org
> Onderwerp : Re: CONFIG_CRITICAL_IRQSOFF_TIMING
> 
> 
> --
> On Tue, 30 Oct 2007, Gerrit Binnenmars wrote:
> 
> > > Datum: 29/10/07 02:09 PM
> > > Van: "Steven Rostedt"
> > > Aan: "Gerrit Binnenmars"
> > > CC: linux-rt-users@vger.kernel.org
> > > Onderwerp : Re: CONFIG_CRITICAL_IRQSOFF_TIMING
> > >
> > >
> > > --
> > > On Sun, 28 Oct 2007, Gerrit Binnenmars wrote:
> > >
> > > > Hello,
> > > >
> > > > Can someone send me a .config file that shows the options needed to get the interrupt off
> > > > timing values in preempt_max_latency, please. I only see a value of 0 in this file
> > > > I am using kernel 2.6.22.1 with the corresponding rt patch.
> > > >
> > > > Thanks in advance,
> > >
> > > Make sure you have event trace and latency tracing as well as
> > > "Interrupts-off critical section latency timing".
> > >
> > > Then you need to echo 0 > /proc/sys/kernel/preempt_max_latency.
> > >
> > Hello Steve,
> >
> > Thanks for your quick response, but the preempt_max_latency remains 0. Also the latency_hist shows no samples taken.
> > Can you or someone else have a look at the corresponding CONFIG options?
> >
> > CONFIG_LTT_PROBE_LOCKING=m
> > # CONFIG_LTT_PROBE_STACK is not set
> >
> > #
> > # Kernel hacking
> > #
> 
> [...]
> 
> > CONFIG_INTERRUPT_OFF_HIST=y
> > CONFIG_CRITICAL_LATENCY_HIST=y
> > CONFIG_LATENCY_HIST=y
> 
> Turn off all histograms. They will kill any measurements you are taking.
> And yes, you will not get the output from latency_trace that you are
> after.

Steven and Daniel, I tried your suggestion with the following resulsts:
CRITICAL_IRQSOFF_TIMING: preempt_max_latency remains 0 even under load, 
                         cyclictest -b is able to store a trace in /proc/latency_trace
CRITICAL_PREEMPT_TIMING: kernel won´t start at all (vmlinuz is read from tftp server but nothing afterwards)
WAKEUP_TIMING:           is working as expected.

So switching off the histograms is an improvement. For the moment, I can live with this situation 
(especially the cyclictest -b option is very useful),
but I wonder if anyone else has the same problems?

Regards, Gerrit

> 
> -- Steve
> 
> -
> To unsubscribe from this list: send the line "unsubscribe linux-rt-users" in
> the body of a message to majordomo@vger.kernel.org
> More majordomo info at http://vger.kernel.org/majordomo-info.html
> 
>

             reply	other threads:[~2007-10-31 19:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-10-31 19:53 Gerrit Binnenmars [this message]
2007-10-31 20:03 ` CONFIG_CRITICAL_IRQSOFF_TIMING Steven Rostedt
  -- strict thread matches above, loose matches on Subject: below --
2007-10-30 21:46 CONFIG_CRITICAL_IRQSOFF_TIMING Gerrit Binnenmars
2007-10-30 21:26 CONFIG_CRITICAL_IRQSOFF_TIMING Gerrit Binnenmars
2007-10-30 21:32 ` CONFIG_CRITICAL_IRQSOFF_TIMING Daniel Walker
2007-10-30 21:09 CONFIG_CRITICAL_IRQSOFF_TIMING Gerrit Binnenmars
2007-10-30 21:05 ` CONFIG_CRITICAL_IRQSOFF_TIMING Daniel Walker
2007-10-30 20:52 CONFIG_CRITICAL_IRQSOFF_TIMING Gerrit Binnenmars
2007-10-30 20:56 ` CONFIG_CRITICAL_IRQSOFF_TIMING Daniel Walker
2007-10-31  0:17 ` CONFIG_CRITICAL_IRQSOFF_TIMING Steven Rostedt
2007-10-28 13:00 CONFIG_CRITICAL_IRQSOFF_TIMING Gerrit Binnenmars
2007-10-29 13:08 ` CONFIG_CRITICAL_IRQSOFF_TIMING Steven Rostedt

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=14294538.1772991193860405373.JavaMail.www@wwinf6002 \
    --to=gerritbinnenmars@wanadoo.nl \
    --cc=dwalker@mvista.com \
    --cc=linux-rt-users@vger.kernel.org \
    --cc=rostedt@goodmis.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.