wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor scheduling

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

How to invest in Indian Stock Market ? ~ Tutorial 1

Blog banner

Importance of self defence for girls

Blog banner

"Can Lisp do Machine Learning?"

Blog banner

Buffer Overflow

Blog banner

internet email and it's applications

Blog banner

Krishna Rao SAP ID--53003230076

Blog banner

Self managing devices

Blog banner

Therapy Myths That Need to End in 2025

Blog banner

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

Blog banner

A BLOG ON MYSQL

Blog banner

Ethical Hacking

Blog banner

Patola Outfits for the Modern Wardrobe: Reviving Indian Handloom in Style

Blog banner

Juveniles, Internet and Computer Crime

Blog banner

Big Data

Blog banner

Assignment 2

Blog banner

Password Generator - Lisp

Blog banner

Search Marketing In 2026: From Keywords To Credibility And User Intent

Blog banner

Multicore and multithreading 171

Blog banner

Im Photographer

Blog banner

Game Theory in Blockchain

Blog banner

objectives and function of operating system

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Excel records

Blog banner

Information Technology In E- Commerce

Blog banner

How Men and Women Process Pain Differently

Blog banner

Theads

Blog banner

Memory Management

Blog banner

The Khan mehtab transforming the modular switches

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Mumbai

Blog banner

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

Blog banner

File Management system

Blog banner

Memory management

Blog banner

Building Confidence in Children Through Daily Routines and Play

Blog banner

Health and fitness

Blog banner

Office Lunch Problems in Mumbai and How Tiffin Services Solve Them

Blog banner

Travelling blog

Blog banner

Supervised and unsupervised learning

Blog banner

COMFORT IS ALL ABOUT FASHION

Blog banner

Process and Threading

Blog banner

The Power of Cyber Forensic in Solving Crimes

Blog banner