lkml.org 
[lkml]   [2003]   [Dec]   [16]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Scheduler degradation since 2.5.66
Jamie Lokier wrote:
> George Anzinger wrote:
>
>>Try running the test with a requested sleep time of something less than
>>0.999849 ms. All this is for the x86 which is using this time to do the
>>best it can with the PIT which can only get this close to 1 ms ticks. You
>>can even vary this number to see exactly where the round up actually
>>happens. Ah, life in the nano world :)
>
>
> Would it be better to program the PIT for lowest frequency that's >= 1.0ms.

Possibly. I haven't attempted to analize it. I do know it would make some of
the math a bear. Integers like to round down (read truncate) so... But then,
what we have isn't exactly fun :)

--
George Anzinger george@mvista.com
High-res-timers: http://sourceforge.net/projects/high-res-timers/
Preemption patch: http://www.kernel.org/pub/linux/kernel/people/rml

-
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.038 / U:1.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site