A little help please

happy medium

Lifer
Jun 8, 2003
14,387
480
126
I have this sample question on my computer science quiz.
A little help please. I think the answer is 2 p/c.


" in a computer with a cache memory interposed between the processor and the primary memory, cache is the k-way set associative for some fixed k; i.e,..each location primary memory "maps to" can be cached in any of K locations in the cache. Let there be P locations in the primary memory and C locations in the cache on the average how many different locations in primary memory map to a particular location in the cache if k=2 ?"

Thanks.
 

Blain

Lifer
Oct 9, 1999
23,643
3
81
I have this sample question on my computer science quiz.
A little help please. I think the answer is 2 p/c.


" in a computer with a cache memory interposed between the processor and the primary memory, cache is the k-way set associative for some fixed k; i.e,..each location primary memory "maps to" can be cached in any of K locations in the cache. Let there be P locations in the primary memory and C locations in the cache on the average how many different locations in primary memory map to a particular location in the cache if k=2 ?"

Thanks.
Let me Google that for you