2023 24 1e

Computer Organization and Architecture2023-242 marksBasic concept and hierarchy

Write a short note on locality of reference.

Write a short note on locality of reference.

Locality of reference means that a program tends to use a small part of its memory addresses again and again over a short time. It has two forms. Temporal locality means that an item used now is likely to be used again soon, as in a loop. Spatial locality means that items near the one just used are likely to be used next, as in an array or in straight-line code. Caches use this idea to keep the active data close to the CPU.

Short on time? The 1, 5 and 10 mark versions of this answer, flashcards and practice sets come with a program pass.

Up nextDefine 2 1/2 D memory organization.