wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor Scheduling

profile
NAHIDA SHAIKH
Sep 11, 2024
0 Likes
0 Discussions
117 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

Mendeley (management software)

Blog banner

Chicken Dum Biryani

Blog banner

Race Condition

Blog banner

A-B-C of Networking: Part-3 (Topology [Ring, Tree, Mesh])

Blog banner

Firewall / IDS Evasion Techniques

Blog banner

Uniprocessor Scheduling

Blog banner

Constrained Management in IT

Blog banner

operating system

Blog banner

Modern Teaching Methods: Why Inquiry-based & Experiential Learning Works Best

Blog banner

Landslide Hazard

Blog banner

Why Social Search Is Becoming the New Discovery Channel for Brands?

Blog banner

The New Role of Social Media Managers: Beyond Posting Content

Blog banner

How To Invest In Indian Stock Market @ BSE & NSE ~ Tutorial 3

Blog banner

Memory management and virtual memory

Blog banner

Segmentation and paging concept

Blog banner

Points to consider if you're planning to visit Florida in 2026

Blog banner

Note Taker App

Blog banner

Traditional Unix System

Blog banner

Memory Management

Blog banner

INTERNET

Blog banner

Partnership in Learning: How Parent Involvement Shapes a Child’s Early Education

Blog banner

How HRMS, Task Management, and Team Chats Can Improve Workplace Productivity

Blog banner

Disk Scheduling

Blog banner

What is Amazon?

Blog banner

Rain

Blog banner

Why Data Security Is Important

Blog banner

Deadlocks

Blog banner

virtual memory

Blog banner

MAILFENCE

Blog banner

Cache Memory

Blog banner

What Function Does SEO Serve in Digital Marketing?

Blog banner

Teenagers of Today

Blog banner

Twisted world

Blog banner

A-B-C of Networking: Part-1 (Basics)

Blog banner

Excel records

Blog banner

Google

Blog banner

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Life of a 2020-2021 student

Blog banner

A Weekend at Oak Tree Hotel: The Best Hotel Experience in Arcadia, Florida

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner

Why Nature-Based Learning Is Becoming Popular in Early Education?

Blog banner

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

Blog banner