Explain process scheduling, Operating System

Explain Process scheduling

Process scheduling consists of the subsequent sub-functions:

1.      Scheduling : Selects the process to be implement next on the CPU

2.      Dispatching: Sets up implementation of the selected process on the CPU

3.      Context save: Saves the status of the running process when its implementation is to be suspended

The scheduling function utilizes information from the PCB's and selects a process based on the scheduling policy in force. Dispatching engrosses the setting up of the execution environment of the selected process and loading information from the PSR and register fields of the PSB into the CPU. The context save function carries out housekeeping when a process releases the CPU or is pre-empted. It engrosses saving the PSR and registers in the appropriate fields of the PCB and changing the process state. In practice this function is performed through the interrupt processing module

The same as shown in the following fig, appearance of an event invokes the context save function. The kernel at this instant processes the event which has occurred. This processing may escort to a change of state for some process. The scheduling function is now appeal to select a process for execution on the CPU. The dispatching function arranges the implementation of the selected function on the CPU.

1546_Process scheduling.png

Posted Date: 6/19/2013 6:54:47 AM | Location : United States

Related Discussions:- Explain process scheduling, Assignment Help, Ask Question on Explain process scheduling, Get Answer, Expert's Help, Explain process scheduling Discussions

Write discussion on Explain process scheduling
Your posts are moderated
Related Questions
Define the Division of Labour between Client and Server Given our definition of client - server as the interaction between dispersed application logic components it must be not

Question : a) What do you understand by a Directory Structure? Support your answer with a diagram. b) Give an example how Access Lists and Groups are arranged to mode of

Q. Does Windows XP offer any user-mode processes that enable it to run programs developed for other operating systems? Describe two of these subsystems. Answer: Environmental

Construct a process tree similar to Figure 1. Look up the Linux command pstree -p and describe what it does. Then type in the command the capture the output.

explain how response time are reduced by allowing time sharing on top of multiprogramming

Q. Give the reasons why Windows XP, Solaris and Linux implement multiple locking mechanisms. Explain the circumstances under which they use mutexes, spinlocks, semaphores, adaptiv

A thread is defined as an independent stream of instructions that can be scheduled to run as such by the operating system. Each program contains a number of threads which can be ru

Problem: (a) Based on your experience in setting up Windows 2003 Server operating system, briefly describe the twelve different steps in which the installation is conducted du

Garbage collectors trade space for time. If we collect all the time (which requires a lot of processing time), the GC allocator will use the least memory possible. On the other han