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

Operating Systems

Blog banner

FASHION

Blog banner

Virtual Machine

Blog banner

Security in Cloud Computing Environment using cryptography - Rushabh Modi

Blog banner

Sniffing: A Cyber Security Threat

Blog banner

Mendeley (management software)

Blog banner

Short note on expert system

Blog banner

MailChimp

Blog banner

MySQL

Blog banner

Mail merge

Blog banner

Starvation

Blog banner

The Role of Data Provenance and Lineage in Modern Data Science

Blog banner

John Titor: The Time Traveler

Blog banner

Platonic Solids

Blog banner

An Overivew Of Cache Memory

Blog banner

Cache memory

Blog banner

Email Privacy

Blog banner

Uniprocessor Scheduling

Blog banner

ahh wait a min

Blog banner

Multicore and Multithreading

Blog banner

Multiprocessor and Multicore Organization

Blog banner

Be you

Blog banner

Operating system

Blog banner

Modern Operating System - Suren Kotian

Blog banner

Why Friendship at Work is Important

Blog banner

Go Daddy

Blog banner

Crypto tax evasion

Blog banner

Rules and Regulations of Networking: "Standards and Protocols" - Part 2

Blog banner

5 Common Faults In Construction Tenders

Blog banner

I/O Buffering

Blog banner

Software

Blog banner

Product Discount Calculator

Blog banner

Direct Memory Access

Blog banner

Tomato Butter Sauce with Bucatini

Blog banner

Game via listing method

Blog banner

Real-Time Operating Systems (RTOS) Deep Explanation

Blog banner

Service Design Principles

Blog banner

Data Mapping

Blog banner

Memory Management

Blog banner

File Sharing

Blog banner

The Dark Web: A Breeding Ground for Cybercriminals – How to Guard Against Threats

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner