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...

When entering text into a SmartArt graphic object, the object within which you are typing will adjust the font size to accommodate your text

Indicate whether the statement is true or false

Computer Science & Information Technology

The ________ function checks if a field does not contain a value

Fill in the blank(s) with correct word

Computer Science & Information Technology

Which of the following should be done to harden a system?

a. Turn off unused services. b. Apply port filtering and close unused ports. c. Apply the latest security patches and fixes. d. All the above.

Computer Science & Information Technology

A large job can have problems with a first-fit memory allocation scheme.

Answer the following statement true (T) or false (F)

Computer Science & Information Technology