Clock Page Replacement

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

КОМЕНТАРІ • 25

  • @zsigmondforianszabo4698
    @zsigmondforianszabo4698 13 днів тому

    suuuuper entertaining teacher and she says is clear as glass. Nice example also! Saved me a day before exam haha

  • @xinyanlyu6966
    @xinyanlyu6966 Місяць тому +1

    Very helpful video, now I fully understand how clock algorithm works!

  • @halbgefressen9768
    @halbgefressen9768 3 роки тому +11

    Thank you for this straight and concise explanation!

  • @organintrooper1428
    @organintrooper1428 7 місяців тому +1

    Very brief and on to the point. Congratulations!

  • @frankqin1633
    @frankqin1633 3 роки тому +3

    The powerpoint demonstration is so explicit, thx!!!

  • @stickmanjournal
    @stickmanjournal 10 місяців тому +1

    Great explanation! the demonstration was really helpful. Thanks for sharing the knowledge :)

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

    Excellent Video and explanation . Thank you for uploading such a wonderful lecture

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

    great lecture presentation; thanks much

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

    Thank you for this explanation. Clear and understandable.

  • @JoseAguirre-ri8tg
    @JoseAguirre-ri8tg 3 роки тому

    Amazing. It really cleared out all of my doubts.
    Thank you very much

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

    Excellent presentation. Thank you ma'am

  • @camilo.antonio
    @camilo.antonio Рік тому

    Thank you so much for the explaination, it was very clear.

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

    Excellent explanation

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

    2mins starting at 5:20 and everything is clearly explained!

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

    Precise and understandable explanation, thank you!

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

    Great. After watching several videos and reading several papers about page replacement algorithms, this is first touching the problem how pages are marked as accessed in CPU and stating that real world implementations are approximations. No one mentioned how horrible idea is to maintain true LRU in multithreaded environment (not in OS, but application that processes data than can easily exceed memory capacity)
    However video does not mention how often to run the clock and if to run them through the whole circle (very often, when memory is nearly full, once per second, at adaptive rate....)
    I guess that real OSes has/had this mechanism for active pages and data are going to inactive FIFO before going to swap file or being freed and it uses some combination of this and 2Q.
    I see problem with this algorithm itself - when there is either very little activity or all the activity is performed over small amount of pages (e.g. computations), nearly whole memory is marked as inactive very soon and information if page was used 2 seconds ago or 30 minutes ago is lost.

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

    Thank you, for this most wonderful clarification.

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

    Phenomenal explanation!

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

    Great explanation! Thank you!

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

    Great explanation, thanks

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

    amazing explanation

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

    Excellent video! So I guess the guarantee of clock algorithm is merely that the evicted hasn't been accessed since the last eviction. The time interval between the last and current eviction is the minimal guarantee. For the same reason, it is not an exact approximation. Empirically one may extend the time length of the guarantee by replacing "the time interval between the last and current eviction" by "the time interval between the n-th back eviction and the current eviction". Finally, one caveat is that there is always going to be a page that is going to be evicted, since if there is no page that hasn't be used between the last and current (impending) eviction, then the clock algorithm manually creates a new eviction cycle so that there in the most newly created eviction cycle, there exists a page that has used bit = 0 (in fact, all of the pages).

  • @ggam-nyang
    @ggam-nyang 3 роки тому

    Thank you :) You've been a great help.

  • @alireza1189
    @alireza1189 6 місяців тому

    Thanks

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

    Do you have any code we can look at?