Académique Documents
Professionnel Documents
Culture Documents
CacheMemory
Characteristics
Location Capacity Unitoftransfer Unit of transfer Accessmethod Performance P f Physicaltype Physicalcharacteristics Organisation
ComputerArchitecture 02 2
Location
CPU Internal External l
ComputerArchitecture 02
Capacity
Word size Wordsize
Thenaturalunitoforganisation
ComputerArchitecture 02
External
Usuallyablockwhichismuchlargerthanaword
Direct
Individualblockshaveuniqueaddress Accessisbyjumpingtovicinityplussequentialsearch A Accesstimedependsonlocationandprevious ti d d l ti d i location e.g.disk
ComputerArchitecture 02 6
Associative
Dataislocatedbyacomparisonwithcontentsofa portionofthestore Access time is independent of location or previous Accesstimeisindependentoflocationorprevious access e.g.cache
ComputerArchitecture 02 7
Externalmemory
Backingstore
ComputerArchitecture 02
ComputerArchitecture 02
Performance
Access time Accesstime
Timebetweenpresentingtheaddressandgetting thevaliddata
MemoryCycletime
Timemayberequiredforthememoryto recoverbeforenextaccess Cycletimeisaccess+recovery
TransferRate
Rateatwhichdatacanbemoved
ComputerArchitecture 02 10
Magnetic
Disk&Tape
Optical
CD&DVD
ComputerArchitecture 02
11
ComputerArchitecture 02
12
Organisation
Physical arrangement of bits into words Physicalarrangementofbitsintowords Notalwaysobvious e.g.interleaved i l d
ComputerArchitecture 02
13
Howexpensive?
ComputerArchitecture 02
14
Thiswouldcostaverylargeamount
ComputerArchitecture 02
16
Cache
Small amount of fast memory Smallamountoffastmemory SitsbetweennormalmainmemoryandCPU MaybelocatedonCPUchipormodule b l d C hi d l
ComputerArchitecture 02
17
ComputerArchitecture 02
18
ComputerArchitecture 02
20
ComputerArchitecture 02
21
Speed
Morecacheisfaster(uptoapoint) Checkingcachefordatatakestime
ComputerArchitecture 02
22
ComputerArchitecture 02
23
16MBytesmainmemory 24bitaddress
(224=16M)
ComputerArchitecture 02
24
ComputerArchitecture 02
25
L2cache
FeedingbothL1caches Feeding both L1 caches 256k 128bytelines 8waysetassociative
ComputerArchitecture 02
29
Questions
ComputerArchitecture 02
30