Re: system idle process

Tech-Archive recommends: Repair Windows Errors & Optimize Windows Performance



> Maybe it is not actually has nothing to do, but blocked and waiting for some
> conditions, do you agree?

From the point of the scheduler this is the same thing. If the thread is blocked and waiting for something to become signalled, it cannot be scheduled. The scheduler cannot know what reason is behind the block, it may be waiting for an I/O, or waiting for another thread, all of this
looks the same and any of this may cause a CPU going idle.

Cheers
Ondrej

George napsal(a):
Hi Christian,


What will cause scheduler has nothing to do? This is what I am asking. :-)

Maybe it is not actually has nothing to do, but blocked and waiting for some conditions, do you agree?


regards,
George

"Christian Kaiser" wrote:

You mean when system is not doing anything, it is idle, right?
It means that the scheduler has nothing else to do (no thread with higher priority), so it's scheduling the idle thread. Nothing to do with the CPU itself.



Christian





.



Relevant Pages

  • RE: fair clock use in CFS
    ... Whatever task runs last has had no CPU for all the time the other tasks were ... the new task and *all* other tasks waiting to get ... The scheduler has to compensate for that past or it's ... What is that unfairness? ...
    (Linux-Kernel)
  • Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2
    ... know which one needs the CPU the most for good interactivity? ... what if you are waiting for several of them? ... thread the OSX solution of simply telling the kernel "I'm the GUI, ... problem without hooking the GUI into the scheduler? ...
    (Linux-Kernel)
  • Re: Idle process @ 90%, hard drive busy
    ... "Instead the scheduler selects the idle thread for a CPU ... I thought it might be a Windows update, but usually there's an icon in ...
    (microsoft.public.windowsxp.general)
  • Re: Interactivity issue in 2.6.25-rc3
    ... > But it's good to keep in mind that the scheduler can't do anything ... > about slowdowns due to tasks being swapped out or waiting on reads ... be able to capture all sorts of latency sources in the system. ... It doesn't look like latencytop saves the trace data anywhere other ...
    (Linux-Kernel)
  • Re: [PATCH][RSDL-mm 0/7] RSDL cpu scheduler for 2.6.21-rc3-mm2
    ... know which one needs the CPU the most for good interactivity? ... what if you are waiting for several of them? ... thread the OSX solution of simply telling the kernel "I'm the GUI, ... problem without hooking the GUI into the scheduler? ...
    (Linux-Kernel)