wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Types Of scheduling

profile
Mihir undefined
Aug 15, 2024
0 Likes
0 Discussions
102 Reads

In an operating system (OS), scheduling is a critical function that determines the order in which processes are executed. There are several types of scheduling, each tailored to optimize performance, ensure fairness, and meet the specific needs of different applications.


1. Long-Term Scheduling: This type of scheduling, also known as job scheduling, controls which processes are admitted to the system for processing. It determines which jobs (programs in the job pool) enter the ready queue, regulating the degree of multiprogramming. Long-term scheduling occurs less frequently and aims to maintain a balance between I/O-bound and CPU-bound processes to optimize resource utilization.


2. Short-Term Scheduling: Also known as CPU scheduling, this type is responsible for deciding which of the processes in the ready queue will be executed by the CPU next. The short-term scheduler, or dispatcher, makes decisions frequently, every few milliseconds. Algorithms like First-Come, First-Served (FCFS), Shortest Job Next (SJN), and Round Robin (RR) are used to allocate CPU time. The goal is to maximize CPU utilization, reduce waiting time, and ensure a responsive system.


3. Medium-Term Scheduling: This involves swapping processes in and out of memory to optimize performance and manage the degree of multiprogramming. It’s a part of the swapping mechanism where inactive processes are moved to disk to free up memory for active processes. Medium-term scheduling helps balance the load on the CPU and memory.


4. Real-Time Scheduling: Specifically designed for real-time operating systems, this scheduling type ensures that processes complete within a guaranteed time frame. Real-time scheduling is divided into hard real-time and soft real-time, with the former having strict deadlines and the latter allowing some flexibility. Algorithms like Rate Monotonic Scheduling (RMS) and Earliest Deadline First (EDF) are commonly used.


Each scheduling type serves a unique purpose, contributing to the overall efficiency and functionality of the operating system.


Comments ()


Sign in

Read Next

Is it important to follow all the trends that come up on social media?

Blog banner

Confidence Building Activities for the New School Year

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

My Favorite Country

Blog banner

Network Forensics

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Domain Name System

Blog banner

Race Conditions

Blog banner

Gis in agriculture and farming

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

SmartData Collective: Data Science aur Analytics ki Duniya

Blog banner

Security Breaches in Stock market trading

Blog banner

How to write a cover letter

Blog banner

ONLINE NEWSROOMS

Blog banner

Processes : Process description and control

Blog banner

Explaining Buffer Overflow with Example

Blog banner

Malicious softwares

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

Inventory management software system

Blog banner

S-Tool : Steganography

Blog banner

SESSION HIJACKING

Blog banner

**THE MUJAWARR: Transforming the Logistics Industry**

Blog banner

Deadlocks

Blog banner

?What Your Dentist Notices The Moment You Sit In The Chair

Blog banner

undefined

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

How To Secure Operating Systems ?

Blog banner

Memory management

Blog banner

10 Unsolved Mysteries all over the world

Blog banner

Knowledge Management in Continual Service improvement (CSI)

Blog banner

Importance Of Time

Blog banner

BITCOIN WALLET

Blog banner

Deadlock

Blog banner

Music is life

Blog banner

Health and fitness in technology

Blog banner

Article on different management system

Blog banner

Internet of Things and cyber security

Blog banner

What is service level Agreement?

Blog banner

File system implementation

Blog banner