Dynamic Page Replacement: Working Set Example

Поділитися
Вставка
  • Опубліковано 16 вер 2024

КОМЕНТАРІ • 21

  • @jhoepatrick7872
    @jhoepatrick7872 Рік тому +27

    For column 7 there should be 2 frames { 0, 3} with 0 at the top. For column 15 there should be 2 frames { 2, 1} with 2 at the top. He's my professor and he updated these slides with the correct anwers, but haven't uploaded the updated video yet.

  • @Cccoast
    @Cccoast 6 місяців тому +1

    This is the best example of a memory management algorithm on the internet. Thank you.

  • @sree0801
    @sree0801 3 роки тому +1

    Saved my time. Thank you so much.🤗

  • @wnualplaud2132
    @wnualplaud2132 3 роки тому +12

    I have a question at the column 7. Since the working set is {0, 3}, why does the array still keep 0, 3, 2?
    2 should be discarded?

    • @agf_1984
      @agf_1984 3 роки тому +1

      same question here

    • @C0reDefender
      @C0reDefender 3 роки тому

      the page being requested (which in this case is 0) is already present in the array and thus no other page needs to be replaced to make space for it. No page fault occurs as it's a hit.

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

      Yes, i think you are right, as i could see, basically you just take the last three (and if the page repeats, just add it one time). So in that case (from left to right) you have 0 - 3 - 0, and the set will be {0,3}

    • @JoseAguirre-ri8tg
      @JoseAguirre-ri8tg 2 роки тому +1

      I'm positive the array should be 0 3 as well since the working set was 0 - 3 - 0, like he did in column 10 where he had 4 - 2 - 2 as a working set. It's kind of a contradiction.

  • @nida1198
    @nida1198 4 роки тому +2

    Thank you so much... this was very helpful.

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

    Thank you sir this is clear and concise.

  • @ismail8973
    @ismail8973 3 роки тому

    Thanks sir saved my time for my semester exam

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

    Very helpful, thank you!

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

    Thank you!

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

    Thanks from BUET

  • @sakunthalanagarathinam
    @sakunthalanagarathinam Рік тому

    thanks sir super

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

    thanks

  • @elrey5671
    @elrey5671 3 місяці тому +1