Chapter 9 - Question #4 of 7
How does locality of reference and program behavior support cache
use? Are there any disadvantages/issues with cache use? Explain.
Locality of reference supports the fact that most programs are loaded
into memory using successive memory locations. Since programs usually
run successive lines of code it supports the use of retrieving blocks of
data from associative cache. Advantages of this type of cache use
are that lines of code will run faster since the instructions are in
successive memory locations. A disadvantage is that if the data is
not sequentially stored in the associative cache memory accessed must
interrupt data handling. This slows down data processing.
To view my previous feedbacks, visit
www.FaulknerWeb.com, then click on
the UMUC link
E-mail me at
Home |