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

social media issue

Blog banner

OPERATING SYSTEM

Blog banner

Way to make your meal healthier.

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

The art of being alone

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Understanding Endometriosis and Its Psychological Impact on Quality of Life

Blog banner

Threats To Computer System

Blog banner

John Titor: The Time Traveler

Blog banner

What are NFT s?

Blog banner

Types of email

Blog banner

USES OF WHATSAPP

Blog banner

File system implementation

Blog banner

Virtual memory

Blog banner

Different types of scam frauds

Blog banner

M commerce

Blog banner

DATA SCIENCE IN BUSINESS AND MARKETING

Blog banner

Beauty of indian railway

Blog banner

File Sharing

Blog banner

The Difference Between Plaque and Tartar Explained Simply

Blog banner

Deadlock in Operating systems

Blog banner

Cycling

Blog banner

TAILS OS

Blog banner

SMARTSHEET MANAGEMENT SOFTWARE

Blog banner

Operating Systems

Blog banner

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

Blog banner

How Reading Books Shape a Child’s Imagination and Thinking?

Blog banner

What is a geographic information system (GIS)?

Blog banner

Disk scheduling

Blog banner

How to Manage Business Invoices and Payments Easily?

Blog banner

Volatile Memory & Non-Volatile Memory Explained

Blog banner

Explain DBMS in Brief

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

VIRUS

Blog banner

KASHMIR TRIPS

Blog banner

GIS Topography

Blog banner

A Statistical Analysis of Player Performance and their Value in cricket

Blog banner

The Real Reason Patola Outfits Come at a Premium Cost

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

Health and fitness in technology

Blog banner