Top Banner
1 Lecture 11: Lecture 11: Computer Systems and Networks Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”
52

1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

Dec 31, 2015

Download

Documents

Sybil Poole
Welcome message from author
This document is posted to help you gain knowledge. Please leave a comment to let me know what you think about it! Share it to your friends and learn new things together.
Transcript
Page 1: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

1

Lecture 11:Lecture 11:Computer Systems and NetworksComputer Systems and Networks

ITEC 1000 “Introduction to Information Technology”

Page 2: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

2

Lecture Template:Lecture Template:

System Performance ImprovementSystem Performance Improvement MultiprocessingMultiprocessing Computer InterconnectionComputer Interconnection OSI model and TCP/IPOSI model and TCP/IP Network TopologiesNetwork Topologies Protocols Protocols Wide Area NetworkWide Area Network High Performance ComputingHigh Performance Computing

Page 3: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

3

System Performance System Performance ImprovementsImprovements

Multiple CPUsSharing memory and I/O facilitiesConflict among the CPUs for shared resources

Faster clock speed, buses and circuitsImproving technology to design faster CPU circuits and buses

Wider instruction and data pathsWider interface between the CPU and memory allows to fetch more data in a single operation

Faster disk accessSmaller discs, more density packed, increased storageRAID: data on different discs, multiple access simultaneously

More and faster memoryReduces the time to access instructions and data

Page 4: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

4

MultiprocessingMultiprocessing

ReasonsIncrease the processing power of a systemParallel processing

Types of multiprocessor systemsTightly coupled systemsLoosely coupled systems

Page 5: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

5

Tightly Coupled SystemsTightly Coupled Systems

Also called multiprocessor systems Identical access to programs, data,

shared memory, I/O, etc. Easily extends multi-tasking, and

redundant program execution Two ways to configure

Master-slave multiprocessingSymmetrical multiprocessing (SMP)

Page 6: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

6

Tightly Coupled SystemsTightly Coupled Systems

Page 7: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

7

Master-Slave MultiprocessingMaster-Slave Multiprocessing

Master CPUManages the systemControls all resources and schedulingAssigns tasks to slave CPUs

AdvantagesSimplicityProtection of system and data

DisadvantagesMaster CPU becomes a bottleneckReliability issues – if master CPU fails entire system fails

Page 8: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

8

Symmetrical MultiprocessingSymmetrical Multiprocessing

Each CPU has equal access to resources Each CPU determines what to run using a

standard algorithm Disadvantages

Resource conflicts – memory, i/o, etc.Complex implementation

AdvantagesHigh reliabilityFault tolerant support is straightforwardBalanced workload

Page 9: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

9

Loosely Coupled SystemsLoosely Coupled Systems

Clusters or multi-computer systems Each system has its own CPU, memory, and

I/O facilities Each system is known as a node of the

cluster Advantages

Fault-tolerant, scalable, well balanced, distance is not an issue

Two ways to configureShared-nothing modelShared-disk model

Page 10: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

10

Shared-Nothing ModelShared-Nothing Model

High speed link between nodes No sharing of resources Partitioning of work through division

of data Advantage

Reduced communication between nodes Disadvantage

Can result in inefficient division of work

Page 11: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

11

Shared-Disk ModelShared-Disk Model

High speed link between nodes Disk drives are shared between nodes Advantage

Better load balancing Disadvantage

Complex software required for transactional processing (lock, commit phases)

Page 12: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

12

Cluster ModelsCluster Models

Page 13: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

13

Computer InterconnectionComputer Interconnection

Communication channel – pathway for data movement between computers

Point-to-Point connectivityCommunication channel that passes data directly between two computersSerial connectionTelephone modemTerminal controller – handles multiple point-to-point connections for a host computer

Multipoint connectivityMultidrop channel or shared communication channel

Page 14: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

14

Example: Point-to-PointExample: Point-to-Point

Page 15: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

15

DefinitionsDefinitions

Topology: the way in which loosely coupled computers are interconnected

Synonym: configuration

Protocol: a set of rules and standards for communications between computers

Page 16: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

16

Client-Server ArchitectureClient-Server Architecture

Computer server provides servicesFile storage, databases, printing services, login services, web services

Client computersExecute programs in its own memoryAccess files either locally or can request files from a server

Page 17: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

17

Client-Server NetworkClient-Server Network

F

server

Page 18: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

18

A typical data packetA typical data packet

Page 19: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

19

The layers of the OSI modelThe layers of the OSI model

Page 20: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

20

Passing a message through an Passing a message through an intermediate nodeintermediate node

Page 21: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

21

A comparison of OSI and TCP/IPA comparison of OSI and TCP/IP

Page 22: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

22

Beowulf ClustersBeowulf Clusters

Simple and highly configurable Low cost Networked

Computers connected to one another by a private Ethernet networkConnection to an external network is through a single gateway computer

ConfigurationCOTS – Commodity-off-the-shelf components such as inexpensive computersBlade components – computers mounted on a motherboard that are plugged into connectors on a rackEither shared-disk or shared-nothing model

Page 23: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

23

Blade and Rack of Beowulf ClusterBlade and Rack of Beowulf Cluster

Page 24: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

24

LAN TopologyLAN Topology

Arrangement of workstations in a shared medium environment

Logical arrangement (data flow) Physical arrangement (cabling

scheme)

Page 25: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

25

Network TopologiesNetwork Topologies

Bus: Nodes are connected to a common bus with a terminator on each end.

Ring: Similar to bus, but bus is closed - no ends.Star: A central node does most of the processing. Remote

nodes are connected point-to-point with it.Loop: Similar to ring but nodes are directly in

communication path.Hierarchical: A tree-like structure emanating from a central or

root node.Web: Everything connected to everything else.

Page 26: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

26

LAN Topologies: RingLAN Topologies: Ring

Repeaters are joined by unidirectional point-to-point links in a ring

As data circulates past a receiver, the receiver checks its address, and copies those intended for it into a local buffer

Data circulates until it returns to source, which removes it from network

Better performance at high levels of usage

Page 27: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

27

Ring LAN DiagramRing LAN Diagram

Page 28: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

28

Ring TopologyRing Topology

Page 29: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

29

LAN Topologies: Bus

Multipoint medium Stations attach to linear medium (bus)

using tap Transmission from any stations

travels entire medium (both directions)

Termination required at ends of bus to prevent the signal from bouncing

Break in cable brings down entire bus

Page 30: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

30

Bus LAN DiagramBus LAN Diagram

Page 31: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

31

Bus TopologyBus Topology

Page 32: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

32

LAN Topologies: TreeLAN Topologies: Tree

Generalization of bus topology Branching cable with no closed loops Cable(s) begin at headend, travel to

branches which may have branches of their own

Each transmission propagates through network, can be received by any station

Page 33: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

33

LAN Topologies: StarLAN Topologies: Star

Each station connected point-to-point to a central station, usually with two unidirectional links

Switching in the central station connects pairs of nodes together

Central node can broadcast info, or can switch frames among stations

Failure of central station causes entire network to go down

Page 34: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

34

Star LAN DiagramStar LAN Diagram

Page 35: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

35

Star TopologyStar Topology

Guy inthe

Middle

Page 36: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

36

Loop TopologyLoop Topology

Page 37: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

37

Hierarchical TopologyHierarchical Topology

Big Guy at Top

Page 38: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

38

Web TopologyWeb Topology

Page 39: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

39

Topology Selection: FactorsTopology Selection: Factors

Distances between stations Layout of the room/building Overall size of the network Distance between the most remote

nodes Speed requirements Network traffic Total number of stations

Page 40: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

40

Medium Access Control (MAC) Medium Access Control (MAC) ProtocolsProtocols

Characteristics of the channels, data rate, voltage levels, etc.

Node access to the channel (medium access control protocol)

Steer data to its destinationDetect errorsPrevent multiple nodes from accessing the network simultaneously (collision)Ethernet and token ringImplemented in hardware

Page 41: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

41

Ethernet MAC ProtocolEthernet MAC Protocol

MAC – Medium Access Control Ethernet and CSMA/CD

Carrier sense multiple access with collision detection

Four step procedureIf medium is idle, transmitIf medium is busy, listen until idle and then transmitIf collision is detected, cease transmittingAfter a collision, wait a random amount of time before retransmitting

Page 42: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

42

Ethernet FrameEthernet Frame

Page 43: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

43

Switched EthernetSwitched Ethernet

Page 44: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

44

Token Ring MAC ProtocolToken Ring MAC Protocol

Token “seized” by changing a bit on the circulating frame to indicate start of frame rather than token

Default configuration requires sender to complete transmission and begin receiving transmitted frame before releasing the token

“Early token release” allows release of token after transmission but before receipt of frame

Page 45: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

45

HubsHubs

The active central element of the star layout

When a single station transmits, the hub repeats the signal on the outgoing line to each station

Hubs can be cascaded in a hierarchical configuration

Ethernet hubs are physically a star but logically a bus

Page 46: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

46

BridgesBridges

Allow connections between LANs and to WANs

Used between similar networks Read all frames from each networkAccept frames from sender on one network that are addressed to a receiver on the other networkRetransmit frames from sender using MAC protocol for receiver

Page 47: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

47

GatewaysGateways

Similar to bridges but connect dissimilar networks

Convert format of the message to correspond to the protocol of the other network

Network traffic is specifically addressed to the router

Page 48: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

48

Wide Area NetworkWide Area Network

Circuit switchingDedicated channel between source and destination for duration of connection

Message switchingDedicated channel for an entire message

Packet switchingAn independent path is created for each datagram

Virtual circuit switchingA route is created from source to destination before transmission begins and all datagrams are sent using the same route

Page 49: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

49

A Switched Wide Area NetworkA Switched Wide Area Network

Page 50: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

50

Networks vs. ClustersNetworks vs. Clusters

Externally, clusters appear as a single computing unit

Network nodes are individually identifiable

Workload on a cluster is determined by cluster administration and load-balancing software

Network workload cannot be controlled using the above method

Page 51: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

51

High Performance ComputingHigh Performance Computing

Massively parallel processor architectures (MPP)

Clusters of power machines or larger Beowulf blade clusters

Well suited for problems that can be broken into subtasks

Grid computingSupercomputer performance through distributing CPU processing to the spare CPU cycles of personal computers connected to a network

Page 52: 1 Lecture 11: Computer Systems and Networks ITEC 1000 “Introduction to Information Technology”

52

Parallel ComputersParallel Computers

Massively parallel architectures Hundreds to millions of CPUs CPUs have small amounts of local memory All CPUs have access to global shared

memory Pipelined CPUs

Results from one CPU flow to the next CPU for additional processing