wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Types Of scheduling

profile
Mihir undefined
Aug 15, 2024
0 Likes
0 Discussions
103 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

5 ways to save money on catering services in Mumbai

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

Some facts about Technology

Blog banner

Sagar Parikrama

Blog banner

38_Exploring The Honeynet Project

Blog banner

Session Hijacking

Blog banner

BENIFITS OF YOGA

Blog banner

POSITIVE ATTITUDE IN LIFE

Blog banner

Is Social Media Marketing The Next Wave Of Digital Marketing?

Blog banner

Virtual memory

Blog banner

Process states

Blog banner

Blockchain Security Technique

Blog banner

What is Influencer Marketing and its Trends

Blog banner

(Input/Output) in os

Blog banner

What is Segmentation?

Blog banner

Survey of Which Movies Types people are Prefer to Watch in India.

Blog banner

STARVATION

Blog banner

Child labour

Blog banner

Virtual memory

Blog banner

Optimization of operating system design

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Deadlock

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Linux Threads:

Blog banner

Os(Computer security threats)

Blog banner

Direct memory access

Blog banner

India Digital Personal Data Protection Act, 2023

Blog banner

Search Marketing In 2026: From Keywords To Credibility And User Intent

Blog banner

memory cache

Blog banner

THE DESIRE OF MANY

Blog banner

How Traditional Indian Foods Can Support a Modern Lifestyle

Blog banner

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

Blog banner

Sleep Matters: The Science Behind Toddler Naps

Blog banner

Kernel Memory Allocation In Linux.

Blog banner

Dal Bafla Recipe

Blog banner

Predictive Analysis - Ek Overview

Blog banner

Access management

Blog banner

Data Science in Healthcare: Predicting Diseases

Blog banner

note taker app

Blog banner

Developments in Modern Operating Systems

Blog banner

Policies for Service Transition

Blog banner

Buffer overflow

Blog banner