What is CPU Scheduler?


Selects from among the processes in memory that are ready to execute, and allocates the CPU to one of them. CPU scheduling decisions may take place when a process: 1.Switches from running to waiting state. 2.Switches from running to ready state. 3.Switches from waiting to ready. 4.Terminates. Scheduling under 1 and 4 is non-preemptive. All other scheduling is preemptive.



Explore posts in the same categories: Operating System Interview Questions


BOOKMARK THIS : del.icio.us | Digg it | Furl | reddit |


Related Questions :

  • Different ways to run AE, SQR.(Command, process scheduler)?
  • SQR:command line(sqrw.exe),process scheduler & peoplecode AE:commandline(psae.exe),process scheduler,peoplecode-callappengine(aename,st-rec)...
  • What is Dispatcher?
  • The short-term scheduler (also known as the dispatcher) decides which of the ready, in memory processes are to be executed...
  • What are short-, long- and medium-term scheduling?
  • Long term scheduler determines which programs are admitted to the system for processing. It controls the degree of multiprogramming. Once...
  • How does multithreading take place on a computer with a single CPU?
  • The operating system's task scheduler allocates execution time to multiple tasks. By quickly switching between executing tasks, it creates the...
  • How does multithreading take place on a computer with a single CPU?
  • The operating system's task scheduler allocates execution time to multiple tasks. By quickly switching between executing tasks, it creates the...
  • What is a task’s priority and how is it used in scheduling?
  • A task's priority is an integer value that identifies the relative order in which it should be executed with respect...
  • What is a task’s priority and how is it used in scheduling?
  • A task's priority is an integer value that identifies the relative order in which it should be executed with respect...
  • What is Dispatcher?
  • Dispatcher module gives control of the CPU to the process selected by the short-term scheduler; this involves: Switching context, Switching...
  • Compare Linux credit based algorithm with other scheduling algorithms?
  • For the conventional time –shared processes, Linux uses a prioritized, credit-based algorithm. Each process possesses a certain number of scheduling...
  • How to do object security? How to connect report through process scheduler ?
  • To connect a report first we have to know about run control page. So that we can add the required...

    Comment:

    You must be logged in to post a comment.