Professional Documents
Culture Documents
Ch2 Hardware Components
Ch2 Hardware Components
Part 2
Chapter 2
Computer Systems and
Hardware Components
ITP3901 OPERATING SYSTEMS FUNDAMENTALS
(AY 2019/20)
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.
Input / Output
Processing
Storage
PCs have a power supply unit to convert high voltage alternating current
(AC) electric power to low-voltage DC power.
UPS (Uninterruptible Power Supply)
One key component of a UPS is a battery to maintain power in the event of a
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.
Expandability If the power supply only has enough power to
supply the current CPU, motherboard, and
devices, there might not be enough power to
supply any upgrade to the system.
Factors Rationale
Energy If the power supply has an efficiency rating. The higher
efficiency the rating, the lower the heat generated by the power
supply when converting voltage.
Fan type and The power supply must have a high-quality fan, because
Direction the fan is the primary source of airflow inside the case.
Some fans can change direction to allow air to be blown
directly on the CPU and to regulate the quality of the air
entering the case.
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. 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 Z270A
Chapter 2 - Computer Systems and Hardware
ITP3901 Operating Systems Fundamentals
Components
12
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
North RAM
ISA PCI Bridge
Video RAM
Slot Slot
AMR
South IDE
PCI BUS Bridge
USB
The north bridge is the chipset on your motherboard used to control data
communication and control signals to and from the CPU, Memory,
Onboard Graphics / AGP Slot. These are the most important components
of your computer .
The south bridge incorporates a number of different controller functions.
It looks after the transfer of data to and from the hard disk and all the
other I/O devices, and passes this data into the link channel which
connects to the north bridge. With the new motherboards it should also
handle PCI express slots. Also it manages USB and RAID controllers on
the board.
Firmware is the combination of persistent memory and program code and data
stored in it.
Boot Sequence
Date / Time
Type of Floppy Disk Drive / LS120
Default display (e.g. VGA, DVI)
RAM Wait State
System Clock Rate / Bus Frequency Setting
Hard Drive Type
Microprocessor Type
Core-to-Bus Speed Ratio
Core Voltage Level
…….
Major components:
Arithmetic and Logic Unit (ALU) – The ALU performs both arithmetic and
logical operations. Arithmetic operations are fundamental math operations like
addition, subtraction, multiplication, and division. Logical operations such as
AND, OR and XOR make comparisons and decisions, and these determine how a
program is executed (For modern CPU, it may have two or more ALU).
Control Unit (CU) – The control unit instructs the rest of the computer system on
how to follow a program’s instructions. It directs the movement of data to and
from processor memory.
Internal CPU Bus, which is responsible for data /control signal transfer between
the various units (e.g. ALU, registers and control unit).
Registers, which are temporarily storage within the CPU (e.g. instructions and
data)
Note: The CPU speed and the frequency of the clock signal are not
always at a one-to-one ratio. This is because the CPU can run at a much
higher speed than the other chips on the motherboard. A variable-
frequency synthesizer circuit, built into the motherboard circuit,
multiplies the clock signal so that the motherboard can support several
speeds of CPUs.
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
http://en.wikipedia.org/wiki/CPU_socket
New Socket: R4
(FCLGA2066)
Supported
processors:
Core i9
Core i7
Core i5
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. On older systems, the L2 cache was
on a separate set of chips on the motherboard. You can compare one
CPU to another according to the size of its L1 and L2 caches.
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 an L4 cache.
In some system, the processor speed can be set higher than the rating
on chip; this called overclocking the chip.
By overclocking, you are using the margin and running the chip
closer to its true maximum speed.
Overclocking might enable you to get 10%-20% or more
performance from your system.
Secondary storage
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.
Cache
Primary Storage
Primary
Memory
Disk
Secondary Secondary Storage
Tape Slower
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 in to 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. )
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.)
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
A CD-ROM disk is coated with a highly reflective metallic surface, most
common format allows about 775MB
A digital video disk (DVD) usually holds 4.7GB
A Blu-ray holds 25GB
An Ultra HD Blu-ray holds 100GB
Read/Write Heads
Platters
Spindle
The ATA interface are the most commonly used interface in PC.
However, there are different versions of ATA standard.
ATA-5 / ATA/ATAPI-5
ATA-5 is a standard approved by ANSI in 2000 under document NCITS
340-2000. ATA-5 adds support for Ultra-DMA/66, which is capable of
supporting data transfer rates of up to 66MBps, and has the capability of
detecting between 40 or 80-wire cables.
ATA-6 / ATA/ATAPI-6
ATA-6 is a standard approved by ANSI in 2001 under document NCITS
347-2001. ATA-6 added support for Ultra-DMA/100, and had a transfer rate
of up to 100MBps.
ATAPI
Short for AT Attachment Packet Interface, ATAPI is an extension to ATA
which allows support for devices such as CD-ROM drives, Tape drives and
other computer peripherals and not just hard disk drives. Before the release
of ATA-4 or ATA/ATAPI-4, ATAPI was a separate standard from ATA.
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 more high 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.4 introduced new features :
Durable/ Ordered Write Notification
Device Temperature Monitoring
Device Sleep Signal Timing
SATA Connectors
In order to place the operating system in hard disk, a disk address space of
blocks is divided into partitions.
Partitions are similar to a whole disk in the fact that they consist of adjacent
block.
For description of a partition it is necessary to specify the beginning of a
partition and its length in block
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
More resistant to physical
shock, run silently, have
lower access time, and
less latency but more expensive
than traditional hard disk
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.
With the same overall size as a standard 120mm diameter, 1.2mm thick CD,
DVD discs provide up to 17GB of storage with higher than CD-ROM transfer
rates and similar to CD-ROM access times and come in four versions:
DVD-5 is a single-sided single-layered disc boosting capacity seven-fold to 4.7GB
DVD-9 is a single-sided double-layered disc offering 8.5GB
DVD-10 is a 9.4GB dual-sided single-layered disc
DVD-18 will increase capacity to a huge 17GB on a dual-sided dual-layered disc.
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 nonprofit organizations to see if they are interested in the
outdated computer equipment.
Search the collector or recycler in 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