OS | Process Management | Pre-emptive priority scheduling | Ravindrababau Ravula | Free GATE CS

แชร์
ฝัง
  • เผยแพร่เมื่อ 29 ม.ค. 2025

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

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

    your lectures is helping me since the beginning of my university life. I have to confess that i have learnt more from your lectures than my class lectures, reading books and other sources.

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

    Thanks a lot sir,With your lectures on this topics ,I understood all the concepts and yesterday I wrote my mid exam of operating systems very well ,just because of you.You are teaching very well compared to my faculty ,I just got impressed by listening your lectures.Once Again thanks a lot Sir..

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

    I got the same question in my exam with same data.... Thanxx alot😂 🙏

  • @abhishekj5325
    @abhishekj5325 10 ปีที่แล้ว +1

    Great video !! All your lectures are concise and informative .. Thank you .

  • @Singhchandan221
    @Singhchandan221 9 ปีที่แล้ว +40

    In case of priority, lower the number higher the priority.....
    for example.
    1 has higher priority than 2,3,4....n .

    • @farisyaseen6925
      @farisyaseen6925 9 ปีที่แล้ว +17

      +Chandan Singh it depend on questions , in this case he assumed that the higher number is the higher priority , its okey

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

    Best ever teaching...great work😊

  • @farisyaseen6925
    @farisyaseen6925 9 ปีที่แล้ว +1

    you just forgeted to mention in your case you assumed that the higher number is the higher priority , well done its very clear

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

    In case of priority lower the priority number gets the higher priority like priority 1 is higher than 2,3,4

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

    For those who are having troubles with priority and priority number relationship, it depends entirely on the OS and doesn't follow any general rule, even if u design an OS someday you would have freedom to choose b/w either of paradigms.

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

    what if priority is not mentioned?

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

    Came to watch educational video but amazon prime disturbed me and now i came after 4 hours and this is bcz of youtube senseless ads it has no sense it should provide educational ads

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

    Gud explanation... tnq for all the videos

  • @ChrisSA0001
    @ChrisSA0001 9 ปีที่แล้ว +6

    The lower the priority number the HIGHER the priority, according to my textbook. Process 1 with priority "2", has a higher priority than Process 2 with priority number "4". Your algorithm explanation is correct though.

    • @flujible
      @flujible 9 ปีที่แล้ว

      Chris Botha This is true for my CS course as well, lower priority number means higher priority

  • @unlimitedentertainment4244
    @unlimitedentertainment4244 8 ปีที่แล้ว +1

    as the waiting time is the time when a process is in ready queue so for p2 the time in which it is in ready queue is (21-2)+(1-0)=20 then why it is 19???

  • @NITISHKUMAR-nx9mk
    @NITISHKUMAR-nx9mk 8 ปีที่แล้ว +3

    sir preemptive priority scheduling method is very good for understanding , so much thankyou for this.
    please also give tutorial for sjf preemptive scheduling algorithm .

    • @vyommaitreya
      @vyommaitreya 8 ปีที่แล้ว +1

      SJF is non pre-emptive. I think you meant SRTF.

  • @carterwayne4032
    @carterwayne4032 9 ปีที่แล้ว +1

    I think the process which arrive first is to be executed irrespective of priorities... ??

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

    sir your explanation is very good i have challenge that when we have a equal priority do we follow arrival time

  • @rockeraddy
    @rockeraddy 8 ปีที่แล้ว +1

    Will there will be a difference in answer if the question is NOT given in ascending order of Arrival time. Can we make it ascending ?

  • @masjediaqtash704
    @masjediaqtash704 8 ปีที่แล้ว

    The only difference between preemption and nonpremption is that. In preemption after processing the the process with 0th arrival time then we go to next with higher priority before the previous one is finished and continue it till all the processes come into the queue.
    Then we finish the whole process according to the queue.
    In non_preemption after executing the the process with arrival time 0 we go with higher priority and finish each one of the processes. Means don't stop the process until it's executed fully.

  • @iamsuryakrishnan
    @iamsuryakrishnan 7 ปีที่แล้ว

    your explanation is awesome

  • @Xposedofficials
    @Xposedofficials 7 ปีที่แล้ว

    If priority is not given in the question what ll be the first
    Lower number or higher number priority

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

    if a priority can be represented using 10 bits and the priority of a waiting process gradually increases by 1 every 1 minute, then what would be the maximum waiting time of the lowest priority process? what will happen in this scenario ??

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

    In Gantt chart, wasn't the completion time of P4 supposed to be 3+5 that is 8 (as 5 is the BT initially) ?

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

    What if 2 process’s have the same priority and have already arrived, should we then take account of their arrival time?

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

    what if arrival time for p3 would be 4, p4 = 5 and so on..then what would the cpu be after cpmpletion of p1 and p2..would it remain idle or performs the previous left out process until higher priority process arrives?

  • @mohitbv2331
    @mohitbv2331 7 ปีที่แล้ว +1

    hello Ravindrababu, thank you for the explanation. I have a question, whatever is the priority for the first task, we need to execute the first task and then, depending on the arrival time and the priority the other tasks gets executed. Is this right?

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

    oh, he said "this rough work"! When I first listened I thought he said, "this...Fuck!".

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

    great sir .....

  • @techshow-dwitiya3457
    @techshow-dwitiya3457 6 ปีที่แล้ว

    What will be the execution order if process P6 have burst time 1?

  • @anuragsanu5532
    @anuragsanu5532 8 ปีที่แล้ว +1

    hi what happens if we encounter the process with same priority waiting in ready queue
    for example if process with priority 1 is running and again process with same priority is waiting ready queue , please explain this situation

  • @dulamshiva5340
    @dulamshiva5340 8 ปีที่แล้ว +1

    sir do we have a chance of having arrival time which is not having a equal intervals like Eg:- 0,1,5,9,10,12,16 if this is the case how much execution time we have to consider while we are writing gantt chart. please help me out

  • @dulamshiva5340
    @dulamshiva5340 8 ปีที่แล้ว +1

    sir do we have a chance of having arrival time which is not having a equal intervals like Eg:- 0,1,5,9,10,12,16

  • @SasiKumar-wj9df
    @SasiKumar-wj9df 5 ปีที่แล้ว

    sir,you teach so good

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

    how to compute if the arrival time for all the processes is o

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

    Sir osm teaching...!

  • @shritejkashid4631
    @shritejkashid4631 7 ปีที่แล้ว

    sorry sir if i am wrong what I studied is lower the priority number higher the priority,
    see na when we give rank to anyone who is topper or higher we give him 1 and who is lower we give him higher rank eg 65,66 etc

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

    What if two processes have the same priority , then which one should be executed first ?

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

      i think you should check the arrival time then...

  • @LoLsquadxD
    @LoLsquadxD 9 ปีที่แล้ว +8

    your videos are great but the sound quality is a bit average sir. I would and I think some would really appreciate it more if the sound quality is more better sir thank you.

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

    well explained sir....

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

    Priority Scheduling is a non-preemtive scheduling algorithm.

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

    Where is the preemptive sjf ?

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

    How to solve preemptive priority example if priority is not given.

  • @pendyalaveeravenkataramyas4292
    @pendyalaveeravenkataramyas4292 8 ปีที่แล้ว

    it was really good explanation

  • @0100-w1s
    @0100-w1s 7 ปีที่แล้ว +12

    ugggh i cant comprehend him.

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

    Kuch dikh hi nhi rha english hindi conversation cover all blackboard

  • @disinlungkamei2869
    @disinlungkamei2869 7 ปีที่แล้ว

    thanks bro you have clearify my doubt

  • @sagarrijhwani3485
    @sagarrijhwani3485 8 ปีที่แล้ว

    What if the priority of 2 processes is same what should we do then??? Which one to choose

    • @anmol441
      @anmol441 7 ปีที่แล้ว

      Sagar Rijhwani arival time. which process arrived frist it would be executed first

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

    What if arrival time for all is zero sir plz answer I have exams on Monday n I m bit confuse !

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

    You look like Sunil Shetty! :D
    Btw Awesome video! :)

  • @Sarlahi123455
    @Sarlahi123455 7 ปีที่แล้ว

    Ravindrababu Ravula sir ,i have one question is there any difference between waiting time and average waiting time;.plz reply

  • @abusalehridoy6679
    @abusalehridoy6679 7 ปีที่แล้ว

    Can "Arrival Time" be fraction?

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

    mistake in waiting time calculation

  • @rakeshrakhee8549
    @rakeshrakhee8549 7 ปีที่แล้ว

    Keep rocking brother

  • @Neon_-xo4gn
    @Neon_-xo4gn 7 ปีที่แล้ว

    please give ans quikly becuase today wrote pepae i did the same method but other did another but ans got different

  • @shivankgoel3802
    @shivankgoel3802 7 ปีที่แล้ว

    Sir on what basis you assigned priority to each process???

  • @charitraahire3435
    @charitraahire3435 8 ปีที่แล้ว

    Do u have all the lectures available for all subjects of computer engineering gate syllabus

  • @kalivarapusaiprasanth5171
    @kalivarapusaiprasanth5171 9 ปีที่แล้ว +1

    sir super .....

  • @SohamBasu10
    @SohamBasu10 10 ปีที่แล้ว +8

    Isn't lower the number higher the priority?? Please explain; Thank you

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

      Soham Basu My CS course says lower priority number means higher priority level

    • @gomathi5129
      @gomathi5129 8 ปีที่แล้ว +1

      Soham Basu it depends. as he told already, some times they mention lower the number higher the priority and some times they mention higher the number higher the priority

  • @Neon_-xo4gn
    @Neon_-xo4gn 7 ปีที่แล้ว

    waiting time ka formula wt=TAT- burst time right hai kya non preemtive case mai

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

    It was very tough.I couldn't understand the explanation

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

    Very helpful

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

    Thanks sir
    Thanks god

  • @poovizhi_karthik
    @poovizhi_karthik 8 ปีที่แล้ว +1

    sir,preemptive is good .

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

    Tnq U sir..

  • @hvabeizawzi8354
    @hvabeizawzi8354 7 ปีที่แล้ว

    is this a tutorial?????. how will we understand.....
    but good to see trying....

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

    isnt this wrong lower the value higher the priority it has to be

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

    Thank you so much sir🙏

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

    I watched all of your videos.But after this I am not sure

  • @rizwansworld
    @rizwansworld 8 ปีที่แล้ว

    Thank you so much sir!

  • @akshatjoshi1542
    @akshatjoshi1542 7 ปีที่แล้ว

    i luv u sir!!!

  • @MMM-kh5xh
    @MMM-kh5xh 8 ปีที่แล้ว +1

    awesome

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

    Didn't get you ...

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

    Ravindrababu Ravula

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

    Smallest integers have the highest priority..This is incorrect

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

      He said it is mentioned in the Question.

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

    it's true?????? why others youtuber no same as you

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

    yoyo

  • @juneshkumari3516
    @juneshkumari3516 7 ปีที่แล้ว

    sir u have only test practice serious

  • @simomohamedba9071
    @simomohamedba9071 9 ปีที่แล้ว +12

    i'dont understant

    • @ABBC-fg7ch
      @ABBC-fg7ch 8 ปีที่แล้ว +1

      simo mohamed Ba keep try

  • @devencifystore
    @devencifystore 7 ปีที่แล้ว

    nice

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

    your acent is strong hard to understand

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

    Hey man, the highest priority there is 2 not 12. Please review your video again

  • @kavyashetty4765
    @kavyashetty4765 8 ปีที่แล้ว

    tysm sir

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

    My savior ! Thank you sir _/\_

  • @የእናቱልጅ-ለ3ኰ
    @የእናቱልጅ-ለ3ኰ 4 ปีที่แล้ว

    wrong job

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

    Slow down the explanation. You are moving too fast.

  • @benjamingondo264
    @benjamingondo264 8 ปีที่แล้ว

    you moving too fast man........

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

    Oh too much accent

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

    What if 2 process’s have the same priority and have already arrived, should we then take account of their arrival time?