wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor scheduling

profile
Shyaan Vanani
Sep 09, 2024
0 Likes
0 Discussions
107 Reads

Uniprocessor scheduling refers to how a single CPU (uniprocessor) manages the execution of multiple processes. Since only one process can run at a time, the system needs to decide the order in which processes are executed. The goal is to optimize CPU usage and improve system performance. There are several types of uniprocessor scheduling algorithms:


1. First-Come, First-Served (FCFS): Processes are executed in the order they arrive. Simple but can lead to long wait times if a process with a long execution time arrives first.


2. Shortest Job Next (SJN): The process with the shortest execution time is selected first. It minimizes waiting time but requires knowledge of job length in advance.


3. Priority Scheduling: Each process is assigned a priority, and the CPU executes the highest-priority process first. Lower-priority processes may starve if higher-priority processes keep arriving.


4. Round Robin (RR): Each process gets a fixed time slice (or quantum). After its time slice expires, the process goes to the back of the queue. This ensures fairness but may increase context switching overhead.


5. Multilevel Queue Scheduling: Processes are divided into multiple queues based on priority or type, and each queue has its own scheduling algorithm.


6. Multilevel Feedback Queue: A dynamic version of multilevel queue scheduling where processes can move between queues based on their behavior (e.g., CPU-bound vs. I/O-bound processes).


Uniprocessor scheduling ensures that resources are used efficiently and processes run smoothly on single-core systems.


Comments ()


Sign in

Read Next

GIS in Mapping and landslide alert in Bangladesh

Blog banner

Celebrate Raksha Bandhan with Premium Dry Fruit Gift Hampers

Blog banner

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

Healthy Indian Dinner Ideas for Better Digestion and Sleep

Blog banner

The Five Steps of Data Science

Blog banner

Deadlock in Operating systems

Blog banner

How a Balanced Diet Supports Healthy Ageing and Overall Wellness

Blog banner

Different types of scam Fraud

Blog banner

A buffer overflow

Blog banner

Culture Of Ladakh

Blog banner

Car Window Tinting in India: What Car Owners Should Know Before Installation

Blog banner

Steganography and Steganalysis

Blog banner

Moral Injury Among Healthcare Workers: When Caring Conflicts With Conscience

Blog banner

Best Time to Visit Arcadia, Florida & Why Oak Tree Hotel Is Always Ready

Blog banner

Process State

Blog banner

VIRTUAL MACHINE

Blog banner

Direct Memory Access

Blog banner

Trends that began during the pandemic

Blog banner

DBMS and various career options related to it.

Blog banner

Risk management in IT

Blog banner

Why Festivals Are the Best Classrooms for Young Minds?

Blog banner

Cyber Security Control

Blog banner

Overcoming the bedtime brushing Battle with Dr. Roxanne Irani, Dentist in Maroubra

Blog banner

DURGA POOJA

Blog banner

Kayak Eco Tours Near Arcadia: A Complete Guide for Nature Lovers

Blog banner

Characteristics of Etherum

Blog banner

What your Favorite colour says about You?

Blog banner

K-means use cases

Blog banner

VPN

Blog banner

child Labour

Blog banner

Fault tolerance

Blog banner

Classification Algorithms (Decision trees, SVM, Logistic regreession)

Blog banner

Difference Between Classification And Clustering

Blog banner

Virtual Memory

Blog banner

This is my first blog.

Blog banner

Save Girl Child

Blog banner

S-Tool : Steganography

Blog banner

BIRYANI ! The history you never knew about

Blog banner

PERT Overview

Blog banner

undefined

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

Benefits of yoga and meditation

Blog banner