Professional Documents
Culture Documents
Chapter 2
Computer Systems and
Hardware Components
ITP3901 OPERATING SYSTEMS FUNDAMENTALS
2
Computer System Overview
The operating system (OS) is the software that controls functionality and
provides lower-level routines for application programs.
Most operating systems provide functions to read and write data to files.
The personal computer (PC) is one of the most common types of computer.
PCs are usually equipped with a case which is a plastic or metal enclosure
called case that houses most of the components
Common hardware components inside the case include:
Motherboard
Central Processing Unit (CPU)
Random Access Memory (RAM)
Power Supply
etc.
PCs have a power supply unit to convert high voltage alternating current
(AC) electric power to low-voltage direct current (DC) power.
UPS (Uninterruptible Power Supply)
One key component of a UPS is a battery to maintain power in the event of power
outage.
Note that most UPSs are not designed for long time power supply for PCs. Most
UPSs keep computers running from 5 to about 30 minutes after a power outage,
enabling the system to stop the currently running job and the shut down the
computer properly.
Motherboard Power
Connector
Factor Rationale
CPU type Different CPUs require different voltages. For
example, some AMD chips and motherboards require
more power than certain Intel chips and vice versa.
The motherboard is also called the system board or the main board. Everything
else in the system plugs into, is controlled by, or depends on the motherboard to
communicate with other devices on the system. The system board is the largest
of the printed circuit boards (PCB). Every system has one. The system board
generally houses the following components:
Check out a modern motherboard user manual for the component layout. e.g. ASUS PRIME H510M-A R2.0-CSM
ITP3901 Operating Systems Fundamentals
Chapter 2 - Computer Systems and Hardware Com
ponents
11
Motherboard Components
Components Description
Chipset A chip set is a set of chips on the motherboard that
(North Bridge + South Bridge) collectively controls the memory cache, external bus, and
some peripherals.
CPU interface The socket or slot that the CPU connects to on the
motherboard.
Expansion slots Receptacles on the motherboard that accept printed circuit
boards. All computers have expansion slots that allow
additional devices to be added.
Dip switches/jumpers
South IDE
PCI Slots PCI BUS Bridge
USB
Major Chipset Manufacturers: Intel, SiS, nVidia, ATI and ALi
South bridge
incorporates a number of different controller functions
looks after the transfer of data to hard disk and other I/O devices
pass data to connect to the north bridge
manages USB and RAID/hard-disk controllers on board
Boot Sequence
Date / Time
Default display (e.g. onboard, HDMI, VGA, DVI, etc.)
RAM Wait State
System Clock Rate / Bus Frequency Setting
Hard Drive Type
Microprocessor Type
Core-to-Bus Speed Ratio
Core Voltage Level
etc.
Chapter 2 - Computer Systems and Hardware Com ITP3901 Operating Systems Fundamentals
ponents
23
CPU - Sockets
Clock speed
a higher clock speed means a faster CPU
the number of cycles your CPU executes per second,
measured in GHz (a clock speed of 3.2 GHz executes 3.2
billion cycles per second)
Since different CPU designs handle instructions differently,
it’s best to compare clock speeds within the same CPU brand
and generation.
Overclocking: running processor at excessive speed
For more specialized use cases, individual benchmarks
are usually more appropriate.
Multiprocessing
Simultaneous processing by two or more ALUs
Multiprocessor platform
Contains two or more processors
Multi-core processor (Quad-core, 16-core, 64-core, …etc.)
A single processor contains multiple cores for multithreading or parallel
operations. For most processor designs, the cores share system bus, but have
separate cache
Intel
AMD
Apple
Amazon
etc.
Cache
Primary Storage
Primary
Memory
Disk
Secondary Secondary Storage
Tape Slow
Each CPU has at least two caches: L1 and L2. The L1 cache is built into the
CPU on modern systems, each core usually has its own L1 cache. It is the
front-side cache, where data waits to enter the CPU.
The L2 cache, or back-side cache, is where data exiting the CPU waits. On
modern systems, the L2 cache is within the CPU’s packaging but not
integrated into the CPU’s die.
L3 cache is a shared cache in modern CPU design. It usually sits between
the CPU and RAM to optimize data transfer between them.
Newer systems require higher performance also have a L4 cache.
The Level 1 cache, or primary cache, is on the CPU and is used for
temporary storage of instructions and data organized in blocks.
Primary cache is the fastest form of storage. Because it’s built into the chip
with a zero wait-state (delay) interface to the processor’s execution unit.
Level 1 cache is implemented using Static RAM (SRAM).
This is contrasted to dynamic RAM (DRAM), which must be refreshed many times per
second in order to hold its data contents.
Modern CPU usually has a separate Level 1 cache for each core.
Most PCs are offered with a Level 2 cache to bridge the processor / memory
performance gap. Level 2 cache - also referred to as secondary cache) uses
the same control logic as Level 1 cache and is also implemented in SRAM.
Modern CPU usually has a separate Level 2 cache for each core.
The aim of the Level 2 cache is to supply stored information to the
processor without any delay (wait-state).
Some processors use a special transfer protocol called burst mode. (e.g.
transferring a 64-Byte cache line on a 16-Byte data path requires four times. A burst
cycle only indicates location at the first time that reduces addressing for latter
transfers, the speed is then improved. )
Random access memory (RAM) is the place in a computer where the OS,
application programs, and data in current use are kept so that they can be
quickly reached by the processor.
RAM is considered temporary, or volatile memory.
The more RAM a computer has, the more capacity the computer can hold
and process large programs and files.
There are two classes of RAM that are commonly used today. These are
Static RAM (SRAM) and Dynamic RAM (DRAM).
SRAM is relatively more expensive, but it is fast and holds data when the power
is turned off for a brief period of time. This is useful in such circumstances as an
unexpected loss of power. It is used for cache memory.
DRAM is inexpensive and somewhat slow, and requires an uninterrupted power
supply to maintain the data. DRAM stores data in tiny capacitor that must be
refreshed to maintain the data. Once the power is turned off, the data is lost.
Name in full: DDR5 SDRAM - Double Data Rate 5 Synchronous Dynamic Random-Access Memory
Provides slower but much cheaper storage for the bulk data; non-volatile
(i.e. it keeps the data when power supply is off); a variety of devices are
available:
Magnetic (Hard disk) / Optical Disks (CDROM, DVD, Blu-ray, etc.) /
Solid-state (SSD)
A magnetic disk ( Hard Disk ) is typically a circular platter with a magnetizable
coating.
A no. of tracks are divided in concentric circles for recording information
CD-ROM - 775MB / Digital video disk (DVD) - 4.7GB
Blu-ray - 25GB / Ultra HD Blu-ray - 100GB
Read/Write Heads
Platters
Spindle
SATA 1.0 was first released in August 2001 and is a replacement for the
Parallel ATA interface used in PC.
Serial ATA is capable of delivering 1.5Gbps (150MBps) of
performance to each drive within a disk array, offers backwards
compatibility for existing ATA and ATAPI devices, and offers a thin
small cable solution.
This cable (max. length 1 metre) helps make a much easier cable
routing and offers better airflow in the computer when compared to
the earlier ribbon cables used with ATA drives.
Increasing server and multimedia demands require a higher speed for hard
drive.
SATA-II / SATA-300 /SATA-3G with transfer rate of 3Gb/s.
SATA also used for DVD/Blu-ray/CD drive connection.
SATA 3.0 is the new standard of hard disk with transfer rate of 6Gb/s.
SATA 3.5 (released Jul 2020) introduced new features :
Device Transmit Emphasis for Gen 3 PHY
Defined Ordered NCQ Commands
Command Duration Limit Features
SATA Connectors
SATA cable
In order to place the operating system in hard disk, a disk address space of
blocks is divided into partitions.
A hard disk can contain 4 primary partitions
Partition contain a file system which is a system of block marking for file
storage. After creation of a file system on a partition and after files of
operating system are placed , the partition becomes a boot one.
Information on a hard disk partitioning is kept in the first block of a hard
disk called the Master Boot Record (MBR)
A data storage
device using integrated
circuit assemblies as memory to
store data persistently
No moving (mechanical)
components
Resistant to physical shock
Run silently
Lower access time, and
less latency
need less power to operate than
HDDs
More expensive than traditional
hard disk
connects over
SATA cables
Chapter 2 - Computer Systems and Hardware Com ITP3901 Operating Systems Fundamentals
ponents
50
CDROM (Compact Disc Read-Only
Memory)
A laser is shone onto the reflective surface of the disc to read the pattern of
pits and lands.
This pattern of changing intensity of the reflected beam is converted into
binary data.
Memory Stick
Standard
SmartMedia (SM) (left) Multimedia Cards (MMC) PRO
(right) SD card PRO Duo
Micro
Chapter 2 - Computer Systems and Hardware Com ITP3901 Operating Systems Fundamentals
ponents
58
Tapes Drives
Tape drives are most commonly used as the device for data backup on a
network server disk drive.
There are a variety of tape devices that use different tape formats for storing
data.
In Windows, the device manager keeps a listing of all the hardware devices
on your computer. It is the best tool to use for troubleshooting hardware
problems.
Contact the manufacturers and ask if they will take back the outdated
computer equipment.
Contact the non-profit organizations to see if they are interested in the
outdated computer equipment.
Search the collector or recycler on the website of Environmental Protection
Department, The Government of the Hong Kong Special Administrative
Region
http://www.epd.gov.hk/epd/english/environmentinhk/waste/guide_ref/guide_ref_dwc.html