Operating System Scheduler Implementations
The algorithm used may be as simple as round-robin in which each process is given equal time (for instance 1 ms, usually between 1 ms and 100 ms) in a cycling list. So, process A executes for 1 ms, then process B, then process C, then back to process A.
More advanced algorithms take into account process priority, or the importance of the process. This allows some processes to use more time than other processes. The kernel always uses whatever resources it needs to ensure proper functioning of the system, and so can be said to have infinite priority. In SMP(symmetric multiprocessing) systems, processor affinity is considered to increase overall system performance, even if it may cause a process itself to run more slowly. This generally improves performance by reducing cache thrashing.
Read more about this topic: Scheduling (computing)
Famous quotes containing the words operating and/or system:
“I love meetings with suits. I live for meetings with suits. I love them because I know they had a really boring week and I walk in there with my orange velvet leggings and drop popcorn in my cleavage and then fish it out and eat it. I like that. I know Im entertaining them and I know that they know. Obviously, the best meetings are with suits that are intelligent, because then things are operating on a whole other level.”
—Madonna [Madonna Louise Ciccione] (b. 1959)
“For the universe has three children, born at one time, which reappear, under different names, in every system of thought, whether they be called cause, operation, and effect; or, more poetically, Jove, Pluto, Neptune; or, theologically, the Father, the Spirit, and the Son; but which we will call here, the Knower, the Doer, and the Sayer. These stand respectively for the love of truth, for the love of good, and for the love of beauty.”
—Ralph Waldo Emerson (18031882)