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

Поділитися
Вставка
  • Опубліковано 31 січ 2025

КОМЕНТАРІ • 60

  • @SimpleSnippets
    @SimpleSnippets  5 років тому +4

    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 років тому +12

    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 років тому +2

    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 ✌😎

  • @anshul8502
    @anshul8502 7 років тому +2

    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 :)

  • @temesgenamsalu1036
    @temesgenamsalu1036 2 роки тому

    the best explanation is released from you!

  • @swarajsrimanray4020
    @swarajsrimanray4020 6 років тому +3

    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 ✌️

  • @mahamudulhasan232
    @mahamudulhasan232 3 роки тому +1

    Thank you so much for this video.

  • @abuusaid5640
    @abuusaid5640 6 років тому +1

    Love you bro ! Keep up the good work

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      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 6 років тому +1

      Already shared it with my buddy's 😊

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      Thank you so much ✌️
      This is the best support 😊

  • @vijayawadarider
    @vijayawadarider Рік тому +1

    Thank you so much 🥺🥺

  • @kukkalasasisrinivas9252
    @kukkalasasisrinivas9252 4 роки тому +3

    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

  • @parvezmulla3324
    @parvezmulla3324 8 років тому +2

    good explaination! thanks you

  • @irrationalpii
    @irrationalpii 6 років тому +3

    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 років тому +4

      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 років тому +1

      @@SimpleSnippets ye perfect

    • @SimpleSnippets
      @SimpleSnippets  6 років тому +1

      Thanks buddy 😇✌️

  • @Bigbosscontent1435
    @Bigbosscontent1435 7 місяців тому

    Its very easy to understand

  • @onkarshinde1345
    @onkarshinde1345 Рік тому

    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 ???

  • @asdfghjkl4384
    @asdfghjkl4384 3 роки тому +1

    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 років тому +1

    too good teacher!!!

    • @SimpleSnippets
      @SimpleSnippets  5 років тому +1

      Thank you so much buddy 😊 please share the videos with your friends too 🙏

    • @prajwalmore7554
      @prajwalmore7554 5 років тому +1

      Sure sir ill share your videos ☺️

    • @SimpleSnippets
      @SimpleSnippets  5 років тому

      @@prajwalmore7554 glad to hear this 😊

  • @Memes_I_Stole_For_A_Living
    @Memes_I_Stole_For_A_Living 4 місяці тому

    Why did you add 4 to p3? Aren't you supposed to add only 2 then p3 again?

  • @albertmillert
    @albertmillert 7 років тому +1

    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...

  • @rekhaprasad6350
    @rekhaprasad6350 6 років тому +2

    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 ✌😇

  • @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

  • @pradeephmkumar
    @pradeephmkumar Рік тому

    Thank You

  • @MisanthropyPure
    @MisanthropyPure Рік тому

    Thank your sir

  • @na0m1fes51
    @na0m1fes51 6 років тому +2

    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 🙂

  • @mohammedsayeed330
    @mohammedsayeed330 5 років тому

    but why did you took 2 seconds initially ??

  • @singanianji3809
    @singanianji3809 7 років тому +1

    Bro in SRT time slice is required or not ?

    • @SimpleSnippets
      @SimpleSnippets  7 років тому +1

      +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 ?

  • @arasiarasi1582
    @arasiarasi1582 6 років тому +1

    How to take arrival time and burst time

    • @SimpleSnippets
      @SimpleSnippets  6 років тому +1

      You don't have to take them. Usually in exams it's given ✌️

  • @ivymuhalia5605
    @ivymuhalia5605 Рік тому +3

    I don’t know why I’m not getting this one🤦🏽‍♀️

  • @nikhilsingh9733
    @nikhilsingh9733 2 роки тому +1

    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 роки тому +1

      @@SimpleSnippets P2 has the shortest BT than P1 so it should come after P0.

  • @jaypatel2903
    @jaypatel2903 4 роки тому +1

    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 !

  • @ntingletstacy3977
    @ntingletstacy3977 Рік тому

    You talk so very fast😢

  • @vijaydalalin
    @vijaydalalin 6 років тому

    Totally invisible video

    • @SimpleSnippets
      @SimpleSnippets  6 років тому

      Maybe watch in 720p. Sorry for the inconveniences though ✌️