CSCI 45 Week 2 Day 2 - Caching and the Memory Hierarchy

Channel:
Subscribers:
2,650
Published on ● Video Link: https://www.youtube.com/watch?v=fWtXJgTu71Q



Duration: 2:01:25
140 views
2


Today we talked about the -S suffix in ARM32, which is a free way of comparing a register with #0, and then we talked extensively about how the cache system works in CPUs.

Since RAM is very slow compared to a CPU, there is a memory hierarchy that sits between the CPU and RAM that holds the most recently (or most frequently) used elements from RAM in them. While they are much smaller than RAM, they are much faster, and accelerate the performance of your programs by a great deal.







Tags:
CSCI 45
Caching
Memory Hierarchy