Introducing 

Prezi AI.

Your new presentation assistant.

Refine, enhance, and tailor your content, source relevant images, and edit visuals quicker than ever before.

Loading…
Transcript

Colorful

Nature

Rahul Varadaraju

Shamanth C

Introduction

Round-robin scheduling is a simple and widely used CPU scheduling algorithm in operating systems. It aims to provide fair and equal time slices to all processes in the system. The basic idea behind round-robin scheduling is to allocate a fixed time quantum to each process in a cyclic manner.

What is Round Robin

Why Round Robin

Why Round Robin

Fairness

Responsiveness

Preemption

Simplicity

Real-time systems

Working

Each process in the system is assigned a time quantum or time slice. This time quantum represents the maximum amount of time a process can execute before being preempted.

The scheduler maintains a ready queue, which is a data structure that holds all the processes that are ready to run.

The scheduler selects the first process from the ready queue and assigns it the CPU for its time quantum.

How does it work

Working contd.

The selected process runs for the allocated time quantum. If it completes its execution within the time quantum, it is removed from the system. If the process does not complete within the time quantum, it is preempted and moved to the back of the ready queue.

The scheduler then selects the next process from the front of the ready queue and assigns it the CPU for its time quantum.

This process continues until all processes have had a chance to run for their time quantum. The scheduler then goes back to the beginning of the ready queue and repeats the process

Example

FLOW CONTROL

FLOW

CONTROL

Learn more about creating dynamic, engaging presentations with Prezi