Round Robin Algorithm Tutorial (CPU Scheduling)

  Рет қаралды 521,898

ouchouchbaby

ouchouchbaby

Күн бұрын

Пікірлер: 221
@xika0s
@xika0s 8 жыл бұрын
This is far the best explanation of round robin on KZbin, simple and clear. Its worth noticing that quantum doesn't necessarily needs to be in seconds, but can be expressed in any time unit.
@amoghkulkarni3519
@amoghkulkarni3519 6 жыл бұрын
please reply me , if you get notified about my reply
@huzaifa199770
@huzaifa199770 5 жыл бұрын
if that happens do you just convert it to the same unit as the processes in the table? (second to minute etc)
@mohammad_bilal951
@mohammad_bilal951 2 жыл бұрын
quantum is a just a unit to measure time you can let it seconds,minutes,hours anything
@yassinedrissi7955
@yassinedrissi7955 2 жыл бұрын
agree a lot
@oscaralfonsoguerrero5154
@oscaralfonsoguerrero5154 6 жыл бұрын
Thanks for not being another Hindi tutorial. I seriously mean it.
@roko567
@roko567 6 жыл бұрын
the struggle is real
@ManuelRochaCR
@ManuelRochaCR 6 жыл бұрын
I was in the quest for some real English too!
@nibuer
@nibuer 6 жыл бұрын
seriously
@AS-jo8qh
@AS-jo8qh 6 жыл бұрын
What is that?
@shrimp3332
@shrimp3332 5 жыл бұрын
ikr i am so happy to find it in "REAL" english
@nisargpatel4443
@nisargpatel4443 4 жыл бұрын
I can't believe it. I was looking everywhere to figure out this algorithm and watching this video, it took only 4 minutes to understand it all. Nice!
@wantingyap
@wantingyap Жыл бұрын
it's been 8 years and this video still helps a lot of people like me! thanks for the simple clear cut example. Hope you are doing well! :))
@DocHolidayKY99
@DocHolidayKY99 6 жыл бұрын
Legendary explanation of Round Robin. Tomorrow is my exam, thank you for saving me a fair amount of points!
@AL-go2mv
@AL-go2mv 7 жыл бұрын
Very simple yet detailed explanation. I now fully understand how I would implement this in C/C++ for my Operating Systems class. Thanks!
@marcricsonricafort8479
@marcricsonricafort8479 4 жыл бұрын
Hello do you have the codes in here? Can u send it to me. Appreciated a lot
@chilledtofubeats1446
@chilledtofubeats1446 7 ай бұрын
bro born just to help us and post this only video
@kaiohenriqueps
@kaiohenriqueps 9 жыл бұрын
My god man! What a explanation! I'm from Brazil and I was trying to found a video that would help me to understand RR, and I have watched brazilian people trying to explain but it didn't work! You have saved my life! THANKS A LOT!
@XenogearsPS
@XenogearsPS 3 жыл бұрын
Wow I have looked at several videos and read textbooks and I never understood it. I now understand it. Wow. My mind is blown. Thank you.
@iremabay2189
@iremabay2189 10 ай бұрын
I have an exam tomorrow morning and this video just fixed all the confusion in like 3 minutes. I can’t thank you enough 🙏🏼😭
@mumtaaskfy9362
@mumtaaskfy9362 29 күн бұрын
How was an exam 😂 I have exam tomorrow morning
@tometslopo1182
@tometslopo1182 Жыл бұрын
bro you explain it so simple but efective, i understund it in 10 seconds your good teacher
@dsm6357
@dsm6357 3 жыл бұрын
And even after 6 years this video was still need it. Like I really hope you are a professor or something, I wasn't able to understand for a good while RR scheduling but thanks to you I did it on 4 minutes like how CLEAR your explanation was, it definitely will be a pleasure if someone has you as their teacher or tutor because this really was a life or more like a test savior. Hopefully you get back to do some of these. Wish you the best and once again thank you for the explanation!
@mikeahmed7092
@mikeahmed7092 5 жыл бұрын
Finally, Someone Who speaks English! Excellent Explanation~
@alekmdjl2
@alekmdjl2 3 жыл бұрын
Love how i learned more from this 5 min youtube video than my school who im paying thousands to attend…
@amoghkulkarni3519
@amoghkulkarni3519 6 жыл бұрын
thanks a lot ,the fact that you explained it within 5 min is the important thing here
@mjd5367
@mjd5367 2 жыл бұрын
Nice. I was checking many channels for good lecture and wasted 20 to 40 min. U gave the idea in 4 min⚡⚡⚡
@zerorobespierre918
@zerorobespierre918 6 ай бұрын
Huge thanks for the example with time graph, table and definitions. It is much easier to understand something that is visualized.
@texaport101
@texaport101 Жыл бұрын
Was struggling to understand this but not anymore. Simple and precise
@Anduuu077
@Anduuu077 9 күн бұрын
very good and quick explanation with a very straightforward example
@martinmatanov5581
@martinmatanov5581 8 жыл бұрын
Many thanks bro, the combination of incoming time and queue is killin it :)
@peterni1576
@peterni1576 5 жыл бұрын
Clear and simple explanation! It's absolutely easy to understand. THX U, Sir!
@thanushreemn7300
@thanushreemn7300 3 жыл бұрын
I can surely say this explanation was way better than 19 mins video I learnt entire concept clearly !
@renzosanantonio5952
@renzosanantonio5952 7 жыл бұрын
Thank you so much for uploading this detailed video of scheduling using round robin algorithm. Best explanation of round robin so far 🙂
@mjishnu
@mjishnu Жыл бұрын
awesome video quick and precise delivered the concept within 4 min most other videos take 20 min saved me a lot of time thanks!
@kiritokun9139
@kiritokun9139 7 жыл бұрын
Thank you so much for the vid!! I am going to write a test tomorrow and that Algorithm wasn't explained well in my script. With your explanation I understood how it works. Thumbs up!
@legoutdelespoir2522
@legoutdelespoir2522 Ай бұрын
Dude you saved me while preparing for my exam!
@AhmedKhan-rt6oz
@AhmedKhan-rt6oz 5 жыл бұрын
You nailed it broo! I try out many tutorials but not worth than you.Your teaching style is same as my university Mam!
@jerryonthehole2882
@jerryonthehole2882 2 жыл бұрын
The best explanation for round Robin in youtube.. Thank you very much
@MayCodeGuide
@MayCodeGuide 5 ай бұрын
best video on the subject for sure, better then my collage professor
@itsdhyya88
@itsdhyya88 2 жыл бұрын
This is the best explanation of round robin ever better then my teacher at uni lol
@bigsamsa1508
@bigsamsa1508 7 ай бұрын
You just saved my semester
@timgorman807
@timgorman807 2 жыл бұрын
Awesome fantastic video really helps, my midterm is next week and this was the one I was struggling to learn.
@devCave01
@devCave01 4 ай бұрын
Wonderful in 4 minutes I understood this... thank you so much u just gained a subscriber
@VentusInfinity
@VentusInfinity 2 жыл бұрын
By far the best explanation video on youtube!!!!!!
@HimeshPal-j7b
@HimeshPal-j7b 15 күн бұрын
Thanks you , you literally saved me in last moment
@yechielbabani1726
@yechielbabani1726 3 жыл бұрын
Why p1 gets to be twice before p4 and p5 didn't even get one
@aircraftcarrier2046
@aircraftcarrier2046 Ай бұрын
Because at time 3, P4 and P5 haven’t arrived yet (they come at 5 and 6 respectively - note the “AT” column in the table). So after P1 executes, the only processes asking for CPU time are P1, P2, and P3.
@marcor45
@marcor45 3 жыл бұрын
Tks for the quick explanation! You got to the point and super clear!
@possiblyzslot838
@possiblyzslot838 11 ай бұрын
BEST explanation on YT, thank you!
@annchoi6391
@annchoi6391 5 жыл бұрын
u saved me, u explained in the most simplest way thanks!
@iiSmoothieGaming
@iiSmoothieGaming 2 ай бұрын
Awesome explanation, thank you for this.
@NONAME-dj2gm
@NONAME-dj2gm 5 жыл бұрын
Thank you for having this video. I understood it easily. Thumbs up!
@McGaming412
@McGaming412 2 жыл бұрын
So simple and clear explanation. Thanks a ton
@durin127
@durin127 9 жыл бұрын
Thank you very much! Nice and simple explanation
@electricwatches1
@electricwatches1 5 жыл бұрын
Holy crap I got something in 4 mins that my professor couldn't explain in 3 hours!
@yeboyjayyjv9109
@yeboyjayyjv9109 4 жыл бұрын
🤣🤣🤣🤣🤣
@AbdelrahmanTheGreat
@AbdelrahmanTheGreat 4 күн бұрын
you would have done great in the KZbin learning industry lol hope you are doing great now
@AhmedKhan-rt6oz
@AhmedKhan-rt6oz 5 жыл бұрын
you are awesome , this tutorial will help me in my exam.
@dickyrendrahadi6207
@dickyrendrahadi6207 9 жыл бұрын
correction : the avg waiting time for p3 should be (6-3) + (15-9) = 3 + 6 = 9
@christopherespino7362
@christopherespino7362 6 жыл бұрын
Very clear and straight forward. Thank you!!!!!
@rezak04
@rezak04 6 жыл бұрын
what will happen to P4 if its BurstTime be longer than 1 seconds? Will it go to queue or TQ will start from there? 3:15
@tajrianbintajahid7561
@tajrianbintajahid7561 3 ай бұрын
Thank you for clear explanation!
@douglasemsantos
@douglasemsantos 6 жыл бұрын
Excellent explanation! Right to the point!
@sihamelghazi5356
@sihamelghazi5356 3 жыл бұрын
Thank u so much for this helpful tutoriel , I finally understand it.
@shreyageek
@shreyageek 3 ай бұрын
Post more videos your explanation is very clear
@savvasyiannopoulos7340
@savvasyiannopoulos7340 9 жыл бұрын
Great video and very good explanation! I have only one question. Why did you change from P3 again to P1 and not to P4?
@przemysawrychlik3976
@przemysawrychlik3976 9 жыл бұрын
+Savvas Yiannopoulos because P4 has arrival time 5
@eyotajr
@eyotajr 9 жыл бұрын
+Przemysław Rychlik can you give more explanation pls
@durin127
@durin127 9 жыл бұрын
+ricky orlando P1 was put after P3, because it had not finished working by that time. P1 needed additional 2 seconds to complete, so it was put back to queue after P2 and P3 were added to the queue(they were already waiting for their turn as P1 was executing). Also, P4 was not added after P3 simply, because it's time hadn't come then yet(it arrived 2 seconds later, after P1 halted).
@rabihchannel
@rabihchannel 2 жыл бұрын
thanks for the question btw :D
@davidlightman4929
@davidlightman4929 6 жыл бұрын
thanks, my teacher was able to make this confusing... clear and simple
@MK-uy6ks
@MK-uy6ks 8 жыл бұрын
very good explanation. real MVP
@maumi18
@maumi18 5 жыл бұрын
why we put te 2 seconds of P1 again after P3 and not after P5?
@PedroSWWE
@PedroSWWE 4 жыл бұрын
Because the P1 is the first one in the READY QUEUE. At time 3, P1 enters the READY QUEUE, P2 and P3 are already there, but P4 and P5 only enter that queue after because of their Arrival Time (AT)
@phucnguyenhoang234
@phucnguyenhoang234 8 ай бұрын
what a perfect video for explaination
@dinukakulathunga5798
@dinukakulathunga5798 6 жыл бұрын
Finally found a good explanation!!!...Thank you..
@JP-programming
@JP-programming 2 жыл бұрын
beautifull explanation thanks so much.
@jassu..5685
@jassu..5685 3 жыл бұрын
Very..Clear n Perfect explanation..!If u could explain remaining Scheduling algorithms also it will be very helpful for us..Thank you..!Attractive attempt Sir..!
@tionasilue1434
@tionasilue1434 8 жыл бұрын
Good job, very clear explanation thanks a lot!!!
@brettnieman3453
@brettnieman3453 7 жыл бұрын
Great video and explanation! Thanks!
@yiqinglan9009
@yiqinglan9009 2 жыл бұрын
Thank you. It's very clear.
@ranad2037
@ranad2037 2 жыл бұрын
That was very helpful, thanks a lot!
@katienefoasoro1132
@katienefoasoro1132 3 жыл бұрын
i did not get the order, why after p3 you come back to P1? based in wich oder it works? by the way good accent and clear video. thanks
@XenogearsPS
@XenogearsPS 3 жыл бұрын
look at arrival time. 1,2,3,5,6. after the third arrival time you go back to 1 because round robin is circular. So after 3 you can go back to 1 (1,2,3, (space to go back) 5, 6) He didn't explain it that well though.
@junaidalthaf
@junaidalthaf 4 жыл бұрын
Found this useful, good job!
@nagasesanagasesa7026
@nagasesanagasesa7026 3 жыл бұрын
teach by example, super effective!
@Charles-ve2yy
@Charles-ve2yy 6 жыл бұрын
Thank you, great explanation!
@joaopaulosilva1359
@joaopaulosilva1359 7 жыл бұрын
Good video! What program / software did you use to draw the table and the scheduling at 1:27 min of the video? I have difficulty drawing: / I await reply!
@alexjay9987
@alexjay9987 5 жыл бұрын
Try draw.io
@fiolelino810
@fiolelino810 26 күн бұрын
why after the first p3 is p1 can you explain
@yassineaguedid1929
@yassineaguedid1929 7 жыл бұрын
God bless youu my friend
@marclloydrunas2946
@marclloydrunas2946 4 жыл бұрын
Can you guys help me out? How will you know when you are to go back to a process with a remaining burst time?
@vasairobert3119
@vasairobert3119 4 жыл бұрын
I dont understand why was P1 put in queue after P1,P2,P3...i mean shouldn't it be queued at the end? after P4 and P5?
@Carlos-td6bz
@Carlos-td6bz 4 жыл бұрын
Thank you so much, it helped me a lot !!!!!!
@pradeepasivanesan3768
@pradeepasivanesan3768 5 жыл бұрын
Esay explanation... Thank you so much
@gomez007
@gomez007 7 жыл бұрын
why we put p1 after p3 only?
@boooost98
@boooost98 7 жыл бұрын
Because P4 and P5 haven't arrived at that time yet
@raselrahman5641
@raselrahman5641 6 жыл бұрын
i think you are right... i have done this scheduling
@burhanusuf9856
@burhanusuf9856 6 жыл бұрын
@@boooost98 plz explain
@PerfectRa1n
@PerfectRa1n 6 жыл бұрын
If the process terminates or changes its state to waiting during its attributed time quantum, the scheduler selects the first process in the ready queue to execute.
@camilabalsemao1184
@camilabalsemao1184 2 жыл бұрын
Great explanation!
@back81192
@back81192 4 жыл бұрын
Man! YOU ARE MY SAVIOR!!!
@42.nguyenminhthe87
@42.nguyenminhthe87 Жыл бұрын
i have a question for you. At the time of 3, P1 has already been completed and P3 also appears simultaneously, I think for this case, it will prioritize the process that is completed first. It translates into that P3 will be put after P1.
@diraneserges6076
@diraneserges6076 4 жыл бұрын
Thank for Video, but I have a question please. I would like to know if it is possible to Calculate Round robin Without time quantum. If yes? How i do ? Sorry, I cannot good talk English
@burhanusuf9856
@burhanusuf9856 6 жыл бұрын
Can someone tell me y p1 came before p4???
@christopheRocco77
@christopheRocco77 6 жыл бұрын
Well said! Very clear.
@soumyatarafder7656
@soumyatarafder7656 2 жыл бұрын
Great Explanation!
@erikasong3054
@erikasong3054 4 жыл бұрын
thanks sir!!!!!!!!!!!!! this is what I need.
@ga9526
@ga9526 5 жыл бұрын
what if the arrival time of the first process is not zero?
@andikawiratana5813
@andikawiratana5813 3 жыл бұрын
clean explanation, thanks
@shahdjaouni3024
@shahdjaouni3024 7 жыл бұрын
perfect explanation ..thanks
@TheSuperkiller14
@TheSuperkiller14 4 жыл бұрын
And my doctor spent his two hours lecture explaining this...
@yeboyjayyjv9109
@yeboyjayyjv9109 4 жыл бұрын
Welp.. thats my Dad😀
@samuelmaucaille702
@samuelmaucaille702 6 жыл бұрын
what happens if time quantum is greater than burst time?
@numberfour848
@numberfour848 Жыл бұрын
After P3 then P1 can anyone help me to explain why?
@christianmassuh5985
@christianmassuh5985 3 жыл бұрын
Awesome! Thank you for the clear explanation! #hero
@zaktv3595
@zaktv3595 7 жыл бұрын
Thanks, good explanation
@remytong8012
@remytong8012 8 жыл бұрын
hello. how do you calculate the time quantum ?
@BradA-t1y
@BradA-t1y 9 жыл бұрын
If P4 had a BT of 5, after P1 had finished, would P4 run for 1 or 3 seconds?
@adrianevillanueva69
@adrianevillanueva69 9 жыл бұрын
+Brad A. it will run for 3 seconds (TQ) and the remaining BT of 2 will be exected another time. P4 will go back in que after P3
@varuns4098
@varuns4098 6 жыл бұрын
how do i calculate depth of the Request Queue?
@bundhoonadeem
@bundhoonadeem 8 жыл бұрын
Taa fLmm...P3 viin 9!!! Thank You!!
@deepasamundi7851
@deepasamundi7851 4 жыл бұрын
How to find waiting time for Round robin
@jasper5016
@jasper5016 2 жыл бұрын
Thanks. It was amazing.
@散华-l9m
@散华-l9m 2 ай бұрын
thank you really clear
Round Robin Scheduling - Solved Problem (Part 1)
19:54
Neso Academy
Рет қаралды 449 М.
Round Robin(RR) CPU Scheduling Algorithm in OS with example
19:47
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
VIP ACCESS
00:47
Natan por Aí
Рет қаралды 27 МЛН
Что-что Мурсдей говорит? 💭 #симбочка #симба #мурсдей
00:19
CPU Scheduling Basics
16:07
Jacob Sorber
Рет қаралды 40 М.
Round Robin CPU Scheduling Algorithm (RR) - Operating Systems
6:41
Simple Snippets
Рет қаралды 101 М.
Operating Systems | C4-L10 | Round-Robin Scheduling
6:27
المقررات المفتوحة - Open Courses
Рет қаралды 64 М.
Round Robin Scheduling (Turnaround Time & Waiting Time)
19:28
Neso Academy
Рет қаралды 330 М.
L-2.7: Round Robin(RR) CPU Scheduling Algorithm with  Example
16:23
Gate Smashers
Рет қаралды 2,8 МЛН
Shortest Remaining Time First (SRTF)
3:51
y2b5
Рет қаралды 68 М.
CUDA Simply Explained - GPU vs CPU Parallel Computing for Beginners
19:11
Python Simplified
Рет қаралды 273 М.