What is the pros and cons of:
- Physical cache (between MMU and Memory)
- Logical cache (between CPU and MMU)
from a programmer's view? How to get the best of each of them?
Thanks
Google gives this Link.
Up to date Link
The article gives pros and cons of each type of caching system and states that both can be implemented at the same time. Froma programmer's point of view, anytime I need not worry about virtual addressing and associated costs, its a win, but programming for cache hit/misses is going to affect performance much more than slight latency I believe. This area is not my forte, coming from small embedded systems programming though where caching is just now starting to become relevent to what I do.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With