0% found this document useful (0 votes)
4 views4 pages

Purpose - of - Scheduling Notes

Uploaded by

talkhardik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
4 views4 pages

Purpose - of - Scheduling Notes

Uploaded by

talkhardik
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 4

Purpose of scheduling

Created @January 23, 2024 1:59 PM

Class Operating system

Type Miss Sultana

Reviewed Not started

What is scheduling?
Most modern computers will have many processes running at the same time.

Multitasking is the illusion that multiple processes are running at the same
time, even though they are in fact running serially.

The question we are going to explore is how do we decide on which process


should go next?

This is managed by the OS and is known as scheduling.

Process states

Purpose of scheduling 1
The process currently running on the CPU → Running

Processes which cannot continue due to waiting for an external resource or an


interrupt. - Blocked

Processes currently waiting for processor time. - Ready to run

Ready to run queue

Purpose of scheduling 2
Purpose of scheduling
Maximise throughput of processes. → ensuring that the operating system
scheduler efficiently utilises the CPU to execute and complete a significant
number of processes within a specified time period, ultimately enhancing
system productivity.

Maximise the use of the CPU. → : Ensure that we are not waiting for slower
devices (blocked) if there is something else we can do. Keep the CPU actively
engaged by selecting and executing processes in a way that minimizes idle
time.

Minimise starvation and eliminate deadlock. → Prevent situations where


processes are indefinitely delayed (starvation) and resolve deadlocks,
ensuring continuous progress in the execution of tasks.

Ensure fairness for processes. → Distribute CPU time and resources equitably
among competing processes to prevent any single process from monopolizing
system resources.

Be responsive for the end user. → Prioritise the responsiveness of the system
to user inputs, ensuring prompt execution of tasks and a smooth user
experience.

Allow priorities. → Enable the assignment of priority levels to processes,


allowing the operating system to allocate resources based on the importance

Purpose of scheduling 3
or urgency of each task.

Use I/O devices efficiently. → Optimise the utilisation of input/output (I/O)


devices by coordinating the scheduling of processes with I/O operations,
minimising waiting times and enhancing overall system performance.

💡 → Deadlock is when items are waiting for a resource which may never
become free. → If a resource is being
continuously used, by one or more processes, leading to one never
getting an opportunity to use then this is known as starvation.

Purpose of scheduling 4

You might also like

pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy