 |
The Fundamentals Of Cache
|
| Tue Oct 17, 2000 | 12:59P| PermaLink |
|
|
"The size of the cache-line takes advantage of the principle called spatial locality, which states that code that is close together is more likely to be executed together. Therefore, the larger the cache-line size, the more data that is close together, and therefore, likely related, is brought into the cache at any one time. The CPU only requests a small piece of information, but it will get whatever other information is contained within the cache-line. If the cache is large enough, then it can easily contain the information within a large cache-line. However, if the cache is too small in comparison to the cache-line size, it can reduce performance (because sometimes irrelevant information is in the cache-line, and takes up valuable space)."
|
 |
FULL STORY @
SYSTEMLOGIC (http://www.systemlogic.net/articles/00/10/cache)
|
|
 |