Multilevel Queue Scheduling Algorithm with Example | CPU Scheduling Algorithms in Operating Systems

แชร์
ฝัง
  • เผยแพร่เมื่อ 12 ธ.ค. 2024

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

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

    Hey Guys, if you want more such tech educational videos on this channel then please support me by subscribing to this channel & also share it with your friends as it helps me create more content just for you ✌

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

      Pro tip: watch series on flixzone. Been using it for watching loads of movies during the lockdown.

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

      @Matthias Nickolas Definitely, I've been watching on flixzone for years myself :D

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

      @Matthias Nickolas Definitely, I've been using Flixzone for since november myself :D

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

    WOW my guy I come from as far as Zimbabwe, but your explanations have no distance issues. Your videos have been helping me a lot. Thanks a lotTanmay

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

    you have no idea how much i needed this , thank you so much

  • @Adam-gp3ij
    @Adam-gp3ij 4 ปีที่แล้ว +4

    #10:40 Why my friend!!!!!!
    Why you decided to take 3 MS for P3? Based on FCFS is nonpreeamptive, so it should run the entire process!! Even though if you still following RR -> you should take only 2 MS! That is weird

    • @Adam-gp3ij
      @Adam-gp3ij 4 ปีที่แล้ว +2

      Oh I think I got it, because p4 arrives at that time, the CPU jumps to run that process! I see. You would have mentioned that clearly my friend! But All good! I appreciate the efforts to make this video! It helped a lot!

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

    Thank you sir, really GREAT explanation keep going✨✨

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

    i am having a hard time with this lesson thank you so much this is a huge help

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

    This was very much helpful. God bless you ! You probably have to post more.

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

    At 11:12 why p3 does not complete 8 sec as it is FCFS (non preemptive)?

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +4

      Good question Abhay. Agreed that P3 is having FCFS but P3 was in a lower priority queue. Since this is a multi-level queue, the queue no 1 has higher priority. So as soon as CPU sees that there is a process (P4) coming in queue 1, even though it is processing P3 in FCFS it stops that and takes P4 on because P4 comes from a higher priority queue compared to P3.
      In Multi-level queue scheduling, priority set on the queues is taken first compared to what scheduling algorithm is used in the individual queues.
      Hope this solves your doubts 😇✌

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

      Got it! Thank you for resolving my doubt. Btw, you teach very well. Best of luck :)

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว +1

      Thank you so much Abhay😇 really happy to hear this from you. Do share the videos with your friends too. That'll be the best help 😇✌️

  • @user-sx1hu7km6z
    @user-sx1hu7km6z 4 ปีที่แล้ว +2

    Awesome explanation sir.........

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Thanks bro 🤟 glad you liked it 😊

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

    why p3 done for 3 seconds ? there is roundrobin value for 2 seconds?

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

      Because p3 is in queue 2 which doesn't follow round robin ,it follows fcfs

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

    Very nice explanation....!!!! great work bro

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

      Most welcome my friend 😊✌️ I would request you to please share the video with your friends too ✌️

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

    Thank you for explaining the concept so clearly...this was a huge help while preparing for my midterms.

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you so much Anvita. Do share it with your friends too 🙏😇 that'll be huge help

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

    In one go ..... understood😍😍😍

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

    Correction: TAT=CT-AT

    • @jestia8396
      @jestia8396 3 วันที่ผ่านมา

      I'm being confused abt this too😅

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

    Really cool explanation keep going✨✨

  • @ccelikanil
    @ccelikanil 4 ปีที่แล้ว +1

    Great explanation, thanks dude!

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว +1

      Glad you liked it! Please support me by sharing the videos and our channel with your friends too. Thats the biggest help and support you can provide 😇

    • @ccelikanil
      @ccelikanil 4 ปีที่แล้ว

      @@SimpleSnippets i already did :))

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

    but bro as u mentioned that Q2 uses FCFS scheduling algo then how it will stop the processing and switch to high priority process
    could you explain it??

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

    Can you please post a video about multilevel feed back queue scheduling algorithm

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Sure. Here is the full playlist of Scheduling algorithms. your topic is covered in this playlist :-)
      Link - th-cam.com/video/AiVKIdGheEU/w-d-xo.html
      If you liked the videos please do share the videos with your friends too. Thank you 😇

  • @Adam-gp3ij
    @Adam-gp3ij 4 ปีที่แล้ว

    My friend have another question, in our OS course they are using response time, is it the same as waiting time, I don't see any difference!

  • @aeshapatel7363
    @aeshapatel7363 4 ปีที่แล้ว

    Multilevel queue scheduling algorithm is preemptive or non-preemptive ?

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

    Very very good. Blessings!

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Thank you so much 😁 please do share the videos with your friends too✌

  • @Mustafa-ji3cp
    @Mustafa-ji3cp 4 ปีที่แล้ว +1

    thankuuuuuuuuuuuuuuuuuuuuuuuuu sooooooooooooo muuuuuuuuccccccccccccccchhhhhhhhhhhhhhhhhhh sir

    • @SimpleSnippets
      @SimpleSnippets  4 ปีที่แล้ว

      Most welcome buddy, please do share the videos with your friends too & I hope you have subscribed. Thats the biggest help and support you can provide ✌

  • @mangamanapuram8582
    @mangamanapuram8582 5 ปีที่แล้ว

    Why p3 is executed for 3secs firstly?

  • @bharatchandra2512
    @bharatchandra2512 5 ปีที่แล้ว

    Why P3 process is executed for 3 seconds when it came to the queue for first time?why not Directly for 8 seconds?

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

      At 10th second, process P4 has arrived in higher priority queue 1, so it has to be executed first.

  • @lavanyajalanila9062
    @lavanyajalanila9062 6 ปีที่แล้ว +1

    Bro tq so much for this video

    • @SimpleSnippets
      @SimpleSnippets  6 ปีที่แล้ว

      Thank you so much lavanya 😇
      Happy to hear your feedback. I would request you to share the videos with your friends too 😇🙏

  • @anniekushi6336
    @anniekushi6336 5 ปีที่แล้ว

    Y p3 takes 3ms can't we take 5ms instead of 3ms

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

    You videos awesome plz explain fcfs preemptive also

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      As far as I know normally there is no preemptive FCFS. Although there can be some custom implementations but will have to check up on this. If you have any links or details do share it here so that I can check up and probably make a video too 👍

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

      @@SimpleSnippets thank you

    • @SimpleSnippets
      @SimpleSnippets  5 ปีที่แล้ว

      Most welcome 😊

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

    who else here adjust their play back speed to 0.75.lol

  • @orhanvelitoprak2784
    @orhanvelitoprak2784 6 ปีที่แล้ว

    TAT might be CT-AT ?

  • @sathiyavathymurugan7674
    @sathiyavathymurugan7674 4 ปีที่แล้ว

    7 to 10(5) why