A fellow student has designed a cache with the most significant bits containing the index and the least significant bits containing the tag. How well do you suppose this cache will perform?

What will be an ideal response?

The cache the student has designed will not perform effectively.  Caches must be set up in such a way as to take advantage of spatial locality.  Most programs run in such a way that the currently executed instructions are almost always next to each other in memory.  This means that their high-order address bits are usually identical.  Because this is the case, it is not wise to use them as an index, since each write to the cache would trigger an eviction on the same row. 

Computer Science & Information Technology

You might also like to view...

Which button should you click in the Audio Mixer or Timeline panel to hear only one audio track on a Timeline?

What will be an ideal response?

Computer Science & Information Technology

A trauma center designated as Trauma Level III provides emergency resuscitation, surgery, and intensive care to most trauma patients. Other patients are transferred to a Level I or Level II trauma center

Indicate whether the statement is true or false

Computer Science & Information Technology