wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Uniprocessor scheduling

profile
Shyaan Vanani
Sep 09, 2024
0 Likes
0 Discussions
97 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

Digital Footprints An Emerging Dimension of Digital Inequality

Blog banner

Sweet Mango Murabba

Blog banner

Dekkers Algorithm

Blog banner

Short note on expert system

Blog banner

1.1 basic elements

Blog banner

Balance

Blog banner

OPERATING SYSTEM

Blog banner

Data Lake

Blog banner

Virtual Memory

Blog banner

FRIENDSHIP

Blog banner

Facebook marketing

Blog banner

Service design process in ITSM

Blog banner

Distributed Denial of Service (DDoS) attack

Blog banner

Memory heirachy (Operating system)

Blog banner

What is Password Cracking ? and it's Techniques.

Blog banner

indian premier league

Blog banner

Deadlock

Blog banner

Love is in air.....

Blog banner

Memory Management

Blog banner

Explain website hacking issues

Blog banner

"The Benefits of Using GIS in Agriculture"

Blog banner

Data Mining

Blog banner

Jio .....A Revolution ?? ??

Blog banner

Wrike

Blog banner

Virtual Memory

Blog banner

Memory Management

Blog banner

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

Blog banner

Different Types of Data

Blog banner

What is a Malware ?

Blog banner

SECURITY RISKS OF REMOTE WORKING

Blog banner

Business Intelligence v/s Big Data

Blog banner

File management

Blog banner

Cyber Forensics in a Ransomware Attack Recovery

Blog banner

E-learning in today's world

Blog banner

Sagar Parikrama

Blog banner

Study of Backdoor and Trojan tools

Blog banner

What is Spyware?

Blog banner

Child labour

Blog banner

VIRTUAL MACHINES

Blog banner

SEIZING DIGITL EVIDENCE AT THE SCENE

Blog banner

SECURITY VULNERABILITIES COUNTERMEASURES IN A SMART SHIP SYSTEM

Blog banner

How to grow followers on Instagram business account?

Blog banner