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

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

КОМЕНТАРІ • 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

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

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

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

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

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

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

    Thank you sir, really GREAT explanation keep going✨✨

  • @SifwaRafi
    @SifwaRafi 5 місяців тому

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

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

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

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

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

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

  • @vishnusasankkambham4217
    @vishnusasankkambham4217 4 роки тому +5

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

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

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

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

    Really cool explanation keep going✨✨

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

    Correction: TAT=CT-AT

    • @jestia8396
      @jestia8396 29 днів тому

      I'm being confused abt this too😅

  • @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 - ua-cam.com/video/AiVKIdGheEU/v-deo.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✌

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

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

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

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

    Why p3 is executed for 3secs firstly?

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

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

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

    You videos awesome plz explain fcfs preemptive also

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

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

      @@SimpleSnippets thank you

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

      Most welcome 😊

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

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

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

    TAT might be CT-AT ?

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

    7 to 10(5) why