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

CRISP-DM Methodology

Blog banner

The Benefits of Mixed Learning Activities for Preschoolers

Blog banner

Deadlock and Starvation

Blog banner

Women’s Mental Health (After Marriage)

Blog banner

Starvation and Deadlock.

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Blog on Smartsheet.

Blog banner

Virtual memory

Blog banner

Nature’s Brush on Silk: The Secret Behind Patola Colours

Blog banner

Virtual Machine's

Blog banner

Importance of Website

Blog banner

IS CONVERTING AMBITION INTO PROFESSION?

Blog banner

TAILS OS

Blog banner

LiquidPlanner

Blog banner

Direct Memory Access

Blog banner

A-B-C of Networking: Part-3 (Topology [Bus & Star])

Blog banner

Memory heirchy

Blog banner

Privacy-Enhancing Computation Techniques

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Platonic Solids

Blog banner

The Bold Digital Marketing Moves That Made Durex India’s Second-Largest Condom Brand

Blog banner

ITIL Version 3 and 4 differenciation?

Blog banner

Guidelines for a low sodium diet.

Blog banner

Cache memory

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

Deadlock and Starvation

Blog banner

Traditional Unix System

Blog banner

MEMORY MANAGEMENT REQUIREMENT

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

Constrained Management in IT

Blog banner

The Lunchbox That Came Back Untouched — How to Handle a Fussy Eater at Preschool Age

Blog banner

Clustering Techniques

Blog banner

Deadlock and Starvation

Blog banner

What is OS and its overview

Blog banner

Body Image and Low Self Esteem: Understanding the Emotional Impact Beyond Appearance

Blog banner

The khan mehtab transforming the modular switches company

Blog banner

File and File System Structure

Blog banner

Types of Threads

Blog banner

Operating system and overviews

Blog banner

RSA (Rivest-Shamir-Adelman) Algorithm

Blog banner

Deadlock and Starvation

Blog banner

DATA VAULT

Blog banner