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

Cyber Security in Data Breaching

Blog banner

Disk scheduling

Blog banner

OS Assignment-3

Blog banner

social media issue

Blog banner

HTML vs HTML5

Blog banner

What is Internet

Blog banner

Information Technology In E- Commerce

Blog banner

Kafka - A Framework

Blog banner

Environmental Management using GIS

Blog banner

Dental Problems That Start Small But Should Never Be Ignored

Blog banner

1.1 basic elements

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

Article on Zoho Corporation

Blog banner

Segmentation and paging concept

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

I/O Management and Disk Scheduling

Blog banner

Throttle engine ’Sneak peek into the future’

Blog banner

Data Lake

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

A book review

Blog banner

Smartsheet

Blog banner

Annual Day Preparation for Toddlers: What Helps and What to Avoid

Blog banner

KPMG (Klynveld Peat Marwick Goerdeler)

Blog banner

Traditional UNIX Scheduling

Blog banner

Virtual Memory

Blog banner

Internet of Things

Blog banner

Bulk E-mail software

Blog banner

Key to success in Sports

Blog banner

Modern operating system

Blog banner

What is Email? Uses of Emails

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Perfect Moments to Wear a Rich Patola Design Outfit

Blog banner

Asana

Blog banner

SPEM

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

Deadlock

Blog banner

Fault Tolerance

Blog banner

The role of artificial intelligence in automating digital forensic analysis.

Blog banner

?How long does wisdom tooth pain last?

Blog banner

Buffer Overflow

Blog banner

Cyber Security in Data Breaching

Blog banner

Why we fail after giving 100% ?

Blog banner