2 votes 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 asked Nov 6, 2016 • retagged Nov 13, 2017 by Arjun Veerendra V 1.6k views answer comment Share Follow See 1 comment See all 1 1 comment reply saurabh rai commented Nov 6, 2016 reply Follow Share http://people.ee.duke.edu/~sorin/prior-courses/ece152-spring2008/lectures/6.9-memory.pdf 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes 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 See all 1 1 comment reply Veerendra V commented Nov 7, 2016 reply Follow Share Any references please 0 votes 0 votes Please log in or register to add a comment.
1 votes 1 votes This is a good one. gmrishikumar answered Dec 27, 2018 gmrishikumar comment Share Follow See all 0 reply Please log in or register to add a comment.