목록cache (2)
수정입니다

Associative Caches Fully associative --> allow a given block to go in any cache entry --> more flexible, reduce miss rate!!! --> requires all entries to be serached at once --> comparator per entry => expensive! M-way set associative (Fully 와 Direct map의 중간 지점) --> Each set contains M entries --> block number determines which set (block number) % (number of sets in cache) --> serch all entries..

전 포스팅에 메모리에는 계층이 있고, CPU는 언제나 가장 빠른 메모리를 이용한다고 했다. Cache memory The level of the 'memory hierarchy' closest to the CPU (fastest) cache가 가장 빠른 메모리인건 알겠는데, 내가 찾고자 하는 정보가 cache의 대체 어디에 저장 되어있을까? (simply, word 단위의 데이터, block = 1word = 4bytes 가정) Where do we look? and put? Direct-mapped Fully associative M-way Set associative Direct Mapped Cache Location determined by memory address Direct ma..