This article has multiple issues. Please help improve it or discuss these issues on the talk page. (Learn how and when to remove these template messages) This article possibly contains original research. Please improve it by verifying the claims made and adding inline citations. Statements consisting only of original research should be removed. (July 2012) (Learn how and when to remove this message) This article may lend undue weight to certain ideas, incidents, or controversies. Please help improve it by rewriting it in a balanced fashion that contextualizes different points of view. (July 2012) (Learn how and when to remove this message) This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.Find sources: "Idle" CPU – news · newspapers · books · scholar · JSTOR (January 2020) (Learn how and when to remove this message) (Learn how and when to remove this message)

A computer processor is described as idle when it is not being used by any program.

Every program or task that runs on a computer system occupies a certain amount of processing time on the CPU. If the CPU has completed all tasks it is idle.

Modern processors use idle time to save power. Common methods are reducing the clock speed along with the CPU voltage and sending parts of the processor into a sleep state. On processors that have a halt instruction that stops the CPU until an interrupt occurs, such as x86's HLT instruction, it may save significant amounts of power and heat if the idle task consists of a loop which repeatedly executes HLT instructions.

Many operating systems, for example Windows,[1] Linux,[2] and macOS[3] will run an idle task, which is a special task loaded by the OS scheduler on a CPU when there is nothing for the CPU to do. The idle task can be hard-coded into the scheduler, or it can be implemented as a separate task with the lowest possible priority. An advantage of the latter approach is that programs monitoring the system status can see the idle task along with all other tasks;[citation needed] an example is Windows NT's System Idle Process.

Some programs are designed to appear to make use of CPU idle time, meaning that they run at a low priority (but slightly higher than idle priority) so as not to impact programs that run at normal priority. This allows non-crucial background programs to only run when it would not affect the performance of other applications.

References

  1. ^ Gavin, Brady; Hoffman, Chris (25 April 2019). "What Is "System Idle Process," and Why Is It Using So Much CPU?". How-To Geek.
  2. ^ "CPU Idle Time Management". The Linux kernel user’s and administrator’s guide.
  3. ^ Singh, Amit (19 June 2006). Mac OS X Internals: A Systems Approach. Addison-Wesley Professional. p. 432. ISBN 0-321-27854-2.