Computer Organization Architecture - Topic 5
Computer Organization Architecture - Topic 5
Physical
Capacity
Characteristics
Unit Of
Physical Type
Transfer
Capacity
• The characteristic of memory is its capacity
Unit of transfer
• Internal memory - equal to the number of data lines into
and out of the memory module
• External memory - data are transferred are referred to as
blocks
Access method
• Sequential: Start at the beginning and read through in order
• Direct: Access is by jumping to vicinity and sequential search
• Random: Individual addresses identify locations exactly
• Associative: Data is located by a comparison with contents of a portion
of the store
Performance
• Three performance parameter:
• Access time (latency): Time between presenting the address and
getting the valid data
• Memory Cycle time: Time be required for the memory to “recover”
before next access
• Transfer Rate: Data can be moved into or out of a memory unit
Physical type
• Semiconductor: RAM
• Magnetic: Disk & Tape
• Optical: CD & DVD
• Others: Bubble, Hologram
Physical characteristics
• Volatile memory: Information lost when electrical power is
switched off
• Non-volatile memory: Information remains without
deterioration until deliberately changed
SEMICONDUCTOR MAIN MEMORY
• Main memory referred to as core
• All semiconductor memory cells share certain properties:
READ
ONLY Erasable
Flash
PROM
memory MEMORY (EPROM)
(ROM)
Electrically
EPROM
(EEPROM)
• Uses an electrical erasing
technology Programm-
able ROM
• Faster than EPROM (PROM)
• Non-volatile and be written
into only once
• Provides flexibility and
convenience
READ
ONLY Erasable
Flash
PROM
memory MEMORY (EPROM)
(ROM)
Advantages:
Inexpensive to implement
Associative Mapping
Cache control logic
The tag field identifies a
block of main memory
Flexibility for block to
replace when a new block
is read into the cache
• Once the cache has been filled, when a new block is brought
into the cache, one of the existing blocks must be replaced
• 2 situations:
• Direct mapping: Only one possible line for any particular
block, and no choice is possible
• Associative and set associative mapping: A replacement
algorithm is needed
• Algorithms:
Write Back
Internal consistency needed for other
Disadvantage: memory address, the
Substantial memory changed data is
traffic and create a "written back" to
bottleneck - Slows system memory
down writes Better performance -
Saves time (time-
consuming)
EXTERNAL MEMORY
Magnetic
disk
Magnetic External
RAID
tape Memory
Optical
Memory
Magnetic disk
• A circular platter constructed of
nonmagnetic material (aluminum,
aluminum alloy or glass)
• Ex: Hard disk and Diskette
RAID
• A set of physical disk drives viewed by the
operating systems as a single logical drive
• Guarantees data recoverability in case of a
disk failure
Optical Memory
• CD: A non- erasable disk that can store more than 60
minutes of audio information on one side.
• Ex: CD-ROM, CD-R, CD-RW, DVD
Magnetic Tape
• The medium is flexible polyester tape coated with
magnetizable material
• Data on the tape are structured as a number of parallel
tracks
• The recording of data in this form is parallel recording