wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Types Of scheduling

profile
Mihir undefined
Aug 15, 2024
0 Likes
0 Discussions
104 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

Indian Food

Blog banner

Deadlock and Starvation

Blog banner

The Power of Pretend Play: What Role-Playing Teaches Preschoolers

Blog banner

This School Year, Let Their Belongings Come Back Home Too with Our Ultimate Labelling Kit

Blog banner

Threads

Blog banner

Virtual Memory

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

Fitness

Blog banner

Uniprocessor Scheduling

Blog banner

K-means use cases

Blog banner

Understanding Business Layer in Data Science

Blog banner

AI and Technology- Related Anxiety: Understanding the Psychological Impact of Living in an AI-Driven World

Blog banner

Severe landslides continue to cause concern in Joshimath, Uttarakhand

Blog banner

Amazon

Blog banner

Place to visit in pune

Blog banner

AI & Data Science in Healthcare – Predicting diseases, medical imaging analysis

Blog banner

Starvation

Blog banner

Fossil Hunting 101 at the Peace River, Arcadia, Florida, USA

Blog banner

Blockchain technology: security risk and prevention

Blog banner

INTRANET

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

PPC Advertising and its Impressive Benefits

Blog banner

Odoo

Blog banner

15 Interesting Facts about India

Blog banner

This is my first blog.

Blog banner

objectives and functions of operating system

Blog banner

VIRUS

Blog banner

SQL Injection practice on DVWA

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

How International Schools Build Global-Minded Students through Curriculum & Activities

Blog banner

Race Condition in Operating Theatre

Blog banner

Virtual memory

Blog banner

Stop Racism

Blog banner

Advanced Persistent Threats (APTs)

Blog banner

MEMORY MANAGEMENT FILE

Blog banner

Consumer to consumer Business model

Blog banner

MAHAKAL LOK UJJAIN

Blog banner

Bharat Maps

Blog banner

Modern operating system

Blog banner

A Review on Data Acquisition in Cyber Forensics

Blog banner

Modern Operating System

Blog banner