CPU Scheduling: SRRN and Priority Based Algorithms | L 8 | Operating System | GATE 2022

แชร์
ฝัง
  • เผยแพร่เมื่อ 5 ต.ค. 2024
  • The Great Learning Festival is here!
    Get an Unacademy Subscription of 7 Days for FREE!
    Enroll Now - unacademy.com/...
    .. Click for free access to Educator's best classes: : www.unacademy....
    For regular updates follow : unacademy.com/...
    To purchase please click : unacademy.onel...

ความคิดเห็น • 42

  • @UnacademyComputerScience
    @UnacademyComputerScience  ปีที่แล้ว +2

    GATE Unlock25 Offer
    Get flat 25% & FREE Extension
    Join the new Foundation batches for GATE, ESE*, & PSUs 2024
    ➤ Subscribe today: unacademy.com/goal/gate-cs-it/NVLIA/subscribe?referral_code=VDEEP10

  • @umang1226
    @umang1226 3 ปีที่แล้ว +29

    You are the best teacher ❤️❣️❣️ ..

  • @AmirKhan-jl1ge
    @AmirKhan-jl1ge 3 ปีที่แล้ว +17

    Really enjoying your sessons sir, i can say that you are a magician who is converting difficult topics into easy ones & which is helping me to build the concepts.

  • @akshaykushwaha7003
    @akshaykushwaha7003 3 ปีที่แล้ว +29

    Start 8:20

  • @archismanghosh7283
    @archismanghosh7283 ปีที่แล้ว +5

    8/5 = 1.6 hota hai sir, sayad galti se 1.3 likh dia hai apne, u r really a excellent teacher, every conceptions are getting clear so easily

  • @vaibhavmetange6875
    @vaibhavmetange6875 3 ปีที่แล้ว +24

    Homework Question
    Using preemptive :
    Avg TAT=13.5
    Avg WT= 9
    Using Non preemptive:
    Avg TAT= 14.16
    Avg WT= 9.66

    • @nayna28doifode13
      @nayna28doifode13 2 ปีที่แล้ว

      I got 13 and 8.5 @vaibhav metange

    • @pd5873
      @pd5873 2 ปีที่แล้ว

      @@nayna28doifode13 cross-check ur calculation

  • @PENJENDRUVARUN-uy2ov
    @PENJENDRUVARUN-uy2ov 2 หลายเดือนก่อน +1

    00:55 Discussing CPU Scheduling algorithms
    07:05 SJF (Shortest Job First) algorithm prioritizes shorter burst time
    15:02 The highest response ratio process is executed first.
    22:28 The main algorithm used is Shortest Job First (SJF) to schedule processes.
    29:58 Priority based scheduling allows the operating system to decide the priority of each process.
    36:31 Preemptive Scheduling
    45:09 Preemptive priority scheduling algorithm.
    52:13 Non-preemptive priority-based scheduling suffers from starvation
    1:01:34 Tomorrow's quiz on operating system and tree data structure

  • @aaryanapte
    @aaryanapte ปีที่แล้ว +2

    You really help us understand these concepts well... Hats off to your efforts!

  • @nirajbava799
    @nirajbava799 ปีที่แล้ว

    Sir I really enjoy your lecture I'm diploma in computer engineering student from Maharashtra. Your teaching style is very interesting. Thanks you for creating those lectures they are also help me to prepare for my semester exams. One's again thanks you sir.

  • @jiwnaniakshay8774
    @jiwnaniakshay8774 3 ปีที่แล้ว +12

    Answer of hw question:
    From Preemptive:-
    Avg TAT= 13.5
    Avg WT= 9
    Using non preeemptive:-
    Avg TAT= 14.16
    Avg WT= 9.66

    • @Kris_misra
      @Kris_misra 2 ปีที่แล้ว +2

      Bro I also got this.

    • @Aryan-st7ze
      @Aryan-st7ze ปีที่แล้ว +1

      For preemptive its avg tat=12
      Avg wt=7.5
      Right??

    • @alucard8678
      @alucard8678 หลายเดือนก่อน

      I am getting 13 as Avg TAT for Preemptive and 9 as Avg WT. Never mind, it is 13.5, just made a minor addition mistake.

  • @soumyadeepbarik5711
    @soumyadeepbarik5711 2 ปีที่แล้ว +1

    Sir P-3 arrives on time quantum 3not 2 so in 2to 3 TRANSITION there be P-2 instead of P-3.

  • @NisargaPilar
    @NisargaPilar หลายเดือนก่อน

    awesome vedio!

  • @RandomMan271
    @RandomMan271 7 หลายเดือนก่อน +1

    lecture start at 8:21

  • @sandeepshah4701
    @sandeepshah4701 3 ปีที่แล้ว +1

    Sir such a great lecture thank you so much for this lecture❤

  • @muskansharma4991
    @muskansharma4991 2 ปีที่แล้ว +2

    Thanks 😊

  • @ramkumarramkumar-du5il
    @ramkumarramkumar-du5il 2 ปีที่แล้ว +1

    superb🙂

  • @Kris_misra
    @Kris_misra 2 ปีที่แล้ว +1

    Sir why we need to use priority based scheduling? Do HRRN scheduling also have limitations?

    • @nikhilmahato7606
      @nikhilmahato7606 หลายเดือนก่อน

      Limitation is prediction of burst time, sir mentioned. Now you might get confusion like Priority algo also taking BT (in question). Actually it is just assumption, but selection of process doesn't depend of BT it only depends on priority. (( I know the person asked this question might got this answer long back, but may help someone else))

  • @h6_wingers
    @h6_wingers ปีที่แล้ว

    thank you very much sir, really really helpful

  • @suhaniverma27
    @suhaniverma27 ปีที่แล้ว

    Sir, how many processes are the in ready queue .How can we know?

  • @soumyadeepbarik5711
    @soumyadeepbarik5711 หลายเดือนก่อน

    38:50-39:01 sirji ice-cream meetha hi hota hai.

  • @sumitrajsingh938
    @sumitrajsingh938 3 ปีที่แล้ว +3

    Sir why you consider Arrival time during SJF ganttt chart ,

    • @neha_coding5563
      @neha_coding5563 3 ปีที่แล้ว +5

      If a process is not arrived ,how will the CPU schedule?? for eg., if P1 arrives at t=0,then only this can be scheduled as no other process is available at that moment. Moreover,when another processes arrive during execution of P1,then we can go for different scheduling algorithms.

    • @sumitrajsingh938
      @sumitrajsingh938 3 ปีที่แล้ว +1

      @@neha_coding5563 thnks for clearing my doubt

  • @kamalkant4025
    @kamalkant4025 2 ปีที่แล้ว +3

    8:20

  • @itsmytechnology9285
    @itsmytechnology9285 2 ปีที่แล้ว

    Thanks sir ❤ ❤ ❤

  • @RohitRaj-t4c5v
    @RohitRaj-t4c5v ปีที่แล้ว

    26:30 ab jake samajh me aaye muje😅😅😅😅

  • @mdghufranalam7369
    @mdghufranalam7369 2 ปีที่แล้ว +1

    ❤️❤️🙏🙏

  • @arjunchaurasiya6709
    @arjunchaurasiya6709 ปีที่แล้ว

    Thank u sir..................

  • @prasoontiwari2937
    @prasoontiwari2937 3 ปีที่แล้ว

    yaar komedi kam kara karo bas baaki accha padhate ho aap sir kamedi king n abana karo bas

    • @Kris_misra
      @Kris_misra 2 ปีที่แล้ว +12

      Thora sa comedy kerne se mujhe nehi lagta ki kisika kuch problem hota he. Or agar tum seriouse sa face banake parhoge to stress jyada hoga or kuch kuch bhulte rhoge

  • @historylovers7663
    @historylovers7663 2 ปีที่แล้ว +1

    8:22

  • @vishalsharma8194
    @vishalsharma8194 ปีที่แล้ว

    Start 8:20