Differences between Cache and Registers (Computer Architecture)

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

КОМЕНТАРІ • 53

  • @BinaBhatt
    @BinaBhatt  4 місяці тому +4

    If you liked this video then check this one on the Differences between #SRAM and #DRAM - ua-cam.com/video/VToZeD5HhoM/v-deo.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.

  • @and1lnull
    @and1lnull 4 місяці тому +3

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

  • @kellylang4456
    @kellylang4456 Рік тому +2

    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.

  • @keshavladha3244
    @keshavladha3244 Рік тому +4

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

  • @BannableOffense...
    @BannableOffense... 8 місяців тому

    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!

  • @genericYoutubeUser-to1zu
    @genericYoutubeUser-to1zu 11 місяців тому

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

  • @k283
    @k283 2 роки тому +6

    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..

  • @vibhu5034
    @vibhu5034 7 місяців тому

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

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

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

  • @Onlinetraining-h7x
    @Onlinetraining-h7x 6 місяців тому

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

  • @rsf2671
    @rsf2671 Рік тому +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

  • @vishalgauswami2239
    @vishalgauswami2239 Рік тому +1

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

  • @ctrltheory6070
    @ctrltheory6070 9 місяців тому

    the analogy is perfect !

  • @girishmaitry8268
    @girishmaitry8268 4 місяці тому

    Short video but very helpful🙂🙂

  • @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?

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

    clear concise informative thumbs up!

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

    0:45 This was the question I wanted answered

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

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

  • @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?

  • @tocabocafamilyklen2055
    @tocabocafamilyklen2055 2 місяці тому +1

    Hi world!!. Always gets me 😂😂

  • @JennieMonroe-ge1td
    @JennieMonroe-ge1td 2 місяці тому

    Thank you for your content

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

    You deserve credit for me passing Comptia a+ 🙏🏼

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

      That's very kind of you! Congratulations 👏

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

    very nice analogy! thanks!

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

    really helpful!! Thanks a lot😄

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

    It was a great explanation

  • @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.

  • @soukatdas9445
    @soukatdas9445 4 місяці тому

    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

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

    Well done from Pakistan.

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

    Great video!! Thank you!!

  • @SunilKumar-ie2jh
    @SunilKumar-ie2jh Рік тому

    Wow very nice Video, thanks 👍

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

    Awesome, thanks!

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

    Great video, thanks!

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

    Great content Thanks

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

    nice mam.....good explanization

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

    good explanation...

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

    Thank you!

  • @Engineer884
    @Engineer884 10 місяців тому

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

    • @Engineer884
      @Engineer884 10 місяців тому

      @@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 10 місяців тому

      @@BinaBhatt please reply

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

    I'm studying for SSC CGL but getting nothing 😢

  • @Cartoonworld-kr8op
    @Cartoonworld-kr8op Рік тому +1

    Regiter s close and small memory that is why fasr

  • @reanwithkimleng
    @reanwithkimleng 5 місяців тому

    ❤❤❤❤

  • @MattSiegel
    @MattSiegel 5 днів тому

    L1 Masalas

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

    👍