• edited by
534 views
0 0 votes
Consider Main memory M and Cache C.

1. When we say the access time of main memory is T what parameters does it include?Is it

. just obtaining data from M or

.obt data from M and Transfer it to cache(I understood as this)  or

. Obt data from M, Transfer it to cache and read cache again, and transfer it to the Processor

2 When nothing is specified do we assume hierarchical or simultaneous access

3 In case of miss do we always put the data into the cache and again read it from there or do we keep a buffer between Memory and Cache and give it to the processor while the data is being transferred from memory to cache? If nothing is given which scenario do we take?

Pls, help me with these finer aspects. I understood the overall idea. In NATs, I'm missing by small margins.

1 Answer

0 0 votes
1. It only refers to the time taken to get it from the main memory. Generally, that is what access time means - time taken to get from X (X can be cache, TLB, main memory, hard disk etc.)

2. By default, most computers use a hierarchical memory system  which is - cache, main memory and hard disk. None of the standard books mention a situation where simultaneous access is possible.

3. In case of a miss, the data is brought from the memory to the cache and stored there, and read from there. Afaik, there's no buffer between memory and cache.
Position:
Show:

Related questions

0 0 votes
0 0 answers
426
426 views
Tanmay_Jawkhede asked Oct 20, 2018
426 views
#COSuppose Cache memory with K way set associative mapping,with no. of set -S,no. of line -L,size of each line -O.so what is hardware requirement (i.e.No.of multiplexer ,...
0 0 votes
0 0 answers
1.0k
1.0k views
Prince Sindhiya asked Sep 14, 2018
1,005 views
Consider an array has 100 elements and each element occupies 4 words .A 32 word cache is used and divided into a block of 8 words .What is the hit ratio for this stateme...
0 0 votes
0 0 answers
680
680 views
Alina asked Jan 6, 2019
680 views
What is formula of Average memory access time?And formula of effective access time?And the difference between them . I always mix them .
0 0 votes
1 1 answer
1.1k
1.1k views
subho16 asked Nov 26, 2018
1,116 views
A cache is having 60% hit ratio. Cache access time is 30 ns and main memory access time is 100 ns. What is the average access time for reading?My doubt is whether to assu...