Which are often needed to evaluate the cache performance?
Cache Traces
Cache performance depends on the program's memory-reference behaviour, so it is studied by trace-driven simulation: a recorded stream of addresses issued by real programs is replayed against a model of the cache (size, block size, associativity, replacement policy).
Such recorded address streams are called cache (program) traces. In Hwang's treatment of memory hierarchy design, cache traces are often needed to evaluate cache performance, because the hit ratio of a given organisation cannot be computed analytically for real workloads; it is measured by running the traces through the simulated cache.
The hit ratio is the result such an evaluation produces, not the input it needs. Latency and transfer rate are device parameters of the memory levels; they enter the effective access-time formula but do not by themselves reveal how well a cache serves a workload.
Cache Traces option is correct.
A hierarchical memory system that uses cache memory has cache access time of 50 nano seconds, main memory access time of 300 nano seconds, 75% of memory requests are for read, hit ratio of 0.8 for read access and the write-through scheme is used. What will be the average access time of the system both for read and write requests ?
In _____ method, the word is written to the block in both the cache and main memory, in parallel.
In advanced microprocessors, cache memories are used to
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 P, Q, R, and S are accessed by the processor in the same order 10 times. That is, there are a total of 40 memory references in the sequence P, Q, R, S, P, Q, R, S, …….
Assume that the cache memory is initially empty. The physical addresses of the words are given below (1 word = 1 byte).
P: 0x845B32, Q: 0x845B26, R: 0x845B36, S: 0x846B32
Which of the following statements is/are true?
Note: 1K=$2^{10}$ and 1M=$2^{20}$
A hierarchical memory system that uses cache memory has cache access time of 50 nano seconds, main memory access time of 300 nano seconds, 75% of memory requests are for read, hit ratio of 0.8 for read access and the write-through scheme is used. What will be the average access time of the system both for read and write requests ?