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

ASANA- A Management System.

Blog banner

OPERATING SYSTEM

Blog banner

Blockchain Transactions

Blog banner

Virtualization

Blog banner

QUANTUM COMPUTING IN SECURITY:A GAME CHANGER IN DIGITAL WORLD

Blog banner

HTML vs HTML5

Blog banner

Unlocking the Secrets: Basic Operations of Computer Forensic Laboratories

Blog banner

6 Digital Marketing Trends You Must Watch Out For In 2022

Blog banner

OS Assignment-3

Blog banner

MEMORY MANAGEMENT (techniques)

Blog banner

Modern Operating System

Blog banner

OPERATING SYSTEM OBJECTIVES AND FAULT TOLERENCE.

Blog banner

Email Privacy

Blog banner

CRISP-DM Methodology

Blog banner

Philadelphia Experiment : Was it real?

Blog banner

Buffers in Operating Systems

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

Difference Between Classification And Clustering

Blog banner

Random Forests

Blog banner

File management

Blog banner

10 Reasons Why Guy BestFriends are the Must in Every Girl's Life

Blog banner

Embaded operating system

Blog banner

Man VS Nature

Blog banner

The Role of cryptography in cyber security

Blog banner

HUBSPOT

Blog banner

Social Network Analysis: Ek Naya Nazariya Data Science Mein

Blog banner

Understanding Mobile Device Forensics

Blog banner

Blog on health and fitness

Blog banner

S-Tool : Steganography

Blog banner

DISK SCHEDULING

Blog banner

How the mobile IP is used in GSM architecture.

Blog banner

Deadlocks in operating system

Blog banner

Memory Hierarchy

Blog banner

Paginng In OS

Blog banner

Some facts about Technology

Blog banner

I/O Buffering

Blog banner

Mental Health

Blog banner

Note Taker App

Blog banner

Banaras

Blog banner

Hosting basics

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

MODERN OPERATING SYSTEM

Blog banner