• retagged by
2,223 views
2 2 votes
What is virtual indexed cache? How is it different from physical indexed cache? What is virtually indexed physical tagged cache? If possible point me to proper resources.

2 Answers

1 1 vote

The cache needs to know what memory areas have shadow copies in the cache. The address of the memory range contained in a cache line is called the tag of that cache line. A cache can put virtual addresses in the tag memory, so virtual addresses can be looked up directly in the cache without using the TLB (speed advantage on cache hit), or the cache could use physical addresses. Using physical addressing in the cache has the advantage that you don't need to flush the cache when the mapping between virtual and physical addresses changes (which happens on every task switch in many common operating systems).

Position:
Show:

Related questions

9 9 votes
1 answers 1 answer
4.4k
4.4k views
Akriti sood asked Nov 9, 2016
4,419 views
can some one please clearly explain ,what is 1. virtually indexed virtually tagged cache2. physically indexed physically tagged cache3. virtually indexed physica...
0 0 votes
0 0 answers
616
616 views
khushtak asked Jan 7, 2016
616 views
1.What are global miss rate and local miss rates in two level cache.Lmr is no. of misses on cache / total no. Of access to the cacheGmr is no. of misses on cache / total ...
0 0 votes
0 0 answers
600
600 views
mauro5991 asked Aug 2, 2018
600 views
First level data cache: Direct mapping , writeThrough/write allocate , 8kb data and lines of 8 bytes, miss rate= 17%First level instructions cache: Direct mapping,, 4kb d...
1 1 vote
0 0 answers
1.5k
1.5k views
s_dr_13 asked Mar 10, 2019
1,540 views
Given the following information: • TLB hit rate 95%, TLB access time is 1 cycle. • cache hit rate 90 %, cache access time is 1 cycle. • When TLB and cache both get miss; ...