The read access time of main memory in . Assume that the caches use the referred-word-first read policy and the write-back policy. Assume that all the caches are direct mapped caches. Assume that the dirty bit is always for all the blocks in the caches. In execution of a program, of memory reads are for instruction fetch and are for memory operand fetch. The average read access time in nanoseconds (up to decimal places) is _________
View worked solution
Answer: 4.7 : 4.8
Using the hierarchical (serial) memory access model, the average access time for a cache level is calculated as:
We calculate the average read access times for instruction fetches and data fetches separately:
- Instruction Fetch ( of reads):
- Data Fetch ( of reads):
The overall average read access time is the weighted average of instruction and data fetches:
Thus, the average read access time is 4.72 ns.
Free practice · Your answers on this page are not saved.
