lkml.org 
[lkml]   [2009]   [Apr]   [18]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Scheduler regression: Too frequent timer interrupts(?)

* Chris Friesen <cfriesen@nortel.com> wrote:

> Christoph Lameter wrote:
>
>> The latencytest code simulates a busy processor (no system calls, all
>> memory is prefaulted). For some reasons Linux is increasingly taking time
>> away from such processes (that intentionally run uncontended on a
>> dedicated processor). This causes regressions so that current upstream is
>> not usable for these applications.
>>
>> It would be best for these applications if the processor would be
>> left undisturbed. There is likely not much that the OS needs to
>> do on a busy processor if there are no competing threads and if
>> there is no I/O taking place.
>
> Peter/Ingo, could ftrace be used to determine where time is being
> spent in the kernel with suitable accuracy? (This may be a dumb
> question, I haven't played with ftrace much.)

Yes, both ftrace and perfcounters can be used to directly trace or
sample any overhead/delay - no matter how sporadic it might be.

> Given that we're talking about tens of usecs of duration,
> statistical sampling may not work all that well.

Peter did rather convincing perfcounters profiles. Of course, if
only maximum latencies are concerned, tracing works better. But
mainline is pretty inadequate for that purpose anyway - there's a
whole PREEMPT_RT world with many stories to tell there ;-)

Ingo


\
 
 \ /
  Last update: 2009-04-18 09:39    [W:0.043 / U:0.076 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site