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

Royal enfield

Blog banner

VIRTUAL MACHINE

Blog banner

Getting into anime My anime suggestions

Blog banner

Understanding Business Layer in Data Science

Blog banner

10 Alien Encounters and Abduction Stories

Blog banner

Animal’s have my heart

Blog banner

Uniprocessor and Types

Blog banner

RACI model in IT services

Blog banner

Data is an asset and it is your responsibility!

Blog banner

DATA VAULT

Blog banner

Life lesson

Blog banner

Security in Operating Systems

Blog banner

Interrupts in OS

Blog banner

Gamer life

Blog banner

Uniprocessor scheduling

Blog banner

Components of GIS

Blog banner

MySQL

Blog banner

Best Time to Visit Arcadia, Florida & Why Oak Tree Hotel Is Always Ready

Blog banner

It's all about our Brain.- The Brain Metaphor

Blog banner

How to Find the Right Therapist For Me?

Blog banner

What is Brute Force Attack? How to defend against it?

Blog banner

AN EVENT-BASED DIGITAL FORENSIC INVESTIGATION

Blog banner

Rain

Blog banner

VPN

Blog banner

A-B-C of Networking: Part-2 (Components)

Blog banner

The Right way of cooking

Blog banner

Critical success factors

Blog banner

INDIAN CHEAPEST COSMETICS BRAND

Blog banner

MAILFENCE

Blog banner

How to Conquer Depression ?

Blog banner

Major achievement

Blog banner

What is Spyware?

Blog banner

How GIS in Agriculture Eliminates Guesswork

Blog banner

ProofHub

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

Is It Too Late to Straighten My Teeth as an Adult?

Blog banner

E-commerce

Blog banner

Khau Galli – Vile Parle

Blog banner

Traditional UNIX Scheduling

Blog banner

Friendship

Blog banner

Jira Software

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner