So, with the advent of DDR5 we find ourselves in a position with RAM getting faster than the CPU itself. I am seeing sales of DDR5 sticks rocking out to the tune of 6000mhz. Given that CPUs are only cranking boost speeds of 5.7Ghz, is cache actually still relevant since the CPU can get the data from the RAM in real time?
Perhaps my understanding of cache is wrong. My understanding of cache is this (this is a simplistic explanation):
Interested in your thoughts TH.
EDIT: For the tech savvy, you can pretty much swat the word "data" with "processing instruction(s)". You can also assume I understand the concept of pre-fetching.
Perhaps my understanding of cache is wrong. My understanding of cache is this (this is a simplistic explanation):
- Lvl1 cache matches the CPU speed so it can supply the data at the speed the CPU uses it. Historically making volatile memory at this speed was the most expensive hence why it was always the tiniest. To combat the small amount of lvl1 cache, lvl 2 cache was invented.
- Level 2 cache was not as fast as lvl1 cache but was bigger than lvl1 and faster than RAM. So larger amounts of data is pulled into lvl2 cache ready for lvl1 to take it when needed.
- Level 3 cache was brought in with multi-core CPUs as the amount of data required for all those course to process was ever increasing. Level1 remained attached to the core (there were multiple lvl1 caches, 1 per core). Level 2 originally was shared by all the level 1 caches. Then processing requirements increased with the invention of SMT, now level 1 AND level 2 caches were per-core and level 3 caches are shared by all the level 2 caches.
Interested in your thoughts TH.
EDIT: For the tech savvy, you can pretty much swat the word "data" with "processing instruction(s)". You can also assume I understand the concept of pre-fetching.
Last edited: