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

How Unstructured Play Helps Children Become Creative Thinkers

Blog banner

Reclaim Your Bite and Beauty: All About Dental Restorative Treatments

Blog banner

Beauty of indian railway

Blog banner

Power of words

Blog banner

SECURITY TOOLS

Blog banner

Note Taker App

Blog banner

Memory Partitioning

Blog banner

Constrains in service design

Blog banner

Social Engineering Attacks

Blog banner

Security requirements for Safe E-Payments

Blog banner

Data Visualization

Blog banner

Brilliant WhatsApp Features Upcoming in 2023

Blog banner

Fossil Hunting 101 at the Peace River, Arcadia, Florida, USA

Blog banner

internet email and it's applications

Blog banner

Coping with Diagnosis Shock

Blog banner

Salt, Sand, and Smiles: Does the Maroubra Lifestyle Affect Your Enamel?

Blog banner

Proof-of-Stake (PoS)

Blog banner

Hot Mango Pickle (Methiyu)

Blog banner

Bitcoin sent using radio waves! No internet!

Blog banner

Palm Vein Biometric Technology; Contactless vein authentication

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

Session Hijacking Techniques

Blog banner

ARTICLE ON WRIKE CORPORATION

Blog banner

10 Reasons why Monica and Chandler are the best couple ever.!!!

Blog banner

The Right way of cooking

Blog banner

Security Issues and Countermeasures

Blog banner

Artificial Intelligence (AI)

Blog banner

Virtual Machine

Blog banner

Memory input output management

Blog banner

What are NFT s?

Blog banner

Install Ubuntu in Vmware

Blog banner

Importance of Website

Blog banner

INTERNET

Blog banner

Eating Well With Meal Maharaj on Busy Workdays Without Cooking

Blog banner

Man is free by the birth .

Blog banner

Disk Management

Blog banner

Device driver

Blog banner

Junk food vs healthy food

Blog banner

virtual machines and virtualization

Blog banner

Evolution of the Microprocessor ~ Aditya Pai

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

From Airboat Tours to Fossil Hunting: The Ultimate Arcadia Travel Experience

Blog banner