FIT2100 Lecture Notes - Lecture 6: Batch Processing, Transaction Processing System, Computer Multitasking

156 views4 pages
Lecture 6/Tute 4 - UNIPROCESSOR SCHEDULING
Processor Scheduling
-To assign processes to be executed by the processor in a way that meets system objectives,
such as response time, throughput and processor efficiency
Types of Scheduling:
Long-Term Scheduling — The decision to add to the pool of processes to be executed
-Determines which programs are admitted to the system for processing
-Controls the degree of multiprogramming
-The more processes that are created, the smaller the percentage of time that each process
can be executed
-May limit to provide satisfactory service to the current set of processes
Medium-Term Scheduling — The decision to add to the number of processes that are partially or
fully in main memory
-Part of the swapping function
-Swapping-in decisions are based on the need to manage the degree of multiprogramming
-Considers the memory requirements of the swapped-out process
Short-Term Scheduling — The decision as to which available process will be executed by the
processor
-Known as the dispatcher or CPU scheduler
-Executes most frequently
-Makes the fine-grained decision of which process to execute next
-Invoked whenever an event occurs (e.g. clock interrupts, I/O interrupts, system calls, signals)
-May lead to blocking of the current process or
-May provide an opportunity to preempt a currently running process in favour of another
-Main objective is to allocate processor time to optimise certain aspects of system behaviour
find more resources at oneclass.com
find more resources at oneclass.com
Unlock document

This preview shows page 1 of the document.
Unlock all 4 pages and 3 million more documents.

Already have an account? Log in

Document Summary

To assign processes to be executed by the processor in a way that meets system objectives, such as response time, throughput and processor efficiency. Long-term scheduling the decision to add to the pool of processes to be executed. Determines which programs are admitted to the system for processing. The more processes that are created, the smaller the percentage of time that each process can be executed. May limit to provide satisfactory service to the current set of processes. Medium-term scheduling the decision to add to the number of processes that are partially or fully in main memory. Swapping-in decisions are based on the need to manage the degree of multiprogramming. Considers the memory requirements of the swapped-out process. Short-term scheduling the decision as to which available process will be executed by the processor. Known as the dispatcher or cpu scheduler. Makes the fine-grained decision of which process to execute next.

Get access

Grade+
$40 USD/m
Billed monthly
Grade+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
10 Verified Answers
Class+
$30 USD/m
Billed monthly
Class+
Homework Help
Study Guides
Textbook Solutions
Class Notes
Textbook Notes
Booster Class
7 Verified Answers

Related Documents