Round Robin CPU Scheduling Algorithm

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

КОМЕНТАРІ • 38

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

    Get Certification in Complete Operating System: www.tutorialspoint.com/operating_system/index.asp
    Use coupon ""UA-cam12"" to get “FLAT 12%’’ OFF at Checkout.

  • @roshanirathod9203
    @roshanirathod9203 5 років тому +3

    When i have any query i use to firstly search your channel.....Thank you so much sir for your teaching

  • @theprashant8271
    @theprashant8271 6 років тому +23

    P3 waiting time is 134. I didn't get exactly. There is another waiting time value which takes P3 at 154.

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

      No, waiting time, in essence, means the total time a process waits. At 154, P3 is not waiting. It's already running, since 134.

    • @Mr.M卂NJ
      @Mr.M卂NJ 5 років тому +1

      yes bro

  • @NusratJahan-bo9lo
    @NusratJahan-bo9lo 4 роки тому

    Thank youso mich sir
    I have solved my confusion by seeing your video

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

    Thank You Sir, The video was very comprehensive

  • @JP-programming
    @JP-programming 2 роки тому

    thanks so much sir for the great explanation

  • @MthokozisiMpofu-sl6en
    @MthokozisiMpofu-sl6en 4 місяці тому

    What about calculating context switches, do you have a tutorial for that? Please assist

  • @layagodfrey2768
    @layagodfrey2768 3 роки тому

    very straight forward and clear thank you

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

    Sir, can please explain what should the sequence in Gnatt chart if B.T is less than time quantum

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

    helpful.
    we are following sir

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

    Why did they leave out the 162 for P3

  • @hosamhasan6871
    @hosamhasan6871 6 років тому +13

    waiting time is not correct :
    we should follow some steps to avoid wrong calculation :
    > A.T= Arrival Time
    > B.T= Burst Time
    > C.T= Completion Time
    >> T.T = Turn around Time = C.T - A.T
    >> W.T = Waiting Time = T.T - B.T
    if we apply these steps on the example at the video we will get waiting time results as follows :
    P1 = ( 134 - 0 ) - 53 = 81
    P2 = ( 37 - 0 ) - 17 = 20
    P3 = ( 162 - 0 ) - 68 = 94
    P4 = ( 121 - 0 ) - 24 = 97
    avr. waiting time = (81 + 20 + 94 + 97) / 4 = 73
    let's calculate it manually to make sure that these steps are correct .
    for example , P1 timeline :
    start stop wait_A resume stop wait_B resume finish
    0----------20------waiting------77----------97-------waiting------121---------134
    let' sum the periods of waiting time :
    wait_A = 77-20 = 57
    wait_B = 121 - 97 = 24
    >> total wait time for P1 = wait_A + wait_B = 57 + 24 = 81 >> as we calculated before

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

      You just calculated the waiting time in a slightly different way. Both calculations are correct.

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

      This is how I would prefer to calculate it, but the lectures' way of calculating is also correct and give the same answer. The lecturs' way of calculating requires just a bit more to keep track of in your head, which can result in errors when calculating complex scheduling schemes.

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

    Suppose process P1 has a period of 45 units and a burst time of 30 units. If 97% of the total CPU resources are being utilized to run P1 and another process P2, calculate the period of process P2.(Assume that the burst for P2 is a third of P1).what this value? sir

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

    best explanation

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

    thank you sir for your help, i realy appreciate you.

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

    Not easy to understand by junior...never use large numbers like 53,17,68 in BT...using small no.like 0,9,4,3 is enough for junior.Using of large number make junior student burdens ...from my opinion...
    and if it available like CT,TT,RT it will be complicated..

  • @thomasnagan80
    @thomasnagan80 4 роки тому

    thank u king

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

    In this problem how to calculate turn around time .

  • @athinasa_world
    @athinasa_world 4 роки тому

    When time quantam = infinity, round robin becomes FCFS..
    What will happen when time quantam = 0?

    • @prasannat9759
      @prasannat9759 3 роки тому

      Sir claritiga kanipinchatladhu mi screen but your teaching is very well sir thank you

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

    👍👍👍👍

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

    at 154 P3 did not need to wait and not 134...but concept grasped like!

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

    SIR PLZ CAN YOU EXPLAIN THE THEORY OF ALL THESE SCHEDULING

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

    AV of p3 =154-60

  • @BashirYusuf1
    @BashirYusuf1 4 роки тому

    thanks

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

    didn't get that how to get waiting time here

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

      ohh...................I got it at second watching the video thank you so much

  • @padminikalburagi1783
    @padminikalburagi1783 4 роки тому

    The ans is 73 is it correct?

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

  • @ahmadjaradat3011
    @ahmadjaradat3011 11 місяців тому

    thanks so much sir for the great explanation