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

semaphores

Blog banner

Threads

Blog banner

Note on Process, Process creation and Process termination

Blog banner

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

Importance of Website

Blog banner

10 Unknown facts about India's Independence

Blog banner

How To Secure Operating Systems ?

Blog banner

Types of email

Blog banner

Cloud Computing

Blog banner

Monday. com App

Blog banner

NIKE

Blog banner

Service Design Model

Blog banner

Game Theory in Blockchain

Blog banner

Fashion design

Blog banner

Vulnerability Assessment (Vulnerability Analysis)

Blog banner

Short note on expert system

Blog banner

Google classroom

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

APACHE KAFKA

Blog banner

Linux Virtual Machine Process Scheduling

Blog banner

Virtualisation

Blog banner

Vulnerability Assessment

Blog banner

MD5 Collisions and the impact on computer forensics

Blog banner

My favourite food

Blog banner

JUSTICE FOR EVERY “BEZUBAAN ANIMAL”

Blog banner

Understanding the 'Ambiverts'

Blog banner

Deadlock

Blog banner

KASHMIR TRIPS

Blog banner

Virtual memory

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

TEAMWORK

Blog banner

What is Data, Information and Knowledge?

Blog banner

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

Blog banner

Health and fitness in technology

Blog banner

Data Acquisition in Cyber Forensics

Blog banner

What is Spyware? and examples of them.

Blog banner

What is metaverse?

Blog banner

STUDY OF SYSTEM HACKING TOOLS

Blog banner

File management in os

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

ARTICAL ON MANAGEMENT SYSTEM

Blog banner

Why Seasonal Summer Foods Are Best for Your Health?

Blog banner