wisemonkeys logo
FeedNotificationProfileManage Forms
FeedNotificationSearchSign in
wisemonkeys logo

Blogs

Scheduling

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

Tracking Emails & Email Crimes

Blog banner

How social media affect

Blog banner

Protein and Energy: Why Your Workday Diet Needs More of It

Blog banner

DEVELOPMENTS LEADING TO MODERN OPERATING SYSTEMS

Blog banner

Explain the concept of ( MIS) Management information systems

Blog banner

Sweet and Sour Mango Pickle (Gol Keri)

Blog banner

The Laws of Karma

Blog banner

What is Network Security?

Blog banner

Reconnaissance

Blog banner

You Get Everyone, But No One Gets You: The Lonely Side of High Emotional Intelligence

Blog banner

Why Friendship at Work is Important

Blog banner

Defining youtubr

Blog banner

Wrike

Blog banner

Festive Ethnic Wear Guide: Patola-Inspired Looks for Every Celebration

Blog banner

MODERN OPERATING SYSTEM

Blog banner

CYBER FORENCIS: PAST, PRESENT AND FUTURE.

Blog banner

Way to make your meal healthier.

Blog banner

Optimization of operating system design

Blog banner

How Traditional Indian Sweets Make Every Festival More Special

Blog banner

The Psychology of Diversity, Equity & Inclusion: How Inclusive Workplaces Boost Productivity

Blog banner

Operating Systems Overview

Blog banner

Deadlock

Blog banner

Raising Emotionally Intelligent Students: The Classroom Beyond Academics

Blog banner

Understanding Loneliness: Why We Feel Disconnected in a Connected World (Part -1)

Blog banner

Operating system

Blog banner

Memory Management in Operating System

Blog banner

Yoga in INDIA and ABROAD

Blog banner

Gamer life

Blog banner

Mumbai

Blog banner

Simple Ways of Avoiding Basic Mistakes in Smart Phone Security

Blog banner

MODERN OPERATING SYSTEM

Blog banner

Toothache at night? What does this mean, and how to cope with it?

Blog banner

Understanding - Proof of Work!

Blog banner

Discover The Top 3 Places To Stay in London

Blog banner

Cloud Forensic Tools And Storage :A Review Paper

Blog banner

Buffer overflow

Blog banner

From Loom to Luxury: How Patola Elevates Modern Wardrobes

Blog banner

The Future of Patola Weaving in a Sustainable Fashion World

Blog banner

OS PROCESS DESCRIPTION AND CONTROL-SARVAGYA JALAN

Blog banner

Method of Evaluating Information Security Level in an Organization

Blog banner

Craziness of dream 11 and how it impacts on our life

Blog banner

Disk Scheduling

Blog banner