Shortest Remaining Time (SRT) CPU Scheduling Algorithm - Operating Systems

  Рет қаралды 117,944

Simple Snippets

Simple Snippets

Күн бұрын

Support Simple Snippets by Donations -
Google Pay UPI ID - tanmaysakpal11@okicici
PayPal - paypal.me/tanmaysakpal11
--------------------------------------------------------------------------------------------- In this Video Tutorial we will Study and learn the working of Shortest Remaining Time CPU scheduling algorithm (SRT). SRT as the name suggests is based on the principle of shortest remaining time.
It is a variation of SJF with Pre-Emption. Thus SFJ with Pre-Emption is Know as SRT (shortest remaining time). Pre-Emption is the capability of the CPU to pause/stop the execution of a process before completion and swtich between different processes depending on certain criteria.
First Come First Serve (FCFS) CPU Scheduling Algorithm: • First Come First Serve...
Shortest Job First SJF CPU scheduling algorithm: • Shortest Job First (SJ...
Round Robin CPU Scheduling Algorithm (RR) : • Round Robin CPU Schedu...
Priority Based CPU Scheduling Algorithm : • Priority Based CPU Sch...
Simple Snippets Official Website -
simplesnippets...
Simple Snippets on Facebook-
/ simplesnippets
Simple Snippets on Instagram-
/ simplesnippets
Simple Snippets Google Plus Page-
plus.google.co...
Simple Snippets email ID-
simplesnippetsinfo@gmail.com
For Classroom Coaching in Mumbai for Programming & other IT/CS Subjects Checkout UpSkill Infotech - upskill.tech/
UpSkill is an Ed-Tech Company / Coaching Centre for Information Technology / Computer Science oriented courses and offer coacing for various Degree courses like BSc.IT, BSc.CS, BCA, MSc.IT, MSc.CS, MCA etc.
Contact via email /call / FB /Whatsapp for more info
email - upskillinfotech@gmail.com
We also Provide Certification courses like -
Android Development
Web Development
Java Developer Course
.NET Developer Course

Пікірлер: 60
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Hey Guys, if you want many more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends ✌
@PraveenKumar-pq9mo
@PraveenKumar-pq9mo 5 жыл бұрын
I personally than u bro.. Ur an xcellent teacher ill definitely pass in my xam... Tnq so much... I wish u to make more videos like this and educate us..!
@thokozanimkhwanazi535
@thokozanimkhwanazi535 5 жыл бұрын
My guy, keep it up I have been looking at tons of videos trying to understand this algorithm thank u bruh
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome buddy 🤟 I'm glad you liked this video. I would request you to please share the video with your friends too 😊
@divyagohil6520
@divyagohil6520 7 жыл бұрын
THIS IS VERY HELP FULL ..ND THE MOST IS I DONT NEED TO REMEBRE FORMULA THANK YO
@SimpleSnippets
@SimpleSnippets 7 жыл бұрын
+Divya Gohil you're welcome buddy ✌😎
@swarajsrimanray4020
@swarajsrimanray4020 6 жыл бұрын
Thanks a lot man . you have explained this very well .
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Most welcome buddy. I would request you to please share the video with your friends and contacts too 😇✌️ That will be the most helpful thing ✌️
@temesgenamsalu1036
@temesgenamsalu1036 2 жыл бұрын
the best explanation is released from you!
@mahamudulhasan232
@mahamudulhasan232 3 жыл бұрын
Thank you so much for this video.
@vijayawadarider
@vijayawadarider Жыл бұрын
Thank you so much 🥺🥺
@anshul8502
@anshul8502 7 жыл бұрын
Bro you rocked Got to top in my CT tommorow At least in numericals
@SimpleSnippets
@SimpleSnippets 7 жыл бұрын
All the best buddy. Thanks for the postive response :)
@parvezmulla3324
@parvezmulla3324 7 жыл бұрын
good explaination! thanks you
@Bigbosscontent1435
@Bigbosscontent1435 6 ай бұрын
Its very easy to understand
@kukkalasasisrinivas9252
@kukkalasasisrinivas9252 4 жыл бұрын
Nice video, but I have a doubt, which is, every process has started in gnatt chart at their arrival time but why p3 not started at its arrival time
@loop5984
@loop5984 Жыл бұрын
Because lowest the AT first priority will be given to that
@abuusaid5640
@abuusaid5640 5 жыл бұрын
Love you bro ! Keep up the good work
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Most welcome my friend 😊 Super happy to hear this from you. My only request is please share this video with your friends too ✌️ that will be the biggest help for the channel 😊✌️
@abuusaid5640
@abuusaid5640 5 жыл бұрын
Already shared it with my buddy's 😊
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Thank you so much ✌️ This is the best support 😊
@ivymuhalia5605
@ivymuhalia5605 Жыл бұрын
I don’t know why I’m not getting this one🤦🏽‍♀️
@albertmillert
@albertmillert 7 жыл бұрын
Hey man! Cool video, but I still do have a question. How does the system know both the arrival time and burst time? For an arival time do i need in my program some global clock running, or what? And for burst time... How am I supposed to give each process it's default time?
@SimpleSnippets
@SimpleSnippets 7 жыл бұрын
This is a numerical, and this is usually how data is presented in an examination scenario. If you are talking about the real implementation of this scenario in terms of programming or in a real CPU system with this algorithm then there are many factors to be taken into consideration.
@albertmillert
@albertmillert 7 жыл бұрын
Simple Snippets Hahah yea, that's exactly what i mean. At my university we're building our system simmulation and I have to schedule processes using SRT, which is fine, I implemented it already. The thing is we don't know where to get the burst time of the process. I know there's equation newPredictionBurstTime = a * whole time + (1-a) * lastPredictedBurstTime But does this equasion make the burst time of next process? What if the process arrives while the very first is being run, then we don't know the burst time of the second one...
@asdfghjkl4384
@asdfghjkl4384 3 жыл бұрын
what if 2 proces needs 2 seconds each, 1 was paused earlier then and 1 just arrived, will it complete the 1 that was paused or the 1 that just arrived?? answer pls
@prajwalmore7554
@prajwalmore7554 5 жыл бұрын
too good teacher!!!
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
Thank you so much buddy 😊 please share the videos with your friends too 🙏
@prajwalmore7554
@prajwalmore7554 5 жыл бұрын
Sure sir ill share your videos ☺️
@SimpleSnippets
@SimpleSnippets 5 жыл бұрын
@@prajwalmore7554 glad to hear this 😊
@pradeephmkumar
@pradeephmkumar Жыл бұрын
Thank You
@MisanthropyPure
@MisanthropyPure Жыл бұрын
Thank your sir
@Memes_I_Stole_For_A_Living
@Memes_I_Stole_For_A_Living 2 ай бұрын
Why did you add 4 to p3? Aren't you supposed to add only 2 then p3 again?
@onkarshinde1345
@onkarshinde1345 11 ай бұрын
What if: the running process remaining time is exactly same as the process that is next in the queue with exact same Burst time. Will it consider the new Process or will it continues on the same to finish ???
@irrationalpii
@irrationalpii 6 жыл бұрын
Thanks man! It helped a lot. p.s. I think things would be more visible and clear if you have used a white background instead of black.
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thank you for the positive response buddy 😇 Glad you liked the video. Please do share it with your friends and contacts. That'll be very helpful ✌️ And yes the reason why I use black background is cause in educational videos, students tend to get highly engrossed sitting in front of the screen for longer durations. Now it's been proved that a dark screen puts less stress on our eyes especially during low light and night times. So that's the main reason. Also I kinda think the neon colors are cool. Trying to follow Khan Academy in a way. ✌️😇
@koushalsaini300
@koushalsaini300 6 жыл бұрын
@@SimpleSnippets ye perfect
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Thanks buddy 😇✌️
@singanianji3809
@singanianji3809 7 жыл бұрын
Bro in SRT time slice is required or not ?
@SimpleSnippets
@SimpleSnippets 7 жыл бұрын
+singani anji I don't think so time slice concept applies here. That applies in round robin. Here the concept of shortest job along with preemption applies ✌
@singanianji3809
@singanianji3809 7 жыл бұрын
But you used 2 units of time for a process how ?
@ankushkumaryadav65
@ankushkumaryadav65 6 жыл бұрын
Computing turn around time directly seeing grant chart ..... everything is correct except for p3 ...just check it out .... 11-7=4 bt u had written 6
@mohammadalyousef4622
@mohammadalyousef4622 4 жыл бұрын
11-7 + (2 waited time ) = 6 . but good question
@mohammedsayeed330
@mohammedsayeed330 5 жыл бұрын
but why did you took 2 seconds initially ??
@arasiarasi1582
@arasiarasi1582 6 жыл бұрын
How to take arrival time and burst time
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
You don't have to take them. Usually in exams it's given ✌️
@rekhaprasad6350
@rekhaprasad6350 6 жыл бұрын
Plz avoid writing with pink colour. It is very helpful video but due to pink colour it is not much visible
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Okay, Thank you for the suggestion. Will surely keep this in mind in upcoming videos ✌😇
@na0m1fes51
@na0m1fes51 6 жыл бұрын
thanks i guess through this video ill pass ma exams in this topic its meant a lot thanks #simple snippets (*!*) :)
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
All the best buddy. Please do share the videos with your friends and contacts too 🙂
@nikhilsingh9733
@nikhilsingh9733 2 жыл бұрын
turn the intro volume down 🙁
@somshankarmukherjee1924
@somshankarmukherjee1924 6 жыл бұрын
It's wrong, P1s burst time is 4 so check your chart.
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Hey him I just checked the video, i'm sure I have not made any mistake here. Can you elaborate where exactly you think something is wrong ?
@june4069
@june4069 2 жыл бұрын
@@SimpleSnippets P2 has the shortest BT than P1 so it should come after P0.
@jaypatel2903
@jaypatel2903 4 жыл бұрын
You should be bit slower while explaining, not all students are capable of understanding at this speed
@SimpleSnippets
@SimpleSnippets 4 жыл бұрын
I agree, I am sorry. Will keep this in mind !
@vijaydalalin
@vijaydalalin 6 жыл бұрын
Totally invisible video
@SimpleSnippets
@SimpleSnippets 6 жыл бұрын
Maybe watch in 720p. Sorry for the inconveniences though ✌️
@ntingletstacy3977
@ntingletstacy3977 Жыл бұрын
You talk so very fast😢
@mumtaaskfy9362
@mumtaaskfy9362 27 күн бұрын
He doesn't need 1.5x😂
Round Robin CPU Scheduling Algorithm (RR) - Operating Systems
6:41
Simple Snippets
Рет қаралды 100 М.
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН
If people acted like cats 🙀😹 LeoNata family #shorts
00:22
LeoNata Family
Рет қаралды 43 МЛН
Каха и дочка
00:28
К-Media
Рет қаралды 2,3 МЛН
Preemptive Shortest Job First (SRTF) - CPU Scheduling
16:57
Mifta Sintaha
Рет қаралды 263 М.
Shortest Job First(SJF) Scheduling Algorithm with example | Operating System
12:58
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
Scheduling Algorithms - Shortest Job First (SJF)
28:47
Neso Academy
Рет қаралды 375 М.
SHORTEST REMAINING TIME FIRST (PREEMPTIVE)
9:30
Doc Mary
Рет қаралды 3,4 М.
Round Robin(RR) CPU Scheduling Algorithm in OS with example
19:47
Jenny's Lectures CS IT
Рет қаралды 1 МЛН
Smart Sigma Kid #funny #sigma
00:33
CRAZY GREAPA
Рет қаралды 37 МЛН