Professional Documents
Culture Documents
Computer
Architecture
For 3rd year communication students
2014
Basics of Computer Architecture
Registers
Secondary memory
Speed Magnetic
and (Hard disk) surface
Cost/cell
Auxiliary memory
128K X 8
Location 1
Location 2
FF FF FF FF FF FF FF FF
17
Address bus
Location 131072
Data bus
The left number (128k) has two meanings:-
Virtual memory
It isn’t physical memory (imagine memory), it performed by the operating
system (such as windows). It provides by software application “kernel” to
manage large size programs into the main memory (RAM) with low capacity.
For more illustration consider this scenario, assume the current running
programs have 12 GB and the capacity of RAM is 8 GB. It’s clear that the
RAM capacity not enough to load with all running programs simultaneously.
The operating system provides management for the running programs using
the limited capacity RAM as follows:
- It divides the current running programs into arrangement blocks in the
hard disk.
- It loads some of these data blocks (in our case 2 blocks) into the RAM.
- The 1st loaded block is executed by CPU.
- After executed the 1st block it reloads again into hard disk.
- The executed block is replaced with the subsequent block (3rd block) from
the hard disk during the execution of the 2nd loaded block by CPU.
- After the 2nd block is executed it reloads again into the hard disk and
replaced with the subsequent block and so on.
- The operating system (memory management unit) loads the running
program blocks from the hard disk into RAM consecutively, also the loaded
blocks in RAM is delivered to CPU sequentially.
Memory
management
unit (MMU)
Block 1
Block 2 CPU
3
Block 3
1
1
Cache
4 2 memory
Block 1
Block 2
HDD RAM
Its chip contains littel amount of Its chip contains larger amount
cells of cells
Notes
Its cell programs when high Its cell programs when high
voltage (Pp.) is applied on this voltage (Vpp) is applied on this
silicon oxide layer, it becomes silicon oxide layer, it becomes
Its cell erases when ultra-violet Its cell erases when high
(UV) ray is emitted on this silicon voltage is applied on this silicon
oxide layer, it becomes normal oxide layer, it becomes normal
charge again. charge again.
L2 cache … is built also inside processor chip. It's slightly larger in capacity
than L1, its range in between 512 KB and 8 MB but it slightly slower than L1
memory.
L3 cache … is built on the motherboard near the processor chip. It's slightly
larger in capacity than L2, its range in between 8 MB and 24 MB but it
slightly slower than L2 memory.
Core 1 Core 2
Cache memory L2
Note: the Core 2 duo processor is a brand name for dual core processor