Processor Caching
- Tags
- comp-arch
Is the process of storing particular memory addresses in CPU registers. Operations referencing that memory address are done so in the cache and actual memory updates are deferred until later. This improves performance because the cache is quicker to access than memory (the intel I3 processor cache is roughly three times faster to reach than memory) and updating memory is slow.
Processor caching leads to the same memory being referenced in multiple places. This can cause race conditions, unpredictable speed boosts and unintended side effects.