Virtual Memory: 11 TLB Example

แชร์
ฝัง
  • เผยแพร่เมื่อ 1 ต.ค. 2024

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

  • @YoAirFresh
    @YoAirFresh 6 ปีที่แล้ว +174

    I'm convinced that professors confuse us on purpose. The concept was clear after 45 seconds.

  • @EstebanQuijada
    @EstebanQuijada 8 ปีที่แล้ว +175

    WOWWWWWWW I SPENT 4 DAYS STRAIGHT TRYING TO UNDERSTAND THIS FROM CLASS SLIDES TO MIT VIDEOS. THIS EXPLAINED EVERYTHING SO CLEARLY AFTER 4 MINUTES!!!! I LOVE YOU!!!

    • @jjjrrrrrrrrr3482
      @jjjrrrrrrrrr3482 7 ปีที่แล้ว +33

      Engineering courses are 90% youtube 10% classes

  • @genhen
    @genhen 8 ปีที่แล้ว +27

    1. You're amazing at explaining
    2. I would pay for this (to take a class with your lectures and scalable learning)
    3. Caching is a similar and-yet slightly more difficult subject that most people can't just grasp that would be tackled at the best level if done by you (I think)

  • @gumsumful
    @gumsumful 8 ปีที่แล้ว +33

    Best Example!!
    CS should be taught like this. Really inspired

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

    I’ve learned more from TH-cam than I have from my professors🙄

  • @oshawastaken
    @oshawastaken 3 ปีที่แล้ว +1

    final in 3 days and YOU SIR HAVE SAVED MY ASS!! fuck computer systems

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

    After going through a ton of material, you taught this in 4 mins. Huge respect.

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

    4:12 Is it right to say, that RAM gives a pointer to the TLB so TLB knew what data to extract from DISK?

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

      Even I had a similar question, the swapped out page when referenced will be brought into ram and the pte will be updated to point to ram address instead of disk, so there won't be a case that tlb will have entry pointing to disk

  • @manojota4918
    @manojota4918 2 ปีที่แล้ว +1

    caraca, 2 semanas de aula n entendi nada, em 1 minuto assistindo esse vídeo entendi!

  • @whogashaga
    @whogashaga 10 หลายเดือนก่อน +1

    Thank you so much, you just saved my finals.
    What an amazing lecture!

  • @HazlittGene-y8p
    @HazlittGene-y8p 15 วันที่ผ่านมา

    Jackson Margaret Rodriguez Matthew Brown Shirley

  • @석상주
    @석상주 7 ปีที่แล้ว +2

    Please note: A TLB does not store translations for pages on disk.

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

    Got 100 on my midterm thanks to this series

  • @akashr4940
    @akashr4940 7 หลายเดือนก่อน

    If the Page Table is in physical memory and needs to be accessed by physical address how does the programs target virtual address address get translated without facing the chicken and egg problem ? I have to access physical memory of the process page table to translate my target virtual address, but to access physical memory I need to undergo translation of the virtual address of the page table entry by itself, and this goes on recursively. Is this not the case when you have a pure sw defined virtual memory solution without hw support ? The real Q is what is the bootstrap phase of setting up the Page tables for a program to be loaded by the OS that resolves the chicken and egg dilemma ?

  • @GarTuz
    @GarTuz 2 ปีที่แล้ว

    I understand the process, but It is not clear for me for example. If I have a Physical Address at the end. Is that a physical address from memory RAM or Disk? I mean, once I have the physical address the information is saved in that address is charged to the cache. Isn't?

  • @ceciliamacalister1838
    @ceciliamacalister1838 19 วันที่ผ่านมา

    Lopez Eric Robinson David Wilson Kimberly

  • @陆知行
    @陆知行 ปีที่แล้ว

    at the end of the video, if the entry is in the disk, OS should load data from disk and first update the pagetable, and then load the updated entry into the TLB instead of directly load DISK entry.

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

    If the page is not present in the memory, the page fault is raised based on the Present bit.
    But the video shows that the entry is moved to TLB and then the page fault is raised.
    Can you please clarify?

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

    Great vid but, how do you implement a TLB when you have multilevel paging, with like two or three levels?

  • @thedadoftown1774
    @thedadoftown1774 5 หลายเดือนก่อน

    Why don't professors start with this explanation then go into the details and technicalities later?! So frustrating!

  • @jiafengliao5828
    @jiafengliao5828 7 ปีที่แล้ว +2

    Thank you so much! It is clear and well explained

  • @aurumstinger4479
    @aurumstinger4479 หลายเดือนก่อน

    This video is from 10 years ago yet it got the concept through effortlessly

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

    the swapped out page when referenced will be brought into ram and the pte will be updated to point to ram address instead of disk, so there won't be a case that tlb will have entry pointing to disk

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

    Simple, clear, to the point. Just explained it with no faffing about, thanks a lot!

  • @jakguy5851
    @jakguy5851 7 หลายเดือนก่อน

    Holy shit my professor took 2 hours to explain this and no one understood anything

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

    Thank you. Very great explanation.

  • @AliceGutierrez-x4u
    @AliceGutierrez-x4u หลายเดือนก่อน

    Hernandez Deborah Garcia Patricia Lewis Susan

  • @ПавлоК-з9н
    @ПавлоК-з9н 11 หลายเดือนก่อน

    I'm wondering, since TLB is a cache of a page table (and page table resides in RAM) where does TLB itself resides? In processor's cache? (actually it resembles the processor's cache a lot). Is TLB workflow actually the one that causes cache-hits or cache-misses when processor is accessing addresses for either instruction or data?

    • @OpenGL4ever
      @OpenGL4ever 11 หลายเดือนก่อน

      On the CPU die.

  • @g.a.6963
    @g.a.6963 9 ปีที่แล้ว +1

    Video series are very helpful. Thank you for preparing and sharing these videos.

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

    thank U ..it's such a good explanation :)

  • @rebayreborn3348
    @rebayreborn3348 5 หลายเดือนก่อน

    great picture love it

  • @bradwang3648
    @bradwang3648 2 ปีที่แล้ว

    Very helpful. Thanks!

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

    explains better than my prof

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

    Actually VPN Tag bits length should be shorter than VPN(because of the index bits in VPN)

  • @SR-bc7nv
    @SR-bc7nv 3 ปีที่แล้ว

    The Website Link doesn't work anymore for the interactive lectures, Where can I find this info?
    Also great video thank you!

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

    Wow. Excellent.

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

    Simply mind blowing 💫💫💫💫💫❤❤❤❤❤❤❤ thank so much for such a best explanation 👏

  • @fatihersoy7559
    @fatihersoy7559 3 ปีที่แล้ว +1

    subtle, concise, golden.

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

    I'd like to learn some more about Computer Systems and Architecture from you as you're amazing at teaching. Please let me know if that is possible. Willing to pay.

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

    Hey wonderful video!
    If a page fault occurs will the data that was in the disk not be loaded into the RAM ?
    if this is true, thw TLB should get the address of the newly loaded data in the RAM for the virtual address 0X0000 and not disk?

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

    video rất hay.cảm ơn rất nhiều.

  • @XrcyhikUbhdfbjdf
    @XrcyhikUbhdfbjdf 16 วันที่ผ่านมา

    9386 Paucek Key

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

    thanks it was helpful

  • @SaulFields-e8t
    @SaulFields-e8t 6 วันที่ผ่านมา

    D'Amore Spurs

  • @黃學具
    @黃學具 7 ปีที่แล้ว

    fucking awesome

  • @Jordan-kd7vu
    @Jordan-kd7vu 15 วันที่ผ่านมา

    Katheryn Point

  • @ChristopherJudd-w5m
    @ChristopherJudd-w5m 5 วันที่ผ่านมา

    Heathcote Brook

  • @leonorfigueira9907
    @leonorfigueira9907 8 หลายเดือนก่อน

    Thank you so much!!!

  • @JohnsonBess-g9m
    @JohnsonBess-g9m 12 วันที่ผ่านมา

    Lockman Key

  • @fgk44
    @fgk44 2 ปีที่แล้ว

    I wish my prof can explain things like you...

  • @leandrormor
    @leandrormor 11 หลายเดือนก่อน

    Thanks for sharing! How does tlb does differentiate tags from different processes? I assume multiple processes will ask the same virtual page number

    • @kobbyfynn8043
      @kobbyfynn8043 6 หลายเดือนก่อน +1

      Through the use of ASID (Address Space Identifier ). Each tlb entry also contains this, which identifies the address space for a specific process, so in the search , it needs to match both the virtual page number and the ASID.

    • @leandrormor
      @leandrormor 6 หลายเดือนก่อน

      @@kobbyfynn8043 thank you

  • @SteveWu-f8r
    @SteveWu-f8r ปีที่แล้ว

    You are my hero today.

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

    If there's a page fault, does the PA get updated in both Momory Page Table and TLB?

  • @LitamKona
    @LitamKona 11 วันที่ผ่านมา

    Gust Knolls

  • @wanderer_chethan3549
    @wanderer_chethan3549 5 หลายเดือนก่อน

    This is the coolest explanation I have ever seen on a TH-cam !!! The best on par ever....

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

    My prof refused to put stuff online on how this works but asks it in the exam. Thanks for explaining me stuff my prof should have told me!

  • @RobinLai-sj9mr
    @RobinLai-sj9mr 4 ปีที่แล้ว

    Thank you so much. These videos are REALLY HELPFUL!!!

  • @xiyuewang5891
    @xiyuewang5891 8 หลายเดือนก่อน

    Really clear !

  • @TusharSingh-qc2hq
    @TusharSingh-qc2hq 3 ปีที่แล้ว

    Just amazing, in every university teaching should be like this.

  • @harsimratdhaliwal2806
    @harsimratdhaliwal2806 2 ปีที่แล้ว

    thanks cuh

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

    I don't get the disslikers. Video was helpful

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

    How can different process share this TLB or each process will get is own TLB space

  • @xky8124
    @xky8124 2 ปีที่แล้ว

    so good

  • @wisamyaghmour2414
    @wisamyaghmour2414 2 ปีที่แล้ว

    much appreciated, easy to understand keep the good work man.

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

    Incredible!! Very thanks

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

    very good lectures but should have more info

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

    Please don't use the term "physical page". The industry standard term is "frame" or "page frame" is also acceptable. Using just "page" is very confusing as the term "page", in and of itself, explicitly refers to virtual memory.

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

      Well, in our test book use the same thing as this video. I guess it's easy for student who taking the relative courses, otherwise it will get confuse easily

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

    What if the virtual page number was zero?

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

      Lucas Prado oops, you answered that, lol

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

    thank you very much, your explanation is so clear!

  •  7 ปีที่แล้ว

    It was very helpful. Thanks..

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

    I understand it very easy!!! it is perfect lecture. Thank you

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

    Somewhat too simple, hope to explain it in more detail

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

    Thanks a lot...love frm india

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

    This video is a really good video for us to connect all knowledge that we've learnt.

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

    what happens with the physical address afterwards?

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

    what is the associativity of this TLB table?

  • @4QuickMath
    @4QuickMath 7 ปีที่แล้ว

    Thanks for your teaching.

  • @LS-cb7lg
    @LS-cb7lg 5 ปีที่แล้ว

    youtube is a better prof than my profs :D

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

    These videos are very helpful than a lot

  • @Matt-vv1iv
    @Matt-vv1iv 6 ปีที่แล้ว

    This series was great. Liked and subbed.

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

    Is this implemented in software or hardware?

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

    All this process is done by the MMU? I'm a little confused on how does the MMU interacts with the TLB. Great video by the way!

    • @ag-perez
      @ag-perez 4 ปีที่แล้ว

      MMU contains TLB

  • @weaponkid1121
    @weaponkid1121 2 ปีที่แล้ว

    beautiful! Thank you for doing more than one example too!

  • @321liuwei321
    @321liuwei321 8 ปีที่แล้ว

    It helps a lot. Explain very clearly.

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

    This video is great! Thank you so much

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

    Really good explanation Thanks again.

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

    Jesus, many thanks!

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

    Very easy to understand.
    Thank you

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

    Great video thanks !

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

    Very helpful thanks :)

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

    very good keep it up

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

    Simple and clear, that is what world needs. Great job!

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

    Great video :)

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

    thank you!! really useful and easy to understand!!

  • @AbdurRahman-vj6hq
    @AbdurRahman-vj6hq 5 ปีที่แล้ว

    0:27 why page offset is always last 3 bits??why not 2 or 4??

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

      because log base 2 of 8 is 3. 8 comes from the virtual address.

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

    nice

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

    Thank u.

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

    Is there a page table for each process?

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

    thank you so much, you save me.

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

    This video is soooooo good!