computer hardware computers and components. basic computer system main memory alucntl..... bus...

37
Computer Hardware Computers and components

Upload: reynard-russell

Post on 28-Dec-2015

220 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Computer Hardware

Computers and components

Page 2: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS
Page 3: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS
Page 4: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Basic Computer System

MAIN MEMORY

ALU CNTL.....

BUS

CONTROLLER

Processor

I/O moduleInterconnections

BUS

ATTACHEDDEVICE

Page 5: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

ComputerComponents

Page 6: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

CPU Cycle

Start FETCH EXECUTE Halt

Increment Program Counter

FETCH EXECUTE

Page 7: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Execution Cycle

Page 8: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Instruction SetsComplex (CISC) or Reduced (RISC)

ALUCNTL

.....

ROM

INSTRUCTIONS

Page 9: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Measuring Processing Power

Clock SpeedInstruction SpeedWord Length and Bus WidthSpeed of ArithmeticInstruction SetPipelining

Page 10: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Primary Storage

Volatile DRAM SRAM Cache

Nonvolatile ROM

Page 11: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Kilobytes KB 1,000 BText document

Megabytes MB 1,000,KBImages

Gigabytes GB 1,000 MBHard disk drives

Terabytes TB TrillionsData warehouse files

Measuring Storage (bytes)

Page 12: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Attached I/O Devices

Secondary Storage DASD Tape Removable

Electronic Storage

Optical (etc.) devices

Communication Devices Modems and

Codecs LAN’s, Backbones

and WAN’s Routers and

other node devices

Page 13: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Secondary Storage Devices

Fixed Mediahard disksRAID

Removable Mediadiskettelaser-servo

diskettecartridge diskstapeCD-ROMflash memory

Page 14: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Attached Devices

Hardware: device itself such as a disk or video display device.

Electronics: controller that communicates with the device

Software: device driver that is loaded into the computer operating system

Page 15: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Local and Peripheral

Bus

Page 16: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS
Page 17: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Data Transfer:

MAIN MEMORY

BUFFER

CPU

T AAD

CONTROLLER

DASD

CPUCPUCPUCPU

CHANNEL

Page 18: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

I/O Controller (DASD)

PROCESSOR REGISTER

REGISTER

REGISTER

BUFFER

Page 19: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Direct Access Storage Device (DASD)

Page 20: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

DASD Structure

Read-Write Heads

Page 21: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Cylinder/Track/Block

Block (Sector)Track

Cylinder

Page 22: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Disk Organization

Page 23: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Data Storage

FAT (File Access Tables), Directories and Catalogs

Update and DeleteFragmentation and reorganizationBlocks, Headers and Interblock Gaps

Page 24: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Hardware II

Page 25: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

General Purpose Computing

Software primacyApplications are controlled by changing the instructions run by the computer, rather than by changing the hardware

ASIC’s and FirmwareAny program that can be written in software can also be burned onto a chip as a family of circuits

Page 26: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Computer Classifications

Size mainframe midrange microcompute

r

Function legacy

mainframe server router client

Page 27: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Mainframe (Legacy)

Tuned for transaction processing

Has channels to support very large numbers of attached devices

Runs a mainframe operating system

Tend to support legacy software

Page 28: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Client/Server Architectures

SERVER PROCESSING

CLIENT PROCESSING

CENTRALIZED STAND-ALONE

FAT SERVER FAT CLIENT

Page 29: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Client/Server Architecture

An architecture in which the client (personal computer or workstation) is the requesting machine and the server is the supplying machine, both of which are connected via a network.

Page 30: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Client/Server Architecture

ClientMay do some or all

of the processingRequests services

from the network

ServerContains data and

may contain programs

Server downloads information (applications or data) to the client for operation

Page 31: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Client

Use relatively inexpensive computer chips (Intel or Motorola)

Have a single processorOptimized for user

convenienceSingle userLimited numbers of

attached devices

Page 32: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Server

Use inexpensive CPU chips

Designed with redundant components

Have large internal memory capacity

May not need very fast CPU capability

Page 33: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Three Tier Client/Server

Page 34: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Any time Any place Any way

Page 35: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Router

Used to segment networks and prepare message packets for transmission

Special purpose operating system to read and forward message packets

May support firewall functionsSupport special purpose CPU chips

and optimized network sysems

Page 36: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Routers

Input Buffer

Proces- sor

Output Buffer

From A From B

To C To D

Table ofAddresses

Input Buffer

Input BufferOutput Buffer

Page 37: Computer Hardware Computers and components. Basic Computer System MAIN MEMORY ALUCNTL..... BUS CONTROLLER Processor I/O moduleInterconnections BUS

Central ArchitectureClient/ServerWeb Access