Already have an account? Get multiple benefits of using own account!
Login in your account..!
Remember me
Don't have an account? Create your account in less than a minutes,
Forgot password? how can I recover my password now!
Enter right registered email to receive password!
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.
reason for terminating a process
In the mean while the fork() system call the Kernel creates a copy of the parent process's address space and adds it to the child process. But the vfork() system call do no
A friend has promised to log in at a particular time. However, he needs to be contacted as soon as he logs in. The shell script checks after every minute whether he has logged in o
Clustered file organization A clustered file is also called a B-tree-clustered file is a tree-structured file in which records with adjacent index values are clustered toget
Demand paging With demand paging, a page is called into memory only when a location on that page is actually indexed during run time. With pre-paging, pages other than the one
properies of Batch oriented and interactive operating system.
What is the use of fork and exec system calls? Fork is a system call by which a latest process is created. Exec is also a system call, which is used after a fork by one of the
Q. Distinguish among PCS and SCS scheduling. Answer: PCS scheduling is completed local to the process. It is how a thread library schedules threads onto available LWPs. SCS sch
How is memory management done using linked lists? Each one node of the l list will have 4 fields as follows 1-this tells whether it s a hole or a process 2-starting ad
What is the hardware support required to implement paging? Each operating system has its own techniques for storing page tables. The majority allocates a page table for each pr
Get guaranteed satisfaction & time on delivery in every assignment order you paid with us! We ensure premium quality solution document along with free turntin report!
whatsapp: +91-977-207-8620
Phone: +91-977-207-8620
Email: [email protected]
All rights reserved! Copyrights ©2019-2020 ExpertsMind IT Educational Pvt Ltd