wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor Scheduling

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

Network Forensics Tools and Techniques

Blog banner

TRAIN TRAVELING

Blog banner

M commerce

Blog banner

BharatPe

Blog banner

Deadlock in Operating systems

Blog banner

MODERN OPERATING SYSTEMS

Blog banner

What is thread and multithreading ?

Blog banner

Service Validation and Testing during the Design Phase

Blog banner

Threads in OS

Blog banner

What is Virtual Memory

Blog banner

Deadlock

Blog banner

Culture Of Ladakh

Blog banner

Hypothesis Testing in Data Science

Blog banner

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

Blog banner

Secure Hypertext transfer protocol

Blog banner

Exploring Florida Beyond the Obvious Tourist Trails

Blog banner

Wedding photographer

Blog banner

Number Guessing game --lisp

Blog banner

Why Seasonal Summer Foods Are Best for Your Health?

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

Busted : Common Web Security Myths

Blog banner

Technical Challenges and Directions for Digital Forensics

Blog banner

How to Compare Schools Before an Admission Decision

Blog banner

Deadlock and Starvation

Blog banner

Uniprocessor scheduling

Blog banner

I/O Buffering

Blog banner

Predictive Analysis - Ek Overview

Blog banner

Decrypting Cryptocurrency: Tracing Transactions in Cyber Investigations

Blog banner

Cache Memory

Blog banner

SQL Injection practice on DVWA

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Virtual Machine

Blog banner

Best password managers: Reviews of the top products

Blog banner

Is Dental Phobia Holding You Back? How Happy Gas Changes Everything

Blog banner

geographic information system (GIS)

Blog banner

Vikrant’s first blog

Blog banner

Ethical Hacking

Blog banner

How to insert contacts in zoho crm using php

Blog banner

Hash password! Is it really secured?

Blog banner

Virtual Memory

Blog banner

Real time scheduling

Blog banner

Virtual Machine

Blog banner