4 CPU, Memory and Computer System
4 CPU, Memory and Computer System
Hardware
Allen A. Llorca
SMIS HEAD
Hardware Overview
Modern-day computer systems usually contain, at a
minimum, the following hardware components:
The System Unit
o Motherboard (aka System Board):
o CPU (Central Processing Unit)
o Memory, such as RAM, ROM, Cache, and Flash
o Ports
o Expansion Slots
Secondary Storage, such as hard disk drives, CD-ROMs,
etc.
Input / Output Devices
Communications Devices
The Central Processing Unit (CPU) is the "brain" of
the computer. It executes instructions (from software)
and tells other components what to do.
o The Intel Pentium is a popular processor for IBM-
PCs.
o The PowerPC is a popular processor for
Macintoshes.
o AMD processors are powerful and help accelerate
the needs of your next PC with superior standards,
performance, security and scalability.
3 Major Components
ALU (arithmetic logic unit)
Performs calculations and comparisons (data changed)
CU (control unit): performs fetch/execute cycle
Functions:
Moves data to and from CPU registers and other hardware components
(no change in data)
Accesses program instructions and issues commands to the ALU
Subparts:
Memory management unit: supervises fetching instructions and data
I/O Interface: sometimes combined with memory management unit as
Bust Interface Unit
Registers
Example: Program counter (PC) or instruction pointer determines next
instruction for execution
Features of CPU
The performance of the CPU is entirely dependent on the
features it has
1. Cache Memory
2. Cores
3. Speed
4. Multithreading
5. Compatibility
6. Bandwidth
Cache Memory
The cache is the small memory inside the processor; it fetches the data
from the main memory and sends it to the CPU.
Cache memory is an extremely fast memory type that acts as a buffer
between RAM and the CPU.
It has three types, L1 or Layer 1, L2 or Layer 2, and L3 or Layer 3. Each
layer’s working, and sizes are as follows, L1 > L2 > L3.
CPU Cores
Processors designed in recent days are multi-core. These cores
are independent of each other and consist of their cache memory.
They help in parallel processing to increase the efficiency of the
system.
Different Types of CPUs
1. Single-core CPU
2. Dual-core CPU
3. Quad-core CPU
4. Hexa core processors
5. Octa-core processors
6. Deca-core processor
Difference between Dual core and Quad core
Processors
CPU Speed
The speed of the CPU is usually measured in GHz or MHz. A
processor with more frequency performs the task faster.
A dual-core processor with less frequency runs faster than a
single-core processor with more frequency.
CPU Speed (Cont.)
How Does Clock Speed Affect Process?
Before the advent of multi-core CPUs, clock speed
was viewed as the key spec for comparing single-
core processors. Today, it’s taken into consideration
alongside many other factors, like:
Ports are sockets that are on the outside other system unit, meaning you can easily
plug a cable into a port without opening the system unit.
o Serial ports transmit one bit of data at a time.
o Parallel ports transmit 8 bits of data at a time.
o Universal Serial Bus (USB) ports are much faster than serial or parallel ports
and allow multiple devices to be connected to the same port.
A hard disk drive (sometimes abbreviated as Hard
drive, HD, or HDD) is a device used to permanently store and
also retrieve information. There are many variations, but their
sizes are generally 3.5" and 2.5" for desktop and laptop
computers respectively.
SSD (solid-state drive)
An SSD, or solid-state drive, is a type of storage device used in
computers.
This non-volatile storage media stores persistent data on
solid-state flash memory.
SSDs replace traditional hard disk drives (HDDs) in
computers and perform the same basic functions as a hard
drive.
But SSDs are significantly faster in comparison. With an SSD,
the device's operating system will boot up more rapidly,
programs will load quicker and files can be saved faster.
Types of SSD Form Factors
2.5”
When shopping for SSDs, the first thing you’ll want to know is
which form factor fits in your system. SSDs come in many shapes
and sizes. For example, 2.5” is the most common type of SSD
and fits into most laptop or desktop computers.
M.2
Another form factor, M.2, has become the standard type of
storage for slim laptops and notebooks. Its tiny form factor is
often compared to a stick of gum and easy to install right on the
motherboard in most cases.
mSATA
mSATA, or mini-SATA, is essentially a smaller version of the full-
size SATA SSD. It uses a compact form factor like M.2 but is not
interchangeable.
U.2
Finally, there’s U.2 which looks like a 2.5” drive but is a bit
thicker. It uses a different connector and sends data through the
PCIe interface.
Interfaces: SATA vs. NVMe
Read and Write Comparison
Storage performance
A power supply unit (PSU) converts mains AC to low-voltage
regulated DC power for the internal components of a computer.
Modern personal computers universally use a
switched-mode power supply. Some power supplies have a
manual selector for input voltage, while others automatically
adapt to the supply voltage.
FORM FACTOR
Full Tower Mid Tower
Full-tower cases are generally big with a Another case that might be a step down, would be
height that is about or more than 30 classified as a mid tower case. Mid-tower cases are
inches (more than 76 cm). The number the most widely used computer cases. Mid Tower
of internal drive bays inside these cases cases are about 18 to 24 (45 to 60 cm) inches high
can be between 6 and 10. and they usually contain 2 to 4 internal drive bays
and a similar number of external bays (for CD/DVD
readers and similar).
Mini Tower
Mini-tower usually have up to 2 or sometimes 3 Slim Line Case
internal drive bays. Mini-cases normally stand at aSlim line cases are simply tower cases turned on th
height of 12 to 18 inches (30 to 45 cm). sideways. They can hold a monitor on top of the cas
Expandability is a problem with these cases.
OCCUPATIONAL HEALTH AND SAFETY PROCEDURE
• Always power off and unplug the computer before working on it.
• Take away any liquid such as mineral water or soft drinks near your working
area or near computers.
• Contingency measures during workplace accidents, fire and other
emergencies are recognized.
• Personal protective equipment is correctly used in accordance with
organization OHS procedures and practice.
• Hazard/risks in the workplace and their corresponding indicators are
identified to minimize or eliminate risk to co-workers, workplace and
environment.
• Take necessary precautions to protect the component of the computer from
damaged cause by Electrostatic Discharge (ESD).
• Hold the components by edges and do not touch the IC’s.
• Read and follow instruction on the manual carefully.
• Do not use excessive force if things don’t quite slip into place.