All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ingo Molnar <mingo@elte.hu>
To: Frans Pop <elendil@planet.nl>
Cc: torvalds@linux-foundation.org, linux-kernel@vger.kernel.org,
	akpm@linux-foundation.org,
	Peter Zijlstra <a.p.zijlstra@chello.nl>,
	Mike Galbraith <efault@gmx.de>,
	Richard Jonsson <richie@coderworld.net>,
	"Rafael J. Wysocki" <rjw@sisk.pl>
Subject: Re: [git pull] scheduler changes for v2.6.26
Date: Mon, 21 Apr 2008 21:43:59 +0200	[thread overview]
Message-ID: <20080421194359.GD8770@elte.hu> (raw)
In-Reply-To: <200804211831.29976.elendil@planet.nl>


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

> > It would be nice if you could try sched-devel/latest because it has 
> > an improved ftrace "sched_switch" tracer where you can generate much 
> > longer traces of this incident. Try the new /debug/trace_entries 
> > runtime tunable.
> 
> I'll try to get the trace and will reply on the private thread we had. 
> I may need additional instructions though.

you could also reply to this thread if you dont mind, so that others can 
chime in too.

the 700-800 msecs of delays you see are very "brutal" so there must be 
something fundamentally wrong going on here.

Could you first check (under sched-devel/latest) the quality of your 
sched-clock, via running this script:

   http://people.redhat.com/mingo/cfs-scheduler/tools/watch-rq-clock.sh

if you run it, it should output ~1000 msecs periods every second:

 europe:~> watch-rq-clock.sh
 1002.115042
 1005.509851
 1004.187275
 1004.409980
 1004.430264
 1004.445508

if it's way too 'slow', say it only 100 msecs per second, then the 
scheduler clock is mis-measuring time and what the scheduler thinks to 
be a 40 msecs delay might become a 400 msecs delay.

	Ingo

  reply	other threads:[~2008-04-21 19:44 UTC|newest]

Thread overview: 26+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-04-19 18:13 [git pull] scheduler changes for v2.6.26 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 [this message]
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
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=20080421194359.GD8770@elte.hu \
    --to=mingo@elte.hu \
    --cc=a.p.zijlstra@chello.nl \
    --cc=akpm@linux-foundation.org \
    --cc=efault@gmx.de \
    --cc=elendil@planet.nl \
    --cc=linux-kernel@vger.kernel.org \
    --cc=richie@coderworld.net \
    --cc=rjw@sisk.pl \
    --cc=torvalds@linux-foundation.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.