Differences between Cache and Registers (Computer Architecture)

แชร์
ฝัง
  • เผยแพร่เมื่อ 3 ธ.ค. 2024
  • Check this video to know the differences between cache memory and registers!
    Link to other videos:
    1. Differences between SRAM and DRAM - • Differences Between SR...
    2. RISC vs CISC - • RISC vs CISC | Compute...
    3. Von Neumann vs Harvard Architecture - • Von Neumann Architectu...
    4. Modified Harvard Architecture - • Modified Harvard Archi...
    5. Von Neumann Bottleneck - • What is Von Neumann Bo...
    Computer Architecture Playlist - tinyurl.com/22...
    LIKE and SHARE the video.
    Comment down your answers.
    SUBSCRIBE to the channel!
    You can find me on:
    🐦X: x.com/beebhatt
    💼 LinkedIn: tinyurl.com/by...
    Cheers!
    #computerarchitecture #cache #coa #computermemory

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

  • @BinaBhatt
    @BinaBhatt  6 หลายเดือนก่อน +4

    If you liked this video then check this one on the Differences between #SRAM and #DRAM - th-cam.com/video/VToZeD5HhoM/w-d-xo.html
    Don't forget to subscribe and hit the bell icon!

  • @guitaraditya6974
    @guitaraditya6974 2 ปีที่แล้ว +27

    This is the only video on youtube right now that explains the actual concept in such easy manner.

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

    Thank you for this quick explanation. The analogy at the end was perfect.

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

    This was fantastic. I'm an EE/CS... very clearly explained.

  • @genericYoutubeUser-to1zu
    @genericYoutubeUser-to1zu ปีที่แล้ว

    very well explained and easy to understand. much better than other videos available on youtube

  • @BannableOffense...
    @BannableOffense... 10 หลายเดือนก่อน

    your explanation on the subject just gave me a way better understanding in the item I was struggling to fully understand, your awesome thank you!

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

    This was such an amazing video, the last 15 seconds of analogy summed up everything for me!!
    Thank you so much🙏🙏

  • @and1lnull
    @and1lnull 5 หลายเดือนก่อน +3

    Great video but that analogy at the end really brought it home ❤, I need things explained to me like a little baby sometimes 😂

  • @idkk403
    @idkk403 7 หลายเดือนก่อน +1

    Excellent!!!!!!! No words literally!

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

    Great video with a very clear explanation, thankyou so much you are a great teacher.

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

    A cache should be larger than a register file (i.e. there are many more memory cells in the cache than there are registers, so the signal carrying address of requested cell is 1) longer (for example 16 bits instead of 4 bits) and 2) has to pass more logic gates, mainly multiplexers / demultiplexers, until the signal gets to its destination.
    Or maybe it has something to do with cache coherency? Let's say there is some hardware element that ensures coherency of different caches; then there should be times when the cache is locked, because coherency-ensuring element is updating the cache right now, so CPU has to wait until it's over, otherwise it would get incoherent data from the cache.
    Or the cache could be implemented with slower and cheaper technology; for example if the registers are built on Nand gates, and the cache is built on capacitors like DRAM. Though I think all CPU cache today is built with logic gates and not capacitors..

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

    Nice video
    Keep working on it. It's very helpful for others.
    Thanks.

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

    the analogy is perfect !

  • @tocabocafamilyklen2055
    @tocabocafamilyklen2055 3 หลายเดือนก่อน +1

    Hi world!!. Always gets me 😂😂

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

    clear concise informative thumbs up!

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

    0:45 This was the question I wanted answered

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

    Short video but very helpful🙂🙂

  • @Onlinetraining-h7x
    @Onlinetraining-h7x 8 หลายเดือนก่อน

    Good analogy and explanation could u give the reaon why registers are ruicker to access compared to cpu cache? (other than physical distance)

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

    thankyou so much.. you made understanding easier .. 👍🙏

  • @JennieMonroe-ge1td
    @JennieMonroe-ge1td 4 หลายเดือนก่อน

    Thank you for your content

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

    very nice analogy! thanks!

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

    I have Question about RISC.. There is a Difference between Risc and Risc-V??? Plzz Answer this. And make a vedio on Block Diagram of Risc-V.... Plzzz

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

    You deserve credit for me passing Comptia a+ 🙏🏼

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

      That's very kind of you! Congratulations 👏

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

    Great video!
    But why internal cache is faster than external cache?
    Is this because, external bus to carry data is slower than internal bus?
    Like external is AHB where as internal is AXI?

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

    Thank you!

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

    It was a great explanation

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

    really helpful!! Thanks a lot😄

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

    Great video!! Thank you!!

  • @SunilKumar-ie2jh
    @SunilKumar-ie2jh 2 ปีที่แล้ว

    Wow very nice Video, thanks 👍

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

    Awesome, thanks!

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

    Well done from Pakistan.

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

    Great video, thanks!

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

    Awsome content❤🔥🔥, very well explained. Would it be possible for you to make a similar video on how the data/address actually flow from the memory to cache and to the general purpose register, in detail?

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

    nice mam.....good explanization

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

    Great content Thanks

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

    good explanation...

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

    as registers hold a lot amount of data and CPU can access it very fast thats why registers are better that cache

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

    Bz the cache memory is highly storage as compare to Registers so its rule that in highly memory fetch data is hard as compared to low memory

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

    So, when cpu requests data does it first checks in registers or in cache??

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

      @@BinaBhatt Plze correct me if i am wrong, according to me registers will be accessed first and if data is not found then cache will be accessed.

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

      are you sure? You may want to understand how CPU executes programs in the first place.

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

      @@BinaBhatt is it like the instruction which is currently being executed by the CPU the data related to that instruction will be stored in registers and if CPU wnats to access some new data it will access cache first.

  • @Cartoonworld-kr8op
    @Cartoonworld-kr8op ปีที่แล้ว +1

    Regiter s close and small memory that is why fasr

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

    I'm studying for SSC CGL but getting nothing 😢

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

    ❤❤❤❤

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

    👍

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

    You didn't discuss whether register is fast or CPU cache

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

      @@BinaBhatt I'm not able to make any perfect judgement as both of them are on-chip near to CPU. If there's no hardware difference, then maybe both have speed. But at the same time, most of the places its written that registers are made of SRAMs which is also used to make Cache, and also written that register is faster than Cache.

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

      @@BinaBhatt please reply

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

    L1 Masalas