With virtual memory and address translation the cache can ei
With virtual memory and address translation, the cache can either operate on virtual addresses or on physical addresses. What is commonly used and why?
Solution
In the caching system ,CPU have at least three cache, instrunction cache(to increase the spped of instruction fetch), data cache(to increase the speed of data fecth) and TLB which is for virtual to physical address mapping.If possible cache would be working directly with physical address as at the end it needs to fetch data from there. TLB which is in place is also for conversion of virtual to physical so if we are directly working with with physical then there is no need to have this extra TLB work in place.
