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

IT Service Continuity Management

Blog banner

Cyber Crime Investigation In The Era Of Big Data

Blog banner

Why am I never satisfied with my Life?

Blog banner

From Model Mistakes to Metrics

Blog banner

MEMORY FORENSIC ACQUISITION AND ANALYSISOF MEMORY AND ITS TOOLS COMPARISON

Blog banner

5 Things I As A Dentist Would Never Do (And What You Can Learn From It)

Blog banner

What is OS Fingerprinting?

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

Phishing

Blog banner

Virtual memory

Blog banner

What Is Experiential Learning and Why Does It Work Better Than Rote Learning?

Blog banner

Disk scheduling

Blog banner

Uniprocessor Scheduling

Blog banner

IT service level agreement

Blog banner

geographic information system (GIS)

Blog banner

Population

Blog banner

Teamwork

Blog banner

Concurrency management in operating systems

Blog banner

I/O Buffering

Blog banner

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

Memory management

Blog banner

Evolution of Operating system

Blog banner

Raid and levels of raid.

Blog banner

Drawing tips for a beginner

Blog banner

Virtual Memory

Blog banner

Child labour

Blog banner

Famous Indian dishes that where misunderstood to be Indian

Blog banner

INTERNET SECURITY

Blog banner

Linker

Blog banner

Full Disk Encryption on Digital Forensics

Blog banner

Uniprocessor Scheduling

Blog banner

12 Principles of Animation

Blog banner

TRELLO

Blog banner

Flipkart

Blog banner

GIS in Mapping and landslide alert in Bangladesh

Blog banner

What is Packet Filtering?

Blog banner

Why Are So Many Adults Getting Diagnosed with ADHD?

Blog banner

Cache Memory(142)

Blog banner

"Life as a Part-time Student"

Blog banner

Precision-Recall in Data Science

Blog banner

Different memory allocation strategies

Blog banner

What is Spyware?

Blog banner