introduction to pc architecture. main components of a computer 5 main components motherboard the...

36
INTRODUCTION TO PC ARCHITECTURE

Upload: eric-heath

Post on 27-Dec-2015

257 views

Category:

Documents


3 download

TRANSCRIPT

Page 1: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

INTRODUCTION TO

PC ARCHITECTURE

Page 2: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

MAIN COMPONENTS OF A COMPUTER

5 main componentsMotherboardThe central processing unit ( CPU )MemoryI/O portsHard Disc

Page 3: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

MOTHERBOARD

Page 4: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

MOTHERBOARDS

A big, flat circuit board that covers the entire floor of the PC casing.

The heart of the computer as all of its connections leading out from itself into every device in the machine

Everything has to be compatible to it. The motherboard design fixes the maximum speed of CPU that you can use.

Page 5: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

CPU

Page 6: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

CPUNow CPU is the ‘brain’ of the computerIt processes data and coordinate tasks

among different componentsworks in direct harmony

if the motherboard has a slow bus speed, it will reduce the performance of new processor that has better speed.

NOTE: BUS

•collection of wires through which data is transmitted from one part of a computer to another. You can think of a bus as a highway on which data travels within a computer

•Every bus has a clock speed measured in MHz.

Page 7: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

CPU Performance

Page 8: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

CPU performance

CPU speed is not a reliable indicator of CPU performance.

Many factors inside and outside of the CPU exert a significant impact on CPU performance, and on overall system performance.

CPU speed is measure in megahertz.A 1MHz CPU = 1 million cycles per second.

Page 9: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

CPU performance – c’tnd

Does this mean that a 2MHz CPU is twice as fast as a 1Mhz CPU?Not necessarily. This depends on how much

work each CPU accomplishes in each clock cycle.

The 1MHz CPU might very well be faster, in practice, than the 2Mhz CPU - if it is more efficient or can process more tasks in each CPU cycle.

Page 10: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

CPU - The Cache

The purpose of a cache is to enable the CPU to access recently used information very quickly and will significantly affect CPU performance.

Some caches are bigger than others. A typical L1 cache is 256Kb and a typical L2 cache is 1MB.

Generally speaking, the larger the cache, the better the system performance boost. However, this is not always the case.

A cache operates at a certain speed, just like the core of the CPU. Some caches operate at the full speed of the CPU, while others operate at half that speed or less.

Page 11: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

The Front Side Bus

The Front Side Bus (FSB) is the connection between the CPU and system memory.

The Front Side Bus operates at a speed which is a percentage of the CPU clock speed.

The faster the speed at which the Front Side Bus allows data transfer, the better the performance of the CPU.

Page 12: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

CPU - System Memory

RAM has an access speed. Faster RAM will mean the CPU has to wait less often for data. This will, effectively, make the CPU faster.

Page 13: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

IDE Connectors

Storage devices: Floppy drive Hard drive CD-ROM drive

Usually, these devices connect to the computer through an Integrated Drive Electronics (IDE) interface.

Essentially, an IDE interface is a standard way for a storage device to connect to a computer.

IDE cable

Page 14: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Most motherboards come with dual IDE interfaces (primary and secondary) for up to four IDE devices

To allow for two drives on the same cable, IDE uses a special configuration called master and slave.

This configuration allows one drive's controller to tell the other drive when it can transfer data to or from the computer.

SLAVE DRIVE A

MASTER DRIVE B

Are you idle?

Yes, go ahead and do your task

If the master drive is communicating with the computer, it tells the slave drive to wait and then informs it when it can go ahead.

This is done using the signal at Pin 39. Pin 39 carries a special signal, called Drive Active/Slave Present (DASP), that checks to see if a slave drive is present.

Page 15: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Serial ATA ( SATA)

SATA (Serial Advanced Technology Attachment) is used nowadays compared to IDE as connectors

One of the main design advantages of SATA is that the thinner serial cables facilitate more efficient airflow and also allow for smaller chassis designs

However, motherboards may come with both IDE and SATA connectors

Page 16: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

MEMORY

Page 17: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Two types of memory Random Access Memory (RAM)

Temporary storage of the data takes place. The data in RAM will be lost when the PC is shut down

Dynamic RAM and Static RAMFunction: Read and Write

Read Only Memory (ROM)Holds certain coding or information that controls certain

things about the computer system. The content WILL NOT be cleared when the PC is shut down.

Function: Read

Page 18: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

I/O PORTS

Page 19: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

I/O PortsThis covers all the socket especially at the

back of the PCThe intention of these ports are to plug in

external hardware such as a printer or a mouse into your PC

They work, for the most part, by being connected into the motherboard.

Page 20: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Power Supply

The power supply is visible from the back of many systems because it contains the power-cord receptacle and the cooling fan.

Connectors for power supply to the motherboard

Page 21: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

HARD DISC

Page 22: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

HARD DISC

The main storage device, where it holds huge programs and file sizes. So, the bigger, the better.

It stores data by magnetizing each section of the disc.

Page 23: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

HARD DISC Inside the hard disc:

A read and write head and it performs the reading and writing from the disc.

The heads do the work of converting bits to magnetic pulses and storing them on the sectors, and then reversing the process when the data needs to be read back.

If a sector fills up then the head will move to another sector, no matter where.

It has a special area that is allocated for File Allocation Table (FAT)

It is a table that an operating system maintains on a hard disk that tells the read/write head where all the pieces of information it needs.

Some parts of files get put in random places which are called fragments. So, a Disc Defragmenter can be use to put them in an orderly

fashion and therefore, improves access time.

Page 24: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Disc Defragmenter

Page 25: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

HARD DISCEvery hard disk must have a consistent "starting point"

where key information is stored about the disk, such as the number of partitions and what type they are.

There also must be someplace where the BIOS can load the initial boot program that starts the process of loading the operating system.

The place where this information is stored is called the

The MBR is located on the first sector of a disk

Master Boot Record (MBR)

Page 26: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

HARD DISC – Master Boot Record (MBR)The master boot record contains the following

structures: Master Partition Table: This small bit of code that is

referred to as a table contains a complete description of the partitions that are contained on the hard disk.

FAT is stored in MASTER PARTITION TABLE

Master Boot Code: The master boot code is the small bit of computer code that the BIOS loads and executes to start the boot process. This code, when fully executed, transfers control to the boot program stored on the boot (active) partition to load the operating system.

Page 27: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Solid State Disk/Drive (SSD)

Solid State Disk. DRAM base. No mechanical part thus no mechanical

error. Among the advantages, super faster boot

time.

Page 28: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

OTHERS

Expansion cards Cards inside PC that

gives it some features Eg: internal modems and

graphic cards

PCI = Peripheral Component Interconnect

Page 29: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Expansion card – PCI local bus

Peripheral Component Interconnect an industry-standard bus for attaching peripherals to

computers has displaced ISA and VESA Local Bus It is now replaced by PCIe (PCI Express)

PCIe employs serial links whereas PCI uses parallel links

Serial links: data can be sent over the bus in two directions at once.

Parallel links: data goes in one direction. Hence, for example, PCIe will provide much faster

video than the PCI.

Page 30: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Important concept

Concept ExplanationBinary data Data, be it instructions, user data or something

else, which has been translated into sequences of 0’s and 1’s.

Bus width The size of the packet of data which is processed (e.g. moved) in each work cycle. This can be 8, 16, 32, 64, 128 or 256 bits.

Band width The data transfer capacity. This is measured in, for example, kilobits/second (Kbps) or megabytes/second (MBps).

Page 31: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Important concept – c’tnd 1

Concept ExplanationCache A temporary storage, a buffer.

Chipset A collection of one or more controllers.  Many of the motherboard’s controllers are gathered together into a chipset, which is normally made up of a north bridge and a south bridge.

Controller A circuit which controls one or more hardware components. The controller is often part of the interface.

Page 32: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Important concept – c’tnd 2

Concept ExplanationHubs This expression is often used in relation to chipset

design, where the two north and south bridge controllers are called hubs in modern design.

Interface A system which can transfer data from one component (or subsystem) to another. An interface connects two components (e.g. a hard disk and a motherboard). Interfaces are responsible for the exchange of data between two components. At the physical level they consist of both software and hardware elements.

Page 33: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Important concept – c’tnd 3

Concept ExplanationI/O units Components like mice, keyboards, serial and

parallel ports, screens, network and other cards, along with USB, firewire and SCSI controllers, etc.

Clock frequency The rate at which data is transferred, which varies quite a lot between the various components of the PC. Usually measured in MHz.

Page 34: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Important concept – c’tnd 4

Concept ExplanationClock tick (or clock cycle)

A single clock tick is the smallest measure in the working cycle. A working cycle (e.g. the transport of a portion of data) can be executed over a period of about 5 clock ticks (it “costs” 5 clock cycles).

Logic An expression I use to refer to software built into chips and controllers. E.g. an EIDE controller has its own “logic”, and the motherboard’s BIOS is “logic”.

Page 35: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Important concept – c’tnd 5

Concept ExplanationMHz (Megahertz)

A ”speed” which is used to indicate clock frequency. It really means: million cycles per second. The more MHZ, the more data operations can be performed per second.

North bridge A chip on the motherboard which serves as a controller for the data traffic close to the CPU. It interfaces with the CPU through the Front Side Bus (FSB) and with the memory through the memory bus.

Page 36: INTRODUCTION TO PC ARCHITECTURE. MAIN COMPONENTS OF A COMPUTER 5 main components Motherboard The central processing unit ( CPU ) Memory I/O ports Hard

Important concept – c’tnd 6

Concept ExplanationProtocols Electronic traffic rules which regulate the flow

of data between two components or systems. Protocols form part of interfaces.

South bridge A chip on the motherboard which works together with the north bridge. It looks after the data traffic which is remote from the CPU (I/O traffic).