2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive...

41
2. The Computer System 2.1 System Unit

Transcript of 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive...

Page 1: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

2. The Computer System

2.1 System Unit

Page 2: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Classification of Computers

• Mainframe– Most intensive computational tasks– Large, powerful and expensive– Can handle large centralised database and

run many applications at the same time– Designed for multi-user environment– Often used in government departments or l

arge organisations.

Picture is captured from ibm.com

Page 3: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Classification of Computers

• Mainframe

Picture are captured from Computer Studies for the New Generation Vol. 1, W.H. Kwan, Chung Tai Educational Press

Page 4: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Classification of Computers

• Minicomputer

Picture is captured from hp.com

Page 5: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

MicroComputer Set

• Desktop / Personal Computer (PC)

Picture is captured from ibm.com

Page 6: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

MicroComputer Set

• Laptop / Notebook

Picture is captured from ibm.com

Page 7: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

MicroComputer Set

• Workstation

Picture is captured from ibm.com

Page 8: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

MicroComputer Set

• Handheld / Palmtop

Picture is captured from ibm.com

Page 9: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Hardware Components

• Hardware are the physical components of a computer system. These components can be divided into five groups:– Input device– Output device– CPU– Main memory– Storage device

Page 10: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Hardware Components

Picture is captured from ibm.com and amd.com

Input Device

CPU

Output Device

Main Memory

Storage Device

*

Page 11: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

Copied from whatis.com and einstein.et.tudelft.nl/~offerman

• CPU (central processing unit) is an older term for processor and microprocessor, the central unit in a computer containing the logic circuitry that performs the instructions of a computer's programs

• CPU is the "brain" of the computer. Its function is to execute programs stored in the main memory by fetching their instructions, examining them, and then executing them one after another.

*

Page 12: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• The processor (really a short form for microprocessor and also often called the CPU or central processing unit) is the central component of the PC. It is the brain that runs the show inside the PC. All work that you do on your computer is performed directly or indirectly by the processor.

* Copied from pcguide.com

Page 13: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

Picture is captured from techweb.com/encyclopedia/

Page 14: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Reference sites:– http://www.pcguide.com/ref/cpu– http://einstein.et.tudelft.nl/~offerman/– http://www.webopaedia.com– http://www.whatis.com – http://www.sharkyextreme.com/hardware/h

ardware_cpu.shtml– http://www.soyo.com.tw/

* Copied from pcguide.com

Page 15: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

Copied from pcguide.com

• The processor controls the entire PC, and uses dedicated control pathways called "buses" to send information between itself and the system cache, memory and other devices. These are the processor's external interfaces, which can be different even for otherwise similar CPUs.

*

Page 16: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Older CPU consists of– Arithmetic Logic Unit (ALU)

• Perform arithmetic on data. E.g., +, -, ×, ÷• Perform logical operations on data. E.g. testing whether 2

data items are equal (true or false)

– Control Unit• Control the access of data and instructions from main

memory (extracts instructions from memory and decodes and executes them, calling on the ALU when necessary)

• Direct the sequence of instructions• Interpret each program instruction (decode instructions)• Give control signals (or commands) to appropriate

hardware devices

Page 17: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Older CPU consists of– Bus Interface

• Under the monitoring of control unit, read/write data and communicate with other PC components through Bus.

Page 18: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Modern CPU consists of– Arithmetic Logic Unit (ALU)

• Perform arithmetic and logical calculation• Can simultaneously execute many operations with a number of i

ndividual ALU

– Execution Control Unit• Coordinate the operations of other units

– Floating Processing Unit (FPU)• Perform floating point calcuation

– Instruction Decoder• Decode instructions• Extracts instructions from memory and decodes and executes t

hem

Page 19: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Modern CPU consists of– Bus Interface

• Under the monitoring of control unit, read/write data and communicate with other PC components through Bus.

– Cache• A special high-speed storage mechanism.• Reduce the number of times of the direct

access between CPU and main memory• Improve the efficiency of the CPU operations

Page 20: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Efficiency of CPU based on– A. Bit processing capability

• Registers• Data bus• Execution width of instructions• Unit is bit

Page 21: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Efficiency of CPU based on– B. Memory Control

• Number of address lines• E.g. 32 address lines can control 232 Bytes = 4

GB

– C. Structure of Internal Operation• Cache, data read/write, instruction read/write,

memory read/write, …

Page 22: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Efficiency of CPU based on– D. Chips’ circuit size ( 晶片製程 )

• The size of MOS (metal-oxide semiconductor) transistor• The smaller the circuit size, the more of MOS transistors c

an be packed inside a chip, and thus the more powerful is the processor.

• 3 kinds: TTL, CMOS, BiCMOS• CPUs employ CMOS and BiCMOS• Unit is micron / μm = 10-6 m• Microns is the width, in microns, of the smallest wire on th

e chip. For comparison, a human hair is 100 microns thick. As the feature size on the chip goes down, the number of transistors rises.

Page 23: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU

• Efficiency of CPU based on– E. Clock

• The higher the clock speed, the shorter the time a CPU requires to execute an instruction, thus the higher the overall efficiency.

• Unit is MHz (Mega Hertz)

• References:– http://www.pcguide.com/ref/cpu/char/chip.htm– http://einstein.et.tudelft.nl/~offerman/cl.2.1.html

Page 24: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Some Types of CPUs

AMD Duron 950 MHz AMD Athlon 1.4 GHz

AMD

Copied from sharkyextreme.com

Page 25: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Some Types of CPUs

Celeron 800 MHz

Pentium !!! 1 GHz

Intel

                       

        

P4 2.0 GHz

Copied from sharkyextreme.com

Page 26: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Some Types of CPUs

• Reference– http://www.sharkyextreme.com/hardware/h

ardware_cpu.shtml

Page 27: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Socket Standards

• Socket 7– 321-pin square-sized PGA

ZIP socket– Highest clock rate is 66 M

Hz– AMD processors, Cyrix M-

II, IDT WinChip 2

Copied from techweb.com/encyclopedia/

Page 28: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Socket Standards

• Socket 7– Zero Insertion Force (ZIP) socket is a type

of socket designed for easy insertion of pin grid array (PGA) chips. The chip is easily dropped into the socket's holes, and a lever is pulled down to lock it in. Pulling the lever moves the top plate of the assembly, pushing the pins into their contacts.

Copied from techweb.com/encyclopedia/

Page 29: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Socket Standards

• Socket 370– Socket 370 is Intel's new plasti

c PGA (PPGA) ZIF motherboard socket for its line of Celeron and Pentium processors.

– more economical than the elaborate Slot 1 Pentium II system

– Socket 370 accepts a 370-pin PPGA chip package, instead of the SEC (single edge cartridge) Slot 1 package.

Copied from techweb.com/encyclopedia/ and webopaedia.com, soyo.com.tw and (tomshardware.com)

Page 30: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Socket Standards

• Socket 370 – http://www.overclocker.com.tw/99/

socket370.asp

Page 31: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Socket Standards

• Socket 8– A receptacle on the mothe

rboard for a K7 CPU chip from AMD. It is physically similar to Slot 1, but has different electrical requirements

• Socket A– Designed for some AMD A

thlon and Duron CPUs

Copied from soyo.com.tw

Socket A

Page 32: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Socket Standards

• Socket 423 and socket 478– Designed for P4 CPUs

• Super7– A specification from AMD for PC motherboards

or single board computers that allows non-Intel CPU chips to take advantage of faster bus speeds and newer peripheral technologies. It specifies the older Socket 7 CPU receptacle and adds support for AGP, USB, Ultra ATA and the 100MHz bus

Page 33: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Slot Standards

• Slot 1– A 242-pin slot on the

motherboard that holds Intel CPU modules including the Intel Single Edge Contact Cartridge (SECC and SECC2) and Single Edge Processor Package (SEPP).

– Slot 1 is a narrow slot like a PCI bus slot

– P2 was the first to use Slot 1

Copied from techweb.com/encyclopedia/ and soyo.com.tw

Page 34: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Slot Standards• Slot 2

– A 330-pin slot – Intel's Xeon chips were the first to use Slot 2– Designed for multiprocessing (SMP) systems, Slot 2 m

otherboards typically come with two slots and require a termination card if only one CPU is plugged in

– The biggest difference between Slot 1 and Slot 2, though, is that the Slot 2 design allows the CPU to communicate with the L2 cache at the CPU's full clock speed. In contrast, Slot 1 only supports communication between the L2 cache and CPU at half the CPU's clock speed.

Copied from techweb.com/encyclopedia/ and webopaedia.com

Page 35: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Slot Standards

• Slot 2

Copied from soyo.com.tw

Page 36: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Slot Standards

• Slot A– A receptacle on the

motherboard for a K7 CPU chip from AMD. It is physically similar to Slot 1, but has different electrical requirements

Copied from techweb.com/encyclopedia/ and soyo.com.tw

Page 37: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU Speed

CPU speed ( 內頻 )

= External clock ( 外頻 ) × Multiplier factor ( 倍頻 )

• External clock (Local Bus rate) is the working speed of the devices on the motherboard

Page 38: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU Speed

• Setting the working frequency higher than the PCI chipset or processor specs, may cause abnormal memory module functioning, system hangs, hard disk drive data lose, abnormal functioning of the VGA card, or abnormal functioning with other add-on cards

Page 39: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

CPU Clock• Using a quartz crystal, the

CPU clock breathes life into the CPU by feeding it a constant flow of pulses.

• For example, a 200MHz CPU receives 200 million pulses per second.

• Similarly, in a communications device, the clock synchronizes the data pulses between sender and receiver.

Page 40: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

Working Voltage• Each CPU has its own working voltage• Normally, the higher the voltage, the larger the work

done, and thus CPU may hang due to the higher the temperature

• The lower the voltage, the less the electricity consumption, the lower the CPU’s temperature

• Common CPUs have double-voltage design– Vcore ( 核心電壓 ) and Vio ( 對外電壓 )

• P2, P!!! and Celeron CPUs directly send a set of Voltage Identification (VID) signals to the power supply on the motherboard

Page 41: 2.The Computer System 2.1System Unit. Classification of Computers Mainframe –Most intensive computational tasks –Large, powerful and expensive –Can handle.

How to Install CPU

• Reference:– http://www.sharkyextreme.com/hardware/

guides/cpu_install_guide/