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

UniProcessor Scheduling

Blog banner

Electronic data interchange

Blog banner

Balance

Blog banner

Bharat Maps

Blog banner

ODOO

Blog banner

Deadlock in operating system

Blog banner

Diwali

Blog banner

Health and fitness in technology

Blog banner

Modern OS

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

USES OF WHATSAPP

Blog banner

Data Exfiltration

Blog banner

Multiprocessor and Multicore Organization

Blog banner

10 Types of Friends in every friend group

Blog banner

Lemon and Chilli Pickle (Limbu Mirchi Achar)

Blog banner

Analysis of Digital Evidence In Identity Theft Investigations

Blog banner

Decision Tree: A Diagram Model

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Cryptanalysis tool

Blog banner

21ST CENTURY PATRIARCHY

Blog banner

Memory management and virtual memory

Blog banner

Data Lake

Blog banner

Steganography and Steganalysis

Blog banner

Embaded operating system

Blog banner

Types of email

Blog banner

A little bit of salt is all the hash needs!

Blog banner

Traditional Unix System

Blog banner

10 Reasons to Date a South Indian Girl

Blog banner

note taker app

Blog banner

Brain wash of social media

Blog banner

Hacking Mobile Platforms

Blog banner

"Life as a Part-time Student"

Blog banner

RAID

Blog banner

What is Spyware? and examples of them.

Blog banner

Cache memory

Blog banner

Travel Geek ‘The last $50k in Switzerland’

Blog banner

Automating OSINT tasks for efficient Cyber Forensics Investigations

Blog banner

Disk Scheduling

Blog banner

EFT

Blog banner

WHAT IS TWITTER AND HOW DOES IT WORK

Blog banner

Digital marketing spotlight “Dove’s Real Beauty Campaign”

Blog banner

How to lose belly fat

Blog banner