Differences between Cache and Registers (Computer Architecture)

  Переглядів 26,278

Bina Bhatt

Bina Bhatt

Рік тому

Check this video to know the differences between cache memory and registers!
Link to other videos:
1. Von Neumann vs Harvard Architecture - • Von Neumann Architectu...
2. Von Neumann Bottleneck - • What is Von Neumann Bo...
3. RISC vs CISC - • RISC vs CISC | Compute...
4. Modified Harvard Architecture - • Modified Harvard Archi...
LIKE and SHARE the video.
Comment down your answers.
SUBSCRIBE to the channel!
You can find me on:
🐦Twitter: / beebhatt
💼 LinkedIn: tinyurl.com/byp28c7y
Cheers!
#computerarchitecture #cache #coa #computermemory

КОМЕНТАРІ: 45
@guitaraditya6974
@guitaraditya6974 Рік тому
This is the only video on youtube right now that explains the actual concept in such easy manner.
@keshavladha3244
@keshavladha3244 Рік тому
This was such an amazing video, the last 15 seconds of analogy summed up everything for me!! Thank you so much🙏🙏
@kellylang4456
@kellylang4456 7 місяців тому
Thank you for this quick explanation. The analogy at the end was perfect.
@stachowi
@stachowi 8 місяців тому
This was fantastic. I'm an EE/CS... very clearly explained.
@idkk403
@idkk403 25 днів тому
Excellent!!!!!!! No words literally!
@BannableOffense...
@BannableOffense... 3 місяці тому
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 5 місяців тому
very well explained and easy to understand. much better than other videos available on youtube
@vishalgauswami2239
@vishalgauswami2239 Рік тому
Nice video Keep working on it. It's very helpful for others. Thanks.
@OneHypeMarketing
@OneHypeMarketing 8 місяців тому
very nice analogy! thanks!
@vibhu5034
@vibhu5034 2 місяці тому
Great video with a very clear explanation, thankyou so much you are a great teacher.
@kunalsinghverma7883
@kunalsinghverma7883 9 місяців тому
thankyou so much.. you made understanding easier .. 👍🙏
@ctrltheory6070
@ctrltheory6070 3 місяці тому
the analogy is perfect !
@tomq6491
@tomq6491 Місяць тому
clear concise informative thumbs up!
@tinnguyen199
@tinnguyen199 10 місяців тому
really helpful!! Thanks a lot😄
@akshaygodase8067
@akshaygodase8067 9 місяців тому
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?
@k283
@k283 Рік тому
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..
@syedyousuffaizan1779
@syedyousuffaizan1779 7 місяців тому
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?
@user-ld8ru7kh6u
@user-ld8ru7kh6u Місяць тому
Good analogy and explanation could u give the reaon why registers are ruicker to access compared to cpu cache? (other than physical distance)
@jaron_yankey
@jaron_yankey Рік тому
Great video!! Thank you!!
@kuchy007
@kuchy007 Рік тому
Great video, thanks!
@almirf3729
@almirf3729 Рік тому
Awesome, thanks!
@elisabetaronsson1730
@elisabetaronsson1730 Рік тому
Thank you!
@dipan246
@dipan246 9 місяців тому
Great content Thanks
@yusufetturki
@yusufetturki 11 місяців тому
It was a great explanation
@SunilKumar-ie2jh
@SunilKumar-ie2jh Рік тому
Wow very nice Video, thanks 👍
@bitsandbinary5170
@bitsandbinary5170 Рік тому
nice mam.....good explanization
@rsf2671
@rsf2671 Рік тому
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
@memoricadigitalschool101
@memoricadigitalschool101 11 місяців тому
good explanation...
@AuroraLex
@AuroraLex 10 місяців тому
0:45 This was the question I wanted answered
@reinierkroneman5695
@reinierkroneman5695 Рік тому
You deserve credit for me passing Comptia a+ 🙏🏼
@BinaBhatt
@BinaBhatt Рік тому
That's very kind of you! Congratulations 👏
@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
@BinaBhatt
@BinaBhatt Рік тому
That's right!
@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 Рік тому
@@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.
@StudywithmeinPakistan
@StudywithmeinPakistan 5 місяців тому
Well done from Pakistan.
@msbanda2123
@msbanda2123 Рік тому
👍
@Cartoonworld-kr8op
@Cartoonworld-kr8op Рік тому
Regiter s close and small memory that is why fasr
@reanwithkimleng
@reanwithkimleng 4 дні тому
❤❤❤❤
@Ind31181
@Ind31181 10 місяців тому
I'm studying for SSC CGL but getting nothing 😢
@Engineer884
@Engineer884 5 місяців тому
You didn't discuss whether register is fast or CPU cache
@Engineer884
@Engineer884 5 місяців тому
@@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 5 місяців тому
@@BinaBhatt please reply
Computer Architecture - What is CPI? (Performance Measurement)
1:57
But, what is Virtual Memory?
20:11
Tech With Nikola
Переглядів 100 тис.
когда одна дома // EVA mash
00:51
EVA mash
Переглядів 8 млн
Explaining RISC-V: An x86 & ARM Alternative
14:24
ExplainingComputers
Переглядів 409 тис.
CPU Cache Explained - What is Cache Memory?
4:51
PowerCert Animated Videos
Переглядів 1 млн
The Fetch Decode Execute cycle
9:38
Huw Mawson
Переглядів 29 тис.
What are Distributed CACHES and how do they manage DATA CONSISTENCY?
13:29
How does Computer Memory Work? 💻🛠
35:33
Branch Education
Переглядів 3,5 млн
Inside the CPU - Computerphile
11:16
Computerphile
Переглядів 357 тис.
I Designed My Own 16-bit CPU
15:46
AstroSam
Переглядів 1,8 млн
Cache Systems Every Developer Should Know
5:48
ByteByteGo
Переглядів 424 тис.