wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Scheduling

profile
Dhruvi Bhatt
Sep 09, 2024
0 Likes
0 Discussions
38 Reads

*Process Scheduling*


Process scheduling is the allocation of CPU time to processes. The OS scheduler selects a process from the ready queue and allocates the CPU to execute it.


*Scheduling Algorithms*


1. *First-Come-First-Served (FCFS)*: Processes are executed in the order they arrive in the ready queue.

2. *Shortest Job First (SJF)*: The shortest process is executed first.

3. *Priority Scheduling*: Processes are executed based on priority, with higher-priority processes running first.

4. *Round-Robin (RR)*: Each process is allocated a fixed time slice (time quantum) in a cyclic order.

5. *Multilevel Feedback Queue (MFQ)*: Multiple queues with different priorities; processes move between queues based on their behavior.


*Scheduling Criteria*


1. *CPU Utilization*: Maximize CPU usage to minimize idle time.

2. *Throughput*: Maximize the number of processes completed per unit time.

3. *Turnaround Time*: Minimize the time between process submission and completion.

4. *Response Time*: Minimize the time between process submission and first response.

5. *Fairness*: Ensure equal allocation of resources to processes.


*Scheduling Types*


1. *Preemptive Scheduling*: The OS can suspend a running process to allocate the CPU to another process.

2. *Non-Preemptive Scheduling*: The OS cannot suspend a running process; it must complete before another process runs.


*Scheduling Data Structures*


1. *Ready Queue*: Holds processes waiting for CPU allocation.

2. *Waiting Queue*: Holds processes waiting for I/O or other resources.

3. *Zombie Process*: A process that has completed execution but still holds system resources.


*Context Switching*


Context switching occurs when the OS switches the CPU from one process to another. It involves saving the current process's state and restoring the new process's state.



Comments ()


Sign in

Read Next

THE ROLE OF CYBER FORENSICS IN CRIMINOLOGY

Blog banner

MIDDLE CLASS MELODIES!!

Blog banner

OS- Assignnment 1

Blog banner

Service Strategy In ITSM

Blog banner

Blockchain

Blog banner

Raid

Blog banner

I/O Buffering

Blog banner

Goa Trip With Friends

Blog banner

Memory Management in an Operating System

Blog banner

Bulk E-mail software

Blog banner

De-Coding Love

Blog banner

Types of email

Blog banner

Go Daddy

Blog banner

Why Extreme Opinions Are Rising: Psychological Insights into Society’s Divides

Blog banner

Getting into Anime

Blog banner

Denial-of-Service and Distributed Denial-of-Service Attack Techniques

Blog banner

Paging

Blog banner

IT GOVERNANCE

Blog banner

Solving Problems with AI: The Power of Search Algorithms

Blog banner

Mental Health

Blog banner

What are Tenders its various types

Blog banner

The Role of Teachers in Building a Child’s Confidence

Blog banner

Constrains in service design

Blog banner

Models of Information Security.

Blog banner

How I use google in my daily life

Blog banner

CRISP-DM Methodology

Blog banner

Tracking Emails & Email Crimes

Blog banner

Indian Culture and Tradition

Blog banner

NodeJs

Blog banner

Brain wash of social media

Blog banner

Maharashtrian culture: Tradition, Art, Food

Blog banner

My First Dream Bike

Blog banner

RACI model in IT services

Blog banner

OPERATING SYSTEM OBJECTIVES AND FUNCTIONS

Blog banner

Fashion design

Blog banner

How to lose belly fat

Blog banner

What is M-commerce and how it's work

Blog banner

Introduction my self

Blog banner

Trends that began during the pandemic

Blog banner

Supervised and Unsupervised Learning

Blog banner

Online Games

Blog banner

Virtual Memory

Blog banner