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

Process State

Blog banner

Android Flashlight Application

Blog banner

Cache memory

Blog banner

Child labour

Blog banner

10 Interesting Facts about Attack on Titan

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

Bots and Cyber Security

Blog banner

Threads

Blog banner

Domain Name System

Blog banner

Vikrant’s first blog

Blog banner

Memory Management

Blog banner

Device driver

Blog banner

Key to success in Sports

Blog banner

QUANTUM COMPUTING IN SECURITY:A GAME CHANGER IN DIGITAL WORLD

Blog banner

Different Types of Data

Blog banner

Deadlock and Starvation

Blog banner

A Survey of Anti-Forensic Techniques: Methods, Challenges, and Countermeasures

Blog banner

Cryptanalysis tool

Blog banner

De-Coding Love

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

Memory management

Blog banner

Operating System

Blog banner

Processing Crime and Incident Scenes

Blog banner

DURGA POOJA

Blog banner

First-Order Logic (FOL): The Foundation of Modern Logic

Blog banner

Indian Culture and Tradition

Blog banner

Modern Operating Systems

Blog banner

Save Environment

Blog banner

Service Operation

Blog banner

Mumbai Metro 3

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Capacity management in ITSM

Blog banner

Rapido

Blog banner

MODERN OPERATING SYSTEM

Blog banner

child Labour

Blog banner

Data Visualization in Decision-Making

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Smartsheet

Blog banner

Apache Spark :- Powerful Data Processing Tool

Blog banner

KAHAWA TEA

Blog banner

Memory management

Blog banner

Threads

Blog banner