wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Scheduling

profile
Dhruvi Bhatt
Sep 09, 2024
0 Likes
0 Discussions
69 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

Current Trends in GIS and Remote Sensing(Ocean Applications)

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Population

Blog banner

Wiretapping

Blog banner

What is metaverse?

Blog banner

ProofHub

Blog banner

Smartsheet

Blog banner

MODERN OPERATING SYSTEM

Blog banner

38_Network Sniffing Techniques_SBC

Blog banner

Memory Management

Blog banner

Cloud Computing

Blog banner

Question

Blog banner

Dudhasagar waterfall ?

Blog banner

What Makes Patola the Queen of Silk?

Blog banner

The House ??of Patola Designs: Traditional Weaves with a Modern Twist

Blog banner

Virtual Machine

Blog banner

Why Social Search Is Becoming the New Discovery Channel for Brands?

Blog banner

Different Types of Data

Blog banner

10 Amazing facts about Tokyo Ghoul

Blog banner

The Role of Fibre in Everyday Nutrition and Digestive Health

Blog banner

OS- Assignnment 1

Blog banner

How Personalised Gifts Create Lasting Memories for Children?

Blog banner

Virtual Machine

Blog banner

Music

Blog banner

Virtual Machine

Blog banner

Use It or Lose It: Why November Is the Best Time to Claim Your Dental Extras and Medicare CDBS Before Year-End

Blog banner

ONLINE NEWSROOMS

Blog banner

POVERTY:Causes and solutions to problems

Blog banner

ADIDAS

Blog banner

Digital black market or dark net poses a national security threat?

Blog banner

Components of GIS

Blog banner

Health and fitness

Blog banner

Top 5 Benefits of Artificial Intelligence

Blog banner

Top 5 Post-Wedding Skin Care Tips

Blog banner

OPERATING SYSTEM

Blog banner

Digital Marketing - The new way to reach end consumer

Blog banner

The Rise of Polo Tourism in the USA: How Travellers Are Blending Luxury Stays with Elite Sports

Blog banner

virtual machines and virtualization

Blog banner

Virtual memory

Blog banner

Animal’s have my heart

Blog banner

Operating system evolution

Blog banner

What Makes Traditional God Keri Aachar So Special?

Blog banner