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

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Tableau

Blog banner

Data is an asset and it is your responsibility!

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

Water Resources are about to exhaust...

Blog banner

DISK SCHEDULING

Blog banner

Race Condition in Operating Theatre

Blog banner

Life

Blog banner

Worms, viruses and Bots

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

Sage business cloud accounting

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

The Benefits of Mixed Learning Activities for Preschoolers

Blog banner

A Journey By Train

Blog banner

GIS in Disaster Management

Blog banner

Scala - a programming tool

Blog banner

ADIDAS

Blog banner

SQL Injection Techniques

Blog banner

How I use google in my daily life

Blog banner

Direct Memory Access

Blog banner

Beyond the Track: Why the Best Hotel in Arcadia, Florida, Completes Your IMSA Sebring Getaway

Blog banner

Network Forensics Tools and Techniques

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Introduction to Data Science: Life Cycle & Applications

Blog banner

Security Issues

Blog banner

How social media affect

Blog banner

Exploring Arcadia’s Cowboy Culture, Peace River & Hidden Attractions

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

File Sharing

Blog banner

File Systems in OS.

Blog banner

VIRTUAL MACHINES

Blog banner

Can a Water Flosser Replace Manual Flossing? Here’s What Dentists Say

Blog banner

Buffering

Blog banner

Why Does Hierarchy Still matter in Organizations?

Blog banner

Microsoft powerpoint presentation

Blog banner

The functions of operating system

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Booting Process In Operating System

Blog banner

How to Prepare Your Child for Their First Day of School?

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

Memory Hierarchy

Blog banner