What cache invalidation algorithms are used in actual CPU caches?
问题 I came to the topic caching and mapping and cache misses and how the cache blocks get replaced in what order when all blocks are already full. There is the least recently used algorithm or the fifo algorithm or the least frequently algorithm and random replacement, ... But what algorithms are used on actual cpu caches? Or can you use all and the... operating system decides what the best algorithm is? Edit: Even when i chose an answer, any further information is welcome ;) 回答1: As hivert said