Location
Capacity
Unit of transfer
Access method
Performance
Physical type
Physical characteristics
Organisation
09/03/2008 Maria Susan Anggreainy, M.Kom 2
Location
CPU Æ register
Internal Æ Main Memory
(memori utama)
External Æ Compact disk, tape
Word size
z The natural unit of organisation
Number of words
z or Bytes
Bagi internal memory umumnya
dalam satuan Byte atau Word.
z Panjang Word yang umum adalah 8,16
dan 32 bit.
Bagi eksternal mememory umumnya
adalam satuan Byte
z e.g. cache
Performance
Access time
z Time between presenting the
address and getting the valid data
Memory Cycle time
z Time may be required for the
memory to “recover” before next
access
z Cycle time is access + recovery
Transfer Rate
z Rate at which data can be moved
09/03/2008 Maria Susan Anggreainy, M.Kom 8
dimana
z TN = waktu rata-rata untuk
membaca atau menulis N bit
z TA = waktu akses rata-rata
z N = jumlah bit
Registers
z In CPU
Internal or Main memory
z May include one or more levels of
cache
z “RAM”
External memory
z Backing store
How much?
z Capacity
How fast?
z Time is money
How expensive?
Registers
L1 Cache
L2 Cache
Main memory
Disk cache
Disk
Optical
Tape
09/03/2008 Maria Susan Anggreainy, M.Kom 17
Cache
Size
Mapping Function
Replacement Algorithm
Write Policy
Block Size
Number of Caches
Cost
z More cache is expensive
Speed
z More cache is faster (up to a
point)
z Checking cache for data takes
time
Direct Mapping
Associative Mapping
Set Associative Mapping
Simple
Inexpensive
Fixed location for given block
z If a program accesses 2 blocks
that map to the same line
repeatedly, cache misses are very
high