public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
From: Nick Piggin <piggin@cyberone.com.au>
To: Guillaume Foliard <guifo@wanadoo.fr>
Cc: linux-kernel@vger.kernel.org, george anzinger <george@mvista.com>
Subject: Re: Scheduler degradation since 2.5.66
Date: Mon, 15 Dec 2003 13:45:46 +1100	[thread overview]
Message-ID: <3FDD205A.6040807@cyberone.com.au> (raw)
In-Reply-To: <200312142048.51579.guifo@wanadoo.fr>



Guillaume Foliard wrote:

>Hello,
>
>I have been playing with kernel 2.5/2.6 for around 6 months now. I was quite 
>pleased with 2.5.65 to see that the soft real-time behaviour was much better 
>than 2.4.x. Since then I tried most of the 2.5/2.6 versions. But recently 
>someone warned me about some degradations with 2.6.0-test6. To show the 
>degradation since 2.5.66 I have run a simple test program on most of the 
>versions. This simple program is measuring the time it takes to a process to 
>be woken up after a call to nanosleep.
>As the results are plots, please visit this small website for more 
>information : http://perso.wanadoo.fr/kayakgabon/linux
>I'm ready to perform more tests or provide more information if necessary.
>

This isn't a problem with the scheduler, its a problem with sys_nanosleep.
jiffies_to_timespec( {1000000us} ) returns 2 jiffies, and nanosleep adds
an extra one and asks to sleep for that long (ie. 3ms).

The more erratic timings could be due to interactivity changes as you say,
but you probably aren't running without RT priority



  reply	other threads:[~2003-12-15  2:54 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-12-14 19:48 Scheduler degradation since 2.5.66 Guillaume Foliard
2003-12-15  2:45 ` Nick Piggin [this message]
2003-12-15  4:18   ` Nick Piggin
2003-12-16  0:39     ` George Anzinger
2003-12-16  0:52       ` Jamie Lokier
2003-12-16  7:45         ` George Anzinger
2004-01-15  0:43       ` Bill Davidsen
2004-01-15  3:36         ` George Anzinger

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=3FDD205A.6040807@cyberone.com.au \
    --to=piggin@cyberone.com.au \
    --cc=george@mvista.com \
    --cc=guifo@wanadoo.fr \
    --cc=linux-kernel@vger.kernel.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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox