How Cache Works In Computers to Speed Up the CPU
ฝัง
- เผยแพร่เมื่อ 28 ธ.ค. 2022
- In this video, we will cover what cache is, why it is used, and how data is moved in and out of different levels of cache.
bit-Machine: www.bit-machine.co.uk/
How to Write Machine-Level Code in bit-Machine: • How To Write Machine-L...
How the Fetch, Decode, Execute Cycle Works: • How Do CPUs Run Progra...
How Do Registers Work: • How Do Special Registe...
just one clarification. addr 30 will give a cache miss but addr 31, 32, 33 etc will have a cache hit. why? because every time the cpu moves data from/to the cahe, it does it by moving a whole cache line (usually 64 bytes). moving individual bytes one at the time will result in very slow data access and complete failure of the prediction/branching technics, as most of the operations would result in misses.
wow! thank you so much this video was brilliant. No other video I could find went into such detail!
Short video but more informative
😱🧠💡
How can I put cache on the web
I'm sorry, I'm not sure what you mean.
@@bit-machine probably web cache, this is different with cache for hardware