lkml.org 
[lkml]   [2003]   [Dec]   [14]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Scheduler degradation since 2.5.66


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


-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:59    [W:0.046 / U:0.028 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site