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

 

 

Home | Photos | WaterMark Multimedia | Online Shopping Outlet

Matt's Bio | UMUC | Feedback | Guest book | E-mail me

 

FaulknerWeb.com is designed and managed by Matt Faulkner.

Domain Name service provided by Namesecure

Web Service by eDataRack
Copyright © 1998 - 2011 [FaulknerWeb.com]. All rights reserved.
Updated: October 15, 2011 21:53 .