W5 L1 CPU Scheduling

Поделиться
HTML-код
  • Опубликовано: 8 ноя 2024

Комментарии • 9

  • @suhasnayak4704
    @suhasnayak4704 6 лет назад +4

    At 31:42, Round Robin Scheduling with time slice 2, at time interval 2:
    Process P1 completed it's time slice and
    Process P2 arrived.
    So during the next time slice first P2 should be executed and then P1 should be executed right ? Why is P1 executed during the next time slice?

    • @RahulMadhavan
      @RahulMadhavan 6 лет назад +2

      you are right that it is unclear. I think we assume P2 arrives at time 2+, ie the kernel doesn't see it when it is executing its interrupt.

    • @jamespottex5197
      @jamespottex5197 4 года назад

      It might be a mistake

  • @shomedeepmondal6533
    @shomedeepmondal6533 5 лет назад

    At 21:10 p3 waiting time should be 3, and the average waiting time will be 2.75. But all right, well explained, thanks!

    • @SG-kn2jl
      @SG-kn2jl 4 года назад +1

      No u r wrong...it will be 4, as 8-4 is 4 coz p1 ended at 7 then p4 came and it ended at 8 ...so 8-4=4

  • @imgarvish
    @imgarvish 6 месяцев назад

    the context switches in this (35:33) example should be 5? what am i doing wrong?

  • @abhinandanmaity3224
    @abhinandanmaity3224 Год назад

    32:43 context switch should be 6 as it changes total of 6

    • @imgarvish
      @imgarvish 6 месяцев назад

      yes that is what i was thinking as well.

    • @Neoshiva
      @Neoshiva 3 месяца назад

      hmm right..