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

FIREWALL

Blog banner

Business Engineering

Blog banner

Data Warehousing

Blog banner

File management

Blog banner

PROCESS STATES OF OPERATING SYSTEM

Blog banner

This too shall pass

Blog banner

Carrot Pickle With Raisins (lagan Nu Achar)

Blog banner

UniProcessor Scheduling

Blog banner

Memory Management of Operating System(OS)

Blog banner

Kernel in Operating System

Blog banner

A BLOG ON MYSQL

Blog banner

Apache Kafka

Blog banner

Khau Galli – Vile Parle

Blog banner

Binary Search Tree (BST) in Data Structure

Blog banner

File management

Blog banner

Full Disk Encryption

Blog banner

MORDERN UNIX SYSTEM

Blog banner

What is a Dumpster Diving Attack?

Blog banner

virtual machine

Blog banner

Threads

Blog banner

Fudgy Tahini Date Chocolate Bars

Blog banner

Dos (Denial of service) Attack

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Blog name

Blog banner

TEAMWORK

Blog banner

Data-Driven Prediction of Virtual Item Prices in Online Games

Blog banner

Types of Hackers

Blog banner

Development Of Modern Operating System

Blog banner

LinkedIn: Watch out for these 7 upcoming updates in 2023

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner

Use case of K-means clustering

Blog banner

5 Stages of Digital Marketing

Blog banner

Health and fitness

Blog banner

How To Setup DVWA Using XAMPP on Windows

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

JIRA SOFTWARE

Blog banner

MODERN OPERATING SYSTEM

Blog banner

The Role of Teachers in Building a Child’s Confidence

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Operating system

Blog banner

SESSION HIJACKING

Blog banner