Please enable JavaScript.
Coggle requires JavaScript to display documents.
CACHE MEMORY - Coggle Diagram
CACHE MEMORY
Introduction
Physical device used to store programs or data on a temporary or permanent basis for use in a computer
-
-
As a consequence, the typical computer system is equipped with a hierarchy of memory subsystem; some internal to the system & some external
-
-
-
-
-
is random access memory (RAM) that a computer microprocessor can access more quickly than it can access regular RAM
As the microprocessor processes data, it looks first in the cache memory and if it finds the data there (from a previous reading of data), it does not have to do the more time-consuming reading of data from larger memory.
Memory hierarchy
Used in the theory of computation when discussing performance issues in computer architectural design.
A 'memory hierarchy' in computer storage distinguishes each level in the 'hierarchy' by response time Since response time, complexity, and capacity are related, the levels may also be distinguished by the controlling technology
-
As one goes down the hierarchy, the following
occur:
-
-
-
-
How it works
The CPU looks for data first in the cache, and if the data is not found there, it looks in main memory
Level of cache
L1, fast, small in capacity
L2, slow, large in capacity
L3, slower, very large in capacity
The larger the cache, the larger the number of gates involved in addressing the cache
Mapping functions
Because there are fewer cache lines than main memory blocks, an algorithm is needed for mapping main memory blocks into cache lines.
-
-