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

An Overivew Of Cache Memory

Blog banner

Social Media.

Blog banner

Buffer Overflow

Blog banner

Data Warehouse Bus Matrix

Blog banner

Concurrency and memory

Blog banner

CRISP-DM Methodology

Blog banner

How User Data Shapes Personalised Campaigns

Blog banner

Types of Threads

Blog banner

Social engineering in cyber security

Blog banner

Metasploit

Blog banner

Continual service improvement vs maintenance phase in IT

Blog banner

Bharat Maps

Blog banner

The Importance of Financial Literacy for College Students

Blog banner

Busted : Common Web Security Myths

Blog banner

Procedure For Corporate High-Tech Investigations

Blog banner

15 Websites that will make your life easier ...!!!

Blog banner

Memory Management in Operating System

Blog banner

What is Segmentation?

Blog banner

Design Considerations for Disk Cache Management

Blog banner

Functions of operating system

Blog banner

Bit Coins

Blog banner

Explain website hacking issues

Blog banner

GOOGLE

Blog banner

Semaphores

Blog banner

Social Engineering

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

Virtual memory

Blog banner

Instagram

Blog banner

Explaining Buffer Overflow with Example

Blog banner

Linux

Blog banner

THE DESIRE OF MANY

Blog banner

Chicken Dum Biryani

Blog banner

IP ADDRESS

Blog banner

Android Flashlight Application

Blog banner

Data Lakes: A Key to Modern Data Management

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

"Audit" In Data Science

Blog banner

Why Time Management Is the Secret to College Success (and How to Master It)

Blog banner

Top 4 Places To Stay In Copenhagen

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

15 Interesting Facts about India

Blog banner

LinkedIn

Blog banner