wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor Scheduling

profile
NAHIDA SHAIKH
Sep 11, 2024
0 Likes
0 Discussions
107 Reads

Uniprocessor scheduling in operating systems manages how the CPU handles tasks when only one processor is available. Here are the main approaches:


### 1. **Preemptive Scheduling**: 

The CPU can be taken away from a process mid-execution to allow another process to run.

- **Round Robin (RR)**: Each process gets a fixed time slice. If it doesn’t finish, it goes to the back of the queue.

- **Priority Scheduling**: CPU is assigned based on priority. A higher-priority task can interrupt a lower-priority one.

- **Shortest Remaining Time First (SRTF)**: The process with the least time left to execute runs next, preempting if needed.


### 2. **Non-Preemptive Scheduling**: 

Once a process starts, it runs to completion before another process can be scheduled.

- **First-Come, First-Served (FCFS)**: Processes are scheduled in the order they arrive.

- **Shortest Job First (SJF)**: The process with the shortest duration runs first.


### 3. **Multilevel Queue Scheduling**: 

Processes are divided into categories, each with its own queue and scheduling algorithm.


### 4. **Multilevel Feedback Queue**: 

Processes can move between different priority queues based on their behavior, adapting to system needs.


The choice of scheduling algorithm impacts system performance, balancing fairness, CPU utilization, and response time.


Comments ()


Sign in

Read Next

Privacy-Enhancing Computation Techniques

Blog banner

Computer Forensics and its Impact in Business Environment

Blog banner

Service transistion under difficult conditions

Blog banner

Software

Blog banner

Processes : Process description and control

Blog banner

Deadlocks

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

A True Friendship

Blog banner

?What Children Learn Between Activities: The Hidden Learning Moments in a Preschool Day

Blog banner

Modern Operating System

Blog banner

OLA

Blog banner

Anomaly Detection in Behavioral Data Using Machine Learning

Blog banner

How to Manage Employees and Tasks in One System (Without Excel)

Blog banner

Rain bow

Blog banner

Article on Zoho Corporation

Blog banner

How Social Media Algorithms Will Work in 2026?

Blog banner

OS- Assignnment 1

Blog banner

gis substation

Blog banner

All you need to know about Website Traffic

Blog banner

memory cache

Blog banner

Amazon

Blog banner

File management In Operating System

Blog banner

Importance Of Time

Blog banner

Risk mitigation and management

Blog banner

How To Invest in Indian Stock Market For Beginners. ~ Tutorial 2 (NSDL And CSDL) Continued...

Blog banner

Can ChatGPT Answer All My Questions About Life?

Blog banner

MYNTRA

Blog banner

Virtual memory

Blog banner

Network Footprinting in Cybersecurity

Blog banner

SMARTSHEET

Blog banner

Mumbai

Blog banner

Linux Memory Management

Blog banner

The Importance of Eating on Time: How Meal Timing Affects Your Health

Blog banner

What is process

Blog banner

Threads

Blog banner

Building a Simple Doctor Appointment System in Common Lisp

Blog banner

Working with Sniffers for monitoring network communication

Blog banner

This is my first blog.

Blog banner

Which Smartphone Company Has the Largest Market Share in India?

Blog banner

Memory management

Blog banner

Direct Memory Access

Blog banner

internet email and it's applications

Blog banner