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

Top Career Paths After a B.Com Degree in Mumbai: What’s Next for You?

Blog banner

File management In Operating System

Blog banner

De-Coding Love

Blog banner

Question

Blog banner

Dove’s Real Beauty Campaign- Case Study

Blog banner

How To Secure Operating Systems ?

Blog banner

Health and fitness

Blog banner

Python as a tool for Data science task & project

Blog banner

Deadlock and Starvation

Blog banner

What if COVID does not exist!

Blog banner

Is it important to follow all the trends that come up on social media?

Blog banner

Data Warehouse Bus Matrix

Blog banner

Elements and Principles of Photography

Blog banner

"Geographic Information Systems (GIS) and its Applications in Urban Planning"

Blog banner

Cyber Security in Data Breaching

Blog banner

On-Page SEO

Blog banner

Cyber Forensics in Healthcare: Protecting Patient Data and Preventing Breaches

Blog banner

History of ITIL

Blog banner

Celebrate Raksha Bandhan with Premium Dry Fruit Gift Hampers

Blog banner

Paid Email

Blog banner

security requirements for safe e-payment

Blog banner

LTE Technology

Blog banner

undefined

Blog banner

Simple AI Symptom Diagnosis Using LISP – Rule-Based Expert System

Blog banner

Buffering

Blog banner

note taker app

Blog banner

5 People who claimed to have Time Traveled

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Service transistion under difficult conditions

Blog banner

The Procedural Framework for Corporate High-Tech Investigations

Blog banner

10 Signs your Computer has Virus

Blog banner

Multicore and multithreading 171

Blog banner

To-Do List In LISP

Blog banner

MY MOST THRILLED TREK ..... BHAIRAVGAD

Blog banner

Threads and concurrency

Blog banner

RAID - LEVELS OF RAID

Blog banner

Be you

Blog banner

Understanding Univariate, Bivariate, and Multivariate Analysis in Data Science

Blog banner

Memory Management Techniques

Blog banner

Memory Management in Operating System

Blog banner

Computer Security

Blog banner

Uniprocessor and Types

Blog banner