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

Fitness

Blog banner

Cycling

Blog banner

Malware Detection Techniques for Mobile Devices

Blog banner

File management

Blog banner

Service Catalogue Management

Blog banner

New Ransomware Encrypts Your Android And Then Changes PIN Lock

Blog banner

DATA WRANGLING

Blog banner

TRELLO

Blog banner

Boxing

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

ART AND CULTURE OF VRINDAVAN

Blog banner

Short note on expert system

Blog banner

IP ADDRESS

Blog banner

Landslide Hazard

Blog banner

Memory input output management

Blog banner

Importance Of Blockchain

Blog banner

Fault Tolerance

Blog banner

Malicious softwares

Blog banner

M commerce

Blog banner

CRISP-DM Methodology

Blog banner

HTML vs HTML5

Blog banner

AI and cyber Security

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

MODERN OPERATING SYSTEM

Blog banner

NodeJs

Blog banner

Objectives and Functions of Operating System

Blog banner

Fitness

Blog banner

Deadlock and Starvation

Blog banner

Flipkart

Blog banner

Record Blocking

Blog banner

objectives and functions of operating system

Blog banner

ONLINE NEWSROOMS

Blog banner

E-BUSINESS RISK MANAGEMENT

Blog banner

All you need to know about “On-page SEO”

Blog banner

Understanding - Proof of Work!

Blog banner

Operating System

Blog banner

note taker app

Blog banner

Data Science in Everyday Life (like a phone, shopping cart, or social media icons)

Blog banner

GraphQL

Blog banner

Functions of Operating System

Blog banner

10 Signs That Prove YOU are his FIRST priority.

Blog banner