wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor scheduling

profile
Shyaan Vanani
Sep 09, 2024
0 Likes
0 Discussions
97 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

MEMORY HIERARCHY

Blog banner

Article on Zoho Corporation

Blog banner

Busted : Common Web Security Myths

Blog banner

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

Blog banner

Security in Cloud Computing

Blog banner

Child labour

Blog banner

Love is in air.....

Blog banner

My First Trek - Sondai, Karjat - Shoaib Malik

Blog banner

My Favorite Sportsperson

Blog banner

Modern Operating System - Khush bagaria

Blog banner

objectives and function of operating system

Blog banner

Depression

Blog banner

Real Time Scheduling

Blog banner

Old age lifestyle

Blog banner

Semaphores

Blog banner

Utilizing Data-Hiding and Retrieval Techniques in Cyber Forensics

Blog banner

Way to make your meal healthier.

Blog banner

What your Favorite colour says about You?

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

Define Instagram.

Blog banner

Getting to Kashmir: Alternative to the Jammu-Srinagar highway

Blog banner

ASANA- A Management System.

Blog banner

Memory input output management

Blog banner

Multicore and multithreading 171

Blog banner

Blog name

Blog banner

Article on Fresh Book

Blog banner

Use case of K-means clustering

Blog banner

INTERNET

Blog banner

Assignment 2

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

INTERNET SECURITY

Blog banner

Evolution of Operating Sytems

Blog banner

Different Types of Data

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

NodeJs

Blog banner

Review on Cyber Forensics and its Analysis Tools

Blog banner

A True Friendship

Blog banner

Respondo Launches Revolutionary Video Discussion App

Blog banner

Life of a 2020-2021 student

Blog banner

What is Minting & Mining

Blog banner

CYBERBULLYING: Negative comments!

Blog banner

Pilgrimage at LOC: A privilege and a paradox

Blog banner