Least Recently Used (LRU) Explanation

Поделиться
HTML-код
  • Опубликовано: 28 дек 2024

Комментарии • 257

  • @VictorChrispinSamson
    @VictorChrispinSamson 6 лет назад +9

    I recommend this video to anyone who for the first time, is trying to learn about REPLACEMENT ALGORITHM - FIFO. It's the most simplest video ever here on RUclips, than any other video that i came across. Thank you #TechAcademy

  • @fajar13k
    @fajar13k 6 лет назад

    Best explanation i've find in RUclips.
    Thank you so much

    • @ahmetsamiyeniceri
      @ahmetsamiyeniceri 6 лет назад

      Is the order of the values ​​we write on the columns important? Because we did it in different way for each one. I'm asking to you cuz you're saying that you understood this well

  • @mainakghosh906
    @mainakghosh906 9 лет назад

    most conceptual ...and here in this video the red arrow clear all the confusion about LRU.
    thank you.

  • @stevendong8506
    @stevendong8506 5 лет назад +2

    i saw a lot of videos and yours are the best one, amazing explanation!

  • @syedsyafi942
    @syedsyafi942 2 года назад

    YES, I LOVE UR EXPLANATION, I LOVE IT SO MUCHH!!!!! THANKK YOUUU

  • @varundhawan9899
    @varundhawan9899 7 лет назад

    i can understand clearly .way you teaching is good than my teacher. thank u

  • @KikiKarypidou
    @KikiKarypidou 9 лет назад +18

    The Best Explanation.Really helpful, thanks a lot.

  • @stanleybane5483
    @stanleybane5483 5 лет назад +17

    Madam u saved my semester 💪😁

    • @Randomvideos-qx2vp
      @Randomvideos-qx2vp 6 месяцев назад

      Engineering must be completed how does it feel

    • @Leongreenkiprotich
      @Leongreenkiprotich 4 месяца назад +1

      ​@@Randomvideos-qx2vpand we are just getting started 😅

  • @srinidhibhat3955
    @srinidhibhat3955 7 лет назад

    Real clear and simple explanation ... thnq for the video

  • @Kazatsuyo13
    @Kazatsuyo13 7 лет назад +1

    Thank you so very much. You are far more clearer than my instructor.

  • @ritvikpalvankar1903
    @ritvikpalvankar1903 7 лет назад +1

    Awesome explanation.This helped me in my semester 6 Computer Organization.Thank you very much

  • @pavan369
    @pavan369 9 лет назад

    Hi , I got the answer for the previous doubt of LRU Algorithm. your page link of FIFO page replacement helped me. Thanks a lot.

  • @acfromspace
    @acfromspace 6 лет назад +3

    Great explanation, the highlighting of the numbers and examining page faults were super helpful.

  • @strangerkarname87
    @strangerkarname87 Год назад

    Thanks mam ❤ now I am fully understand this page replacement algo .

  • @brettnieman3453
    @brettnieman3453 7 лет назад

    Best LRU video I've found. Thanks so much!

  • @madhoshyagnik3679
    @madhoshyagnik3679 4 года назад

    Thanks for providing us with a clear understanding, my brain was almost about to explode.

  • @abhirajbais5093
    @abhirajbais5093 7 лет назад

    it was great.understood 3 concepts in just one small video

  • @shivanisarode6500
    @shivanisarode6500 3 года назад

    It clears my confusion 💯💯 best one

  • @jisajohn5251
    @jisajohn5251 6 лет назад

    i read text book.i didnot get the logic .but i see this video it is very helpful to me to learn the concept of LRU.thanku so much

  • @凝雪〆幻憶
    @凝雪〆幻憶 7 месяцев назад

    SO CLEAR EXPLANATION THANKYOU

  • @rera121989
    @rera121989 4 года назад

    Explained with such simplicity. Great job

  • @syedalinemath917
    @syedalinemath917 6 лет назад +3

    Loved it ! Brilliant explanation . You made me understand perfectly :)

  • @TechSchool24
    @TechSchool24 7 лет назад +4

    tnx i like this tutorial . u make me understand perfectly in LRU page replacement algorithm .

    • @TechAcademy8
      @TechAcademy8  7 лет назад +1

      You are welcome :-)

    • @TechSchool24
      @TechSchool24 7 лет назад

      can u send me the LRU page replacement java codr which shows chart to .. mean output diagram ..?

  • @SoumilShah
    @SoumilShah 8 лет назад

    I have my co paper tomorrow and I cleared my concept seeing ur videos
    Thanks

  • @HafizAmeerHamza
    @HafizAmeerHamza 7 лет назад

    Nicely explained. I understand the actual concept of LRU after watching your video. :)

  • @njoy2075
    @njoy2075 4 года назад

    crisp and clear thank you

  • @harshtiwari7593
    @harshtiwari7593 8 лет назад +2

    Really helpful. Amazing explanation. Last minute life saver. Thank you very much.

  • @richluxurylifestylevideos
    @richluxurylifestylevideos 8 лет назад +1

    Last minute life saver, thank you so much

  • @paanka
    @paanka 5 лет назад

    the best best best best best best best best best best best best explaination

  • @stopplanet184
    @stopplanet184 6 лет назад

    The reverse Arrow Mark is helpful to understand thank you very much

  • @rutulshah9235
    @rutulshah9235 5 лет назад

    LOVED IT.. U EXPLAINED IN BEST WAY

  • @simran2602
    @simran2602 5 лет назад +1

    Really helpful video.....
    Thanks a lot mam

  • @adityapawar7264
    @adityapawar7264 8 лет назад

    very nice explanation,very useful

  • @SecretswithJA
    @SecretswithJA Год назад

    Bestest explanation ❤

  • @HawkeXXVII
    @HawkeXXVII 6 лет назад

    clearest explanation out there! good work! thanks btw~

  • @vivekwarjurkar6452
    @vivekwarjurkar6452 6 лет назад

    thank you maam .... It helped me a lot ...Thank u soo much♥️

  • @omarsami115
    @omarsami115 3 года назад

    awesome explanation thank you so much

  • @raghavsharma3211
    @raghavsharma3211 8 лет назад

    that was very descriptive and well spoken...thanks

  • @nm_675
    @nm_675 9 лет назад +3

    This was amazing. Thank you so much! :)

  • @nahidmahmud4005
    @nahidmahmud4005 8 лет назад

    Great thanks man!!! Totaly clear

  • @hamzamehmud6402
    @hamzamehmud6402 7 лет назад

    Thank you for sharing such a brillant video :) helped me alot

  • @thorunitha7755
    @thorunitha7755 6 лет назад

    what is the difference between LRU algorithm and optimal replacement algorithm??

  • @KandelDeepak
    @KandelDeepak 6 лет назад

    perfect.....clear And simple

  • @dushdave8536
    @dushdave8536 7 лет назад

    wonderful explanation

  • @9021315235
    @9021315235 7 лет назад

    is that compalsary to take a 3size page only?

  • @nik_hybrid1442
    @nik_hybrid1442 5 лет назад

    Why we don't replace 0 in behalf of 3?

  • @bimalgrg8951
    @bimalgrg8951 9 лет назад +3

    most appreciate your explanation...thank u so much

  • @srinivasb7337
    @srinivasb7337 7 лет назад

    Excellent explanation

  • @patelkeval5016
    @patelkeval5016 8 лет назад

    very easy explanation !ty.

  • @FinanceWisdomTech
    @FinanceWisdomTech 6 лет назад

    Best Explanation. Thanks !

  • @shusilbanjade
    @shusilbanjade 9 лет назад +3

    Best Described......... Thanks a ton , man

  • @yatishjaryal3394
    @yatishjaryal3394 5 лет назад

    Beautiful explanation ❤️

  • @arrjundaas8635
    @arrjundaas8635 6 лет назад

    Awesome explanation

  • @ankitagrawal1508
    @ankitagrawal1508 7 лет назад

    Nice explanation buddy thanks..

  • @ankitabrahmankar8185
    @ankitabrahmankar8185 9 лет назад

    if only the number of pages are given and we are supposed to calculate the number of page faults ..how we do this??

  • @ayushkotiyal4357
    @ayushkotiyal4357 6 лет назад

    Then what is the difference between FIFO and LRU. It looks similar to FIFO

  • @paratube7619
    @paratube7619 6 лет назад

    Hi tech académie
    How used the mfu ??
    I would like the answers please

  • @rina7497
    @rina7497 7 лет назад

    Clear explanation. Thanks a lot!

  • @ofgalacticstuff
    @ofgalacticstuff 9 лет назад

    I got confused. When you check for LRU digit, how many digits to consider while going left? U took 3 spaces and in one case u took 4 spaces. I don't get it, we have to ignore 0?

    • @TechAcademy8
      @TechAcademy8  9 лет назад

      Ishu D You can consider as many as you need. You need to find which page was inserted in the page frame first. So you check all the pages which are already in the page frame and check when they were inserted, whichever was inserted first is the LRU and you remove it and insert next one when there is a page fault.

    • @johandon2882
      @johandon2882 8 лет назад

      I still confuse why u take 4 spaces in one case and 3 for other case..

    • @niravsoni2738
      @niravsoni2738 8 лет назад

      frame size - 1

    • @nomanulhaq6601
      @nomanulhaq6601 8 лет назад

      elaborate please.i have same query as johan don

    • @ernstpierre4068
      @ernstpierre4068 8 лет назад +3

      I hope it is not too late, the answer to your question is:
      You will always look backward for current number that are in the 3 frames ( in the case you had a HIT that is mean, the number was already in the memory when the CPU needed it, you don't have any change in the frame numbers , in this case, you can go backward until u find 3 DIFFERENT NUMBER in the queue... Hope this help

  • @trieule2012
    @trieule2012 5 лет назад +1

    crystal clear. Thanks a lots

  • @vaishnaviyerpude29
    @vaishnaviyerpude29 5 лет назад

    Explained very well.

  • @tyronskywalker2256
    @tyronskywalker2256 8 лет назад

    Thank you so much for this video! :)

  • @newalias2851
    @newalias2851 5 лет назад

    You are the best. Thanks a lot!!!!

  • @ousmanedembele1845
    @ousmanedembele1845 2 года назад

    Very good job mate

  • @dakshgulati3966
    @dakshgulati3966 9 лет назад

    Very well explained!
    Thank you!

  • @benjaminmusasizi3777
    @benjaminmusasizi3777 6 лет назад

    Thank you mam for this explanantionn. You are such a sweetheart!!

  • @gumsumful
    @gumsumful 8 лет назад

    Whats about pseudo LRU??

  • @subhashisneogi2302
    @subhashisneogi2302 7 лет назад

    Thank You,Its very useful

  • @shahnawazansari6440
    @shahnawazansari6440 9 лет назад +3

    ur explanation was clear...thanksssssssssssss

  • @donaldivancribillo8352
    @donaldivancribillo8352 8 лет назад

    Is it possible that the first 3 page request is the same? Like 7 7 7 0 1 0 4 . . . .?

  • @pallabsarkar5765
    @pallabsarkar5765 7 лет назад

    Thanks .It was very helpful.

  • @arghyadip2
    @arghyadip2 8 лет назад

    is it optimal replacement...i mean that is that same with optimal replacement or not??

    • @ahmetsamiyeniceri
      @ahmetsamiyeniceri 6 лет назад

      i've the same question too. I know it's been 2 years but do you know the answer now?

  • @rakeshmanna2225
    @rakeshmanna2225 6 лет назад

    Hey lru implementation by 2 types, one stack and other count but u only use one ready-made false technic???

  • @ioanaghita8459
    @ioanaghita8459 7 лет назад

    On column 10 is wrong. We need to change 4. 4 is used once, 2 is used twice and 0 is used 3 times => we change 4 with 3.

  • @h_rage666
    @h_rage666 7 лет назад

    Thanks a lot. This helped a lot :)

  • @Domboy400
    @Domboy400 9 лет назад +1

    thank u so much...nyc ecplaination..i understood it very well ..so easy:)

  • @randomshii69
    @randomshii69 Год назад

    great explanation thanks fr

  • @Gubabis
    @Gubabis 9 лет назад

    Thank you, your explanation was clear and helpfull

  • @TheDeftonesmusic
    @TheDeftonesmusic 8 лет назад

    how will you do this for
    2 3 2 1 5 2 4 5 3 2 5 2. here when 2 3 1 are loaded comes 5. so now 1 is most recently used then 2 and then 3.so 3 should be replaced is it correct? there is doubt because again there is a occurence of 2 before 3.so which page should be replaced 2 or 3?

    • @swaroopvengali
      @swaroopvengali 8 лет назад +1

      Replace 3 by 5

    • @tuanphuongtran9956
      @tuanphuongtran9956 8 лет назад

      TheDeftonesmusic you don't need to replace page 3 because page 2 is already in memory

  • @waynneappollocyzt350
    @waynneappollocyzt350 8 лет назад

    what is the difference between LFU and LRU

    • @οκμπος
      @οκμπος 8 лет назад

      In LFU you take into consideration how many times a page has been used so far (frequency). The one with the lowest frequency gets removed. Note that the frequency gets reset every time you remove it.
      In LRU you just remove the "oldest" one of the 3. Eg. you add pages 4 then 5 then 8 and you need to add page 6. You remove page 4 since it's the oldest one. It's basically which one was used first between the 3.

  • @pavan369
    @pavan369 9 лет назад +1

    Hello. The explanation is very good.
    My doubt is -
    after checking the most recently used, how to follow the order ? how to place pages in the page frame ?
    In 4th column - you wrote 2 first and then 0 , then 1. Here as per most recently used , 1 should be written first and then 0.
    In 6th column - you wrote the pages 2 , 0 first and then 3 . Can i write 3 first and later the most recently used pages?
    Thanks in advance. Waiting for your reply.

  • @puppy1874
    @puppy1874 9 лет назад +2

    Thank you, well explained

  • @beingdealtwith
    @beingdealtwith 7 лет назад

    Much appreciated for this.

  • @Aikirageorge
    @Aikirageorge 7 лет назад

    great video. thank you

  • @arfinparvez5801
    @arfinparvez5801 6 лет назад

    Thanxx a lot for well explained

  • @muhammadakmal1244
    @muhammadakmal1244 7 лет назад

    omg very helpful. thx u so much

  • @sasa23290
    @sasa23290 5 лет назад

    This is a 3-way associative array. With 2-way associative way and combinations like A B C A B C A, we have hit rate 0 %.

  • @rslorenzi10
    @rslorenzi10 6 лет назад

    Great video!

  • @TheTahlia1988
    @TheTahlia1988 7 лет назад

    Fantastic ! Thank you :)

  • @zafimamyjaryavitsara5312
    @zafimamyjaryavitsara5312 7 лет назад +1

    Thanks a lot ! It helps me for my OS course ;) !

  • @Anjali-cm9cd
    @Anjali-cm9cd 9 месяцев назад

    Thank you so much 👍

  • @jaswanthmopathi8441
    @jaswanthmopathi8441 6 лет назад

    But what is the difference between fifo and lru the logic is the same

  • @gagan5550
    @gagan5550 8 лет назад

    Very helpful.. I appreciate.

  • @mishachandar3965
    @mishachandar3965 8 лет назад

    its soo good!! Thank you

  • @nutandevjoshi
    @nutandevjoshi 6 лет назад

    Best explanation, otherwise look at other tutes by others, total goes over the head!

    • @ahmetsamiyeniceri
      @ahmetsamiyeniceri 6 лет назад

      Is the order of the values ​​we write on the columns important? Because we did it in different way for each one. I'm asking to you cuz you're saying that you understood this well

  • @hritiksharma5152
    @hritiksharma5152 7 лет назад

    Apke awaz se hme pyar ho gya

  • @kirtipaldayma8446
    @kirtipaldayma8446 8 лет назад +1

    most helpful ma'm thanx for that

  • @aiyshasiddiqie5837
    @aiyshasiddiqie5837 8 лет назад +8

    very useful thanksalot :)

  • @vanithaumashankar1479
    @vanithaumashankar1479 7 лет назад

    So helpful thanks a lot

  • @pranitbhoir2167
    @pranitbhoir2167 7 лет назад

    if u have program of that can u paste it here