mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Frans Pop <elendil@planet.nl>
Cc: Peter Zijlstra <a.p.zijlstra@chello.nl>,
	linux-kernel@vger.kernel.org, Mike Galbraith <efault@gmx.de>,
	Richard Jonsson <richie@coderworld.net>
Subject: Re: [git pull] scheduler changes for v2.6.26
Date: Wed, 23 Apr 2008 11:46:44 +0200	[thread overview]
Message-ID: <20080423094644.GB23293@elte.hu> (raw)
In-Reply-To: <200804231136.50639.elendil@planet.nl>


* Frans Pop <elendil@planet.nl> wrote:

> If I enable tracing with these settings, I get data in both trace 
> *and* in latency_trace. Is the last correct? From 
> http://lkml.org/lkml/2008/2/10/43 I got the impression that file 
> should only be used if the "wakeup" tracer is active.

yeah, that's the intended behavior. 'trace' and 'latency_trace' are two 
kinds of 'views' on the same set of tracer data (with a different output 
format). They are both non-destructive - i.e. they dont deplete the 
trace buffers.

there's even a third view: 'trace_pipe' - which depletes the trace 
buffers and can be used to pipe trace data into a larger file:

    cat trace_pipe > /tmp/large-trace.txt

i guess it would be less confusing if 'trace' and 'latency_trace' was 
just a single 'view' and its behavior depended on iter_ctl settings. (In 
fact, we could probably just get rid of latency_trace - it is a leftover 
from -rt.)

> From the last run I've got three traces with 50000 entries (about a 
> minute worth each). Traces 1 and 2 should each have two skips and 
> trace 3 should have four. I've saved both the trace and latency_trace 
> (ltrace) files.
> 
> They are available at: 
> http://people.debian.org/~fjp/tmp/kernel/sched/.

thanks, we'll have a look.

> BTW, did either of you actually look at the traces I sent for .24? I 
> never got any feedback on those.

hm, i looked at them - i thought i mailed you about that but indeed i 
didnt (sorry about that) - the traces were too short in scope - they 
just covered a few dozen milliseconds in scope, while your description 
said that the problem occured seconds into the trace.

> P.S. I've got group scheduling active in this config as my tests with 
> .24 showed that did not make any difference. Can rerun without if 
> needed.

no need to rerun - but if you do the next test it might make sense to 
disable it, just to reduce the number of variables.

another thing - Peter observed skipping on NOHZ. Does your skipping go 
away if you boot with 'nohz' and/or with CONFIG_NOHZ=y disabled in the 
.config?

	Ingo

  parent reply	other threads:[~2008-04-23  9:47 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 18:13 Ingo Molnar
2008-04-19 18:47 ` Guillaume Chazarain
2008-04-19 18:49   ` Ingo Molnar
2008-04-19 18:54     ` Peter Zijlstra
2008-04-19 19:47 ` Frans Pop
2008-04-21 12:39   ` Ingo Molnar
2008-04-21 16:31     ` Frans Pop
2008-04-21 19:43       ` Ingo Molnar
2008-04-22  8:51         ` Mike Galbraith
2008-04-22  8:59           ` Ingo Molnar
2008-04-22  9:59             ` Peter Zijlstra
2008-04-22 12:25             ` Mike Galbraith
2008-04-23  8:11               ` Mike Galbraith
2008-04-23 10:30                 ` Mike Galbraith
2008-04-23 11:21                   ` Peter Zijlstra
2008-04-23 13:27                     ` Mike Galbraith
2008-04-22  9:41         ` Kevin Winchester
2008-04-22 10:49           ` David Miller
2008-04-22 11:10             ` Peter Zijlstra
2008-04-23  9:36         ` Frans Pop
2008-04-23  9:42           ` Peter Zijlstra
2008-04-23  9:46           ` Ingo Molnar [this message]
2008-04-23 13:36             ` Frans Pop
2008-04-29 12:29               ` Ingo Molnar
2008-04-29 15:28                 ` Steven Rostedt
2008-04-23 16:23             ` Frans Pop

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=20080423094644.GB23293@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=efault@gmx.de \
    --cc=elendil@planet.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richie@coderworld.net \
    /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®