wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor scheduling

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

POSITIVE ATTITUDE IN LIFE

Blog banner

NodeJs

Blog banner

Introduction to Virtual Memory - 080

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

INTERRUPTS

Blog banner

Deadlock and starvation in operating system

Blog banner

DURGA POOJA

Blog banner

Apple

Blog banner

File Management

Blog banner

Multicore and Multithreading

Blog banner

FAMILY WHERE LIFE BEGINS....

Blog banner

EMAIL INVESTIGATION

Blog banner

Digital Marketing Ethics Transparency Trust And Brand Reputation digital

Blog banner

Culture Of Ladakh

Blog banner

RAID_142

Blog banner

Threading

Blog banner

Fitness

Blog banner

Consumer to consumer business mode

Blog banner

Hacking Mobile Platforms

Blog banner

Disk cache

Blog banner

security controls

Blog banner

Python as a tool for Data science task & project

Blog banner

Pandas Matrix Applications

Blog banner

Capacity management in ITSM

Blog banner

What is Packet Filtering?

Blog banner

File Organization and Access

Blog banner

Types of Hackers.

Blog banner

Memory Management

Blog banner

Threads Concurrency: Mutual Exclusion and Synchronization

Blog banner

Functions Of Operating Systems

Blog banner

To travel is to live

Blog banner

ACHIEVEMENTS IN OPERATING SYSTEMS

Blog banner

TECHNOLOGY : BOON OR CURSE ?

Blog banner

Introduction to Solidity Programming for Blockchain Development

Blog banner

How to lose belly fat

Blog banner

Toothache Causes: Common Tooth Pain Reasons & When to See a Dentist

Blog banner

TOGETHER WE CAN CONQUER #team

Blog banner

AI and Cyber Security

Blog banner

MEMORY HIERARCHY

Blog banner

Beauty of indian railway

Blog banner

Virtualisation

Blog banner

Operating System

Blog banner