Unit3 COA
Unit3 COA
Memory Organization
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
Table 4.1
Key Characteristics of Computer Memory Systems
Capacity
Memory is typically expressed in terms of bytes
Unit of transfer
For internal memory the unit of transfer is equal to the number of
electrical lines into and out of the memory module
Each addressable
A word is retrieved
Memory is organized location in memory has
Involves a shared read- based on a portion of
into units of data a unique, physically
write mechanism its contents rather
called records wired-in addressing
than its address
mechanism
Cache Sizes
of Some
Processors
a
Two values separated
by a slash refer to
instruction and data
caches.
b
Both caches are
instruction only; no data
caches.
Advantages-
Simplest type of mapping
Fast as only tag field matching is required
while searching for a word.
It is comparatively less expensive than
associative mapping.
Disadvantages-
It gives low performance because of the
replacement for data-tag value.
First-in-first-out (FIFO)
Replace that block in the set that has been in the cache longest
Easily implemented as a round-robin or circular buffer technique
Write back
Minimizes memory writes
Updates are made only in the cache
Portions of main memory are invalid and hence accesses by I/O
modules can be allowed only through the cache
This makes for complex circuitry and a potential bottleneck
Two-level cache:
Internal cache designated as level 1 (L1)
External cache designated as level 2 (L2)
Intel
Cache
Evolution
(Table is on page
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved. 150 in the
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
© 2016 Pearson Education, Inc., Hoboken, NJ. All rights reserved.
+ Summary Cache
Memory
Chapter 4
Elements of cache
Computer memory
system overview design
Cache addresses
Characteristics of
Cache size
Memory Systems
Memory Hierarchy Mapping function
Cache Replacement
memory
principles algorithms
Write policy
Pentium 4 cache
Line size
organization
Number of caches