Recent questions tagged cache-memory

0 0 votes
0 0 answers
53
53 views
Consider a system with 4 MB physical memory and a word length of 1 byte. The system uses a direct-mapped cache, with cache block numbers starting from 0. The word with ph...
0 0 votes
1 1 answer
91
91 views
$\begin{array}{l}\textbf{Q. } \text{A processor has the cache hierarchy as given. Assume that 20\% of instructions are}\\\text{load/store instructions. The remaining 80\%...
2 2 votes
1 1 answer
162
162 views
Assume 15% of L1 misses are resolved in the victim cache. If retrieving data from the victim cache takes 4 cycles and retrieving data from main memory take 50 cycles, by ...
2 2 votes
1 1 answer
179
179 views
COA
A computer's memory hierarchy has a single cache with a 8.5ns access time and a 98% hit rate. Main memory has a 100 ns access time. If we replace the cache with another o...
2 2 votes
0 0 answers
124
124 views
COA
Consider a write through cache which can fulfil 76.5% of CPU’s all memory requirements. Main memory has an access time of 1000ns, cache memory access time is 100ns. Cache...
10 10 votes
7 7 answers
2.9k
2.9k views
Consider a system with a processor and a $4$ KB direct mapped cache with block size of $16$ bytes. The system has a $16$ MB physical memory. Four words $\mathrm{P}, \math...
19 19 votes
6 6 answers
3.3k
3.3k views
Consider a system with $1$ MB physical memory and a word length of $1$ byte. The system uses a direct mapped cache, with block numbers starting from $0$. The word with ph...
13 13 votes
6 6 answers
1.7k
1.7k views
The size of the physical address space of a processor is $2^{32}$ bytes. The capacity of a cache memory unit is $2^{23}$ bytes. The cache block size is $128$ bytes. The c...
12 12 votes
3 3 answers
2.1k
2.1k views
Consider a system that has a cache memory unit and a memory management unit (MMU). The address input to the cache memory is a physical address. The MMU has a translation ...
4 4 votes
1 1 answer
603
603 views
Consider a system with the following cache configuration:Block size $=128$ bytes Physical memory size $=2^{23}$ bytes Cache size $=2^{13}$ bytes Two cache organization...
1 1 vote
1 1 answer
374
374 views
0 0 votes
1 1 answer
206
206 views
Tag field size is ‘x’ bits in a 2 way block set associative mapped cache memory. The tag field size (in bits) when the system is upgraded to 8 way block set associative m...
2 2 votes
1 1 answer
376
376 views
Consider a two-level memory organization. L1 (cache) has an access time of 10 ns and the main memory has an access time of 100 ns. Assume that the hit ratio for read oper...
1 1 vote
1 1 answer
234
234 views
A processor has a base CPI of 1.2. Every instruction requires one instruction fetch, and 30% of instructions are loads and 10% are stores.The L1 cache miss rate (same for...
2 2 votes
0 0 answers
293
293 views
A system has a 2-level cache (L1, L2) and Main memory.L1 Hit Time: 1 nsL2 Hit Time: 10 nsMain Memory Access Time: 100 nsL1 Hit Rate: 90%L2 Hit Rate: (Global) 95% (Wait! I...
2 2 votes
3 answers 3 answers
412
412 views