If they both are same, then it is a cache hit else a cache miss. Finally, the tag part of physical address obtained from the VIPT cache is compared with physical address’s tag obtained from TLB. The TLB is searched with virtual address, and physical address is obtained. The cache is searched using the virtual address and tag part of physical address is obtained. The VIPT cache uses tag bits from physical address and index as index from logical/ virtual address. Virtually Indexed Physically Tagged Cache (VIPT) The next sections in the article covers VIPT Cache, challenge in VIPT Cache and some solutions This means that for every context switch, the cache needs to be flushed and every context switch follows with a lot of cache misses both of which is time-consuming and adds to the hit time.Ī solution to these problems is Virtually Indexed Physically Tagged Cache (VIPT Cache). Remember that this is the same reason for having a page table for every process.
0 Comments
Leave a Reply. |