Lecture 9

project will be published soon and due end of next week


cache

last time, discussed memory and memory speed

to limit latency, can use cache:

caches can be multilevel:

how does this differ for multi-core cpus?

where in cache is memory placed, when it is retrieved by cache from a specific address in ram?

certain data structures are more cache-friendly:

caches can also be divided into two different categories:

note: for atomic operations, nobody will use cache or anything, because whole memory address bus is locked for everyone except the code that issued the atomic operation

(to be continued next time)