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

Mumbai Metro 3

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

Cache Memory

Blog banner

INTERNET SECURITY

Blog banner

Human Error: The weakest link in Cybersecurity

Blog banner

5 People who claimed to have Time Traveled

Blog banner

How to setup a professional looking business account on Instagram?

Blog banner

Pro-Tips On How To Keep your Foot Healthy

Blog banner

How to grow followers on Instagram business account?

Blog banner

Title: Modern Operating Systems: Powering the Digital Era

Blog banner

Virtual Memory

Blog banner

Advantage of freedom

Blog banner

Pipedrive

Blog banner

child Labour

Blog banner

ONLINE NEWSROOMS

Blog banner

Data Mining

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

The Rise of Evil Twin Attacks: A New Kind Of Spoofing Cyberattack

Blog banner

IP ADDRESS

Blog banner

Instagram

Blog banner

Expert System In AI

Blog banner

operating system

Blog banner

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

Blog banner

City of Mumbai (Bombay):

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

Man VS Nature

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner

Hubspot

Blog banner

The evolution of OS

Blog banner

Uber

Blog banner

Embaded operating system

Blog banner

Explain website hacking issues

Blog banner

How to kiss

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

Deadlock and Starvation

Blog banner

Electronic Funds Transfer

Blog banner

MODERN OPERATING SYSTEM

Blog banner

URL vs Domain

Blog banner

Cyber Security in Data Breaching

Blog banner

Mumbaicha Dabbawalla

Blog banner

GIS Mapping

Blog banner