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

MySQL

Blog banner

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

Blog banner

File management

Blog banner

Hey Aryan here

Blog banner

Memory Management

Blog banner

Synchronization

Blog banner

Online Games

Blog banner

Cryptanalysis tool

Blog banner

Threat management

Blog banner

Retiring ISS

Blog banner

How Sleep Impacts Learning and Behaviour for Toddlers?

Blog banner

Virtual Machine

Blog banner

How to Grow Your Brand on YouTube Without a Big Budget

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Threading

Blog banner

Uniprocessor and Types

Blog banner

Big Data Architecture

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Security issues

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

BITCOIN WALLET

Blog banner

Instagram

Blog banner

Artificial Intelligence and I

Blog banner

I/O Management and Disk Scheduling

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Modern Operating System - Khush Bagaria

Blog banner

AI and Cyber Security

Blog banner

Semaphores

Blog banner

Smart Eating Habits for Office Professionals to Stay Healthy

Blog banner

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

E-mail security

Blog banner

Microsoft Windows Overview

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

Process and Threading

Blog banner

Deadlock and Starvation

Blog banner

Friendship

Blog banner