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. Operating System cache-memory multilevel-cache co-and-architecture virtual-memory translation-lookaside-buffer operating-system + – Veerendra V 2.2k views answer comment Share Follow Print See 1 comment 1 1 comment reply saurabh rai commented Nov 6, 2016 reply Follow flag http://people.ee.duke.edu/~sorin/prior-courses/ece152-spring2008/lectures/6.9-memory.pdf 0 0 replyShare Please log in or register to add a comment.
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). Devshree Dubey answered Nov 6, 2016 Devshree Dubey comment Share Follow See 1 comment 1 1 comment reply Veerendra V commented Nov 7, 2016 reply Follow flag Any references please 0 0 replyShare Please log in or register to add a comment.
1 1 vote This is a good one. gmrishikumar answered Dec 27, 2018 gmrishikumar comment Share Follow 0 reply Please log in or register to add a comment.