wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor scheduling

profile
Shyaan Vanani
Sep 09, 2024
0 Likes
0 Discussions
105 Reads

Uniprocessor scheduling refers to how a single CPU (uniprocessor) manages the execution of multiple processes. Since only one process can run at a time, the system needs to decide the order in which processes are executed. The goal is to optimize CPU usage and improve system performance. There are several types of uniprocessor scheduling algorithms:


1. First-Come, First-Served (FCFS): Processes are executed in the order they arrive. Simple but can lead to long wait times if a process with a long execution time arrives first.


2. Shortest Job Next (SJN): The process with the shortest execution time is selected first. It minimizes waiting time but requires knowledge of job length in advance.


3. Priority Scheduling: Each process is assigned a priority, and the CPU executes the highest-priority process first. Lower-priority processes may starve if higher-priority processes keep arriving.


4. Round Robin (RR): Each process gets a fixed time slice (or quantum). After its time slice expires, the process goes to the back of the queue. This ensures fairness but may increase context switching overhead.


5. Multilevel Queue Scheduling: Processes are divided into multiple queues based on priority or type, and each queue has its own scheduling algorithm.


6. Multilevel Feedback Queue: A dynamic version of multilevel queue scheduling where processes can move between queues based on their behavior (e.g., CPU-bound vs. I/O-bound processes).


Uniprocessor scheduling ensures that resources are used efficiently and processes run smoothly on single-core systems.


Comments ()


Sign in

Read Next

Web browser forensics:Tools,Evidence collection and analysis

Blog banner

5 ways to save money on catering services in Mumbai

Blog banner

Healthy Indian Dinner Ideas for Better Digestion and Sleep

Blog banner

Risk mitigation and management

Blog banner

Types of Malware in Cyber Security

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

Install Ubuntu Easily

Blog banner

Four Stalls Every Vegetarian Needs To Eat At Outside Vile Parle Station

Blog banner

“Shot on iPhone” : A campaign by Apple that turned into a prodigy

Blog banner

Im Photographer

Blog banner

Memory management and virtual memory

Blog banner

Education?

Blog banner

Types Of Interrupt

Blog banner

Deadlock and Starvation in an Operating System

Blog banner

What is Virtual Memory

Blog banner

Technological Advancement

Blog banner

Dudhasagar waterfall ?

Blog banner

What is Email? Uses of Emails

Blog banner

The Art of Slow Fashion: Why Patola Defines Sustainable Luxury

Blog banner

How Puppet Shows and Role Play Teach Empathy to Preschoolers

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Music is life

Blog banner

A MODERN OPERATING SYSTEM

Blog banner

File Management In OS

Blog banner

The 60-Minute Window: What to Do (And What NOT to Do) When You Knock Out a Tooth

Blog banner

ProofHub

Blog banner

OS assignment 3

Blog banner

Virtual Machine

Blog banner

Dekkers Algorithm : Ensuring Safe Process Synchronization

Blog banner

“CONSISTENCY” in Social Media Marketing

Blog banner

RAID and It's Levels

Blog banner

Sensory Play for Toddlers: Boosting Curiosity Through Touch, Sound, and Colour

Blog banner

CoWIN

Blog banner

Beauty of indian railway

Blog banner

What makes Nugget RC Racing Florida’s Most Exciting Racing Events?

Blog banner

Predictive Analytics: How Data Science Predicts Trends(Weather ,Stock Market,Sales Forecasting ).

Blog banner

How India made the GIS its Own, and its Use in Infrastructural Developments

Blog banner

Balance

Blog banner

What is Amazon?

Blog banner

SWEET SHREDDED MANGO CHUNDA (MANGO CHUNDA)

Blog banner

Goa Trip With Friends

Blog banner

Data Science in Predictive Analytics: Transforming Business Decision-Making

Blog banner