Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm...

38
Computer Networks Paul Maynard

Transcript of Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm...

Page 1: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Computer Networks

Paul Maynard

Page 2: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

What is a network?

• A network can be defined as a system ofinterconnected communication stations.(1)

• Communication stations are commonlyreferred to as nodes. They can be:– Computers– Printers– Terminals

Page 3: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

What good is a network?

• Resource sharing– Printers– Storage

• Movement of data– Quick movement of information

• Cost cutting

Page 4: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Network Topologies

• Mesh• Bus• Ring• Star• Hybrid

Page 5: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Mesh Topology

Advantages• Directly connect the

nodes.• Simple to implement

and troubleshootDisadvantages

• Connections– (x * x – 1)/2

• X is the number of nodes

Page 6: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Bus Topology

Advantages• Scalability• Shorter cables

Disadvantages• Trouble shooting

Page 7: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Ring Topology

Advantages• Distance between

nodes• Higher throughput

than busDisadvantages

• Failure• Trouble shooting• Slow node problem

Page 8: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Star Topology

Advantages• Management• Scalability

Disadvantages• Single point of Failure

Page 9: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Hybrid Topology

• Other topologiescombined

• Came from want toconnect existingnetworks together

Page 10: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

The OSI Model

• What is it?– Open systems interconnection– General specifications for networks

• Who created it?– Mainly ISO– IEEE, ANSI, EIA, and others

Page 11: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

The 7 OSI Model Layers

• Physical• Data link• Network• Transport• Session• Presentation• Application

Page 12: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

The OSI Model

Page 13: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Physical layer

• The conversion of the data into a sendingstream– Electrical pulses– Radio waves– Light pulses

• Defines the transmission medium– Copper, air, or fiber optics

• Defines how the transmission will be done

Page 14: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Cable Type Comparisons

Mostexpensivetype of cable

Notsuscep tibleto electronicinterference

M ostdifficult2000 meters

100 Mbpsto2 Gbps

Fiber Optic

300100

M oreexpensivethan mostcable

M oreresistantthan mostcable

M oredifficult thanThinnet

500 meters10 Mbps10Base5

102430InexpensiveSomewhatresistant

MediumDifficulty185 meters10 Mbps10Base2

M oreexpensivethan Thinnetor UTP

Somewhatresistant

M oderatelyEasy100 meters16 to 155

MbpsSTP

M oreexpensivethan10BaseT

Highlysuscep tibleEasy100 meters100 Mbps100BaseT

1 computerLeastexpensive

Highlysuscep tibleEasy100 meters10 Mbps10BaseT

# of nodesper network

# of nodesper segmentCostInterferenceInstallationDistanceS peedType

Cable Type Comparisons

Page 15: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Data link and Network layers

Data link• Error control• Logical

synchronization• Data flow• Method of data

transmission

Network• Message delivery• Connection control• Controls the route• Does the name

translation

Page 16: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Transport and session layer

Transport• Makes sure the

message is receivedwithout error

• Divides the messageinto packets

• Controls the qualityof service

Session• Connection and

disconnection• Binding• Interface between

connections

Page 17: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Presentation and application layer

Presentation• Encryption• Type conversions

Application• Basic application

protocol– HTTP– SMTP– FTP– IRC

Page 18: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Network classifications

• LAN• GAN, WAN, and MAN• CAN

Page 19: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

LAN – Local Area Network

• Small usually connects nodes in a singlebuilding.

• Most common LAN technologies– Ethernet– Token Ring– FDDI – Fiber Distributed Data Interface

Page 20: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

GAN, WAN, MAN, and CAN

• Larger classifications of networks• Spread over a larger areas

• CAN – Campus area network• MAN – Metropolitan area network• WAN – Wide area network• GAN – Global area network

Page 21: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

References

• Data & Network Communications – Miller• http://compnetworking.about.com/od/networkdesign/l/aa

041601a.htm• http://www.webopedia.com/quick_ref/OSI_Layers.asp• http://www.geocities.com/SiliconValley/Monitor/3131/ne/

osimodel.html• http://students.juniata.edu/rappdl3/hybrid.gif

Page 22: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Supercomputer

Nathan Liang

Page 23: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Overview• What are Supercomputers?

– Most advance and powerful

• Why were they built?– to solve problems that are too complex or too massive for

standard computers

• Some supercomputers are single computersconsisting of multiple processors; others are clustersof computers that work together

Page 24: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Supercomputers introduced in the 1960s.

Cray-1 was designed by Seymour Cray at Control Data Corporation (CDC).It could perform over a hundred million arithmetic operations per second.

Page 25: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

• CDC's early machines were very fast single processors.

• In the 1970s most supercomputers were dedicated to running avector processor, and many of the newer players developed theirown such processors at lower price points to enter the market.

• In the later 1980s and 1990s, attention turned from vectorprocessors to massive parallel processing systems with thousandsof simple CPUs; some being off the shelf units and others beingcustom designs.

• Today, parallel designs are based on "off the shelf" RISCmicroprocessors, such as the PowerPC or PA-RISC.

Page 26: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Supercomputer Architecture• Vector computers use a very fast data “pipeline”

to move data from components and memory inthe computer to a central processor.– a single super-fast processor with all the computer's

memory allocated to its operation

• Parallel computers use multiple processors,each with their own memory banks, to 'split up'data intensive tasks.– A parallel machine has multiple processors, each

with its own memory

Page 27: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

• Vector machines are easier to program, while parallelmachines, with data from multiple processors (in somecases greater than 10,000 processors), can be tricky toorchestrate

Page 28: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Some supercomputer designs feature• network co-processors

– Problem: When sending and receiving data at the ratenecessary for high-performance networking, it's common for asingle processor to become heavily loaded with communicationsinterrupts that take away too many cycles from primarycomputing tasks.

• Supercomputer Interconnects– utilize specialized network interfaces.– support high bandwidth and very low latency communication.

Page 29: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Blue Gene

Page 30: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

• Interconnects join nodes inside the supercomputer together– Compute nodes– I/O nodes– Service nodes and network nodes– Special purpose nodes

• Supercomputer nodes fit together into a network topology– Hypercube, mesh, and torus

• Message Passing– Supercomputers that utilize message passing require routing to ensure the

individual pieces of a message are routed from source to destination through thetopology without creating hotspots (bottlenecks).

• Supercomputers utilize various network protocols.– Application data communication generally take place at the physical and data

link layers.– I/O and communications with external networks utilize technologies like HIPPI,

FDDI, and ATM as well as Ethernet.– Do not utilize wireless

Page 31: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Processing Speed• Supercomputer computational power is rated in

FLOPS (Floating Point Operations Per Second)• The first commercially available

supercomputers reached speeds of 10 to 100million FLOPS

• the Cray C90 (built in the mid to late 1990s) hasa processing speed of only 8 gigaflops. It cansolve a problem, which takes a personalcomputer a few hours, in .002 seconds.

Page 32: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

• vector processor– a CPU design that is able to run mathematical operations on a

large number of data elements very quickly– Cray90 can do 7.8 gigaflops

• Parallel computing– the simultaneous execution of the same task (split up and

specially adapted) on multiple processors in order to obtainfaster results.

– Cray SX-6 A design of using parallel computing with multipleVector processors

Page 33: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

• BeoWulf– Originally developed by Donald Becker at NASA– a design for high-performance parallel computing clusters on

inexpensive personal computer hardware– A Beowulf cluster is a group of usually identical PC computers

running FreeBSD or another open source Unix operatingsystem, such as Linux or OpenBSD

– They are networked into a small TCP/IP LAN, and have librariesand programs installed which allow processing to be sharedamong them.

– It uses parallel processing libraries include MPI (Message

Passing Interface) and PVM (Parallel Virtual Machine) to permitthe programmer to divide a task among a group of networkedcomputers, and recollect the results of processing

Page 34: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

University of Kentucky KLAT2

• University of Kentucky’supercomputer brought down theprice to $650 per GigFlops.

• To function as a supercomputer,the PCs within a cluster need tobe interconnected by a high-performance network.

• Instead of expensive gigabitnetwork hardware, KLAT2'snetwork uses lots of cheap100Mb/s Ethernet hardware in anew configuration called a "FlatNeighborhood" network

Page 35: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Some Fastest Supercomputers

• Today's fastest supercomputers include IBM's Blue Gene andNASA’s Columbia, NEC Earth Simulator, and Barcelona’s (Spain)MareNostrum

• These supercomputers are usually designed to carry out specifictasks– Example:

NEC Earth Simulator is located at the Earth Simulator Center inKanazawa-ku (ward), Yokohama-shi, Japan. The computer is capableof 35.86 trillion (35,600,000,000,000) floating-point calculations persecond, or 35.86 TFLOPS. The system was developed for NASDA,JAERI, and JAMSTEC in 1997 for climate simulation.

Page 36: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

It consists of 640 nodes with eight vector processors and 16gigabytes of computer memory at each node, for a total of 5120processors and 10 terabytes of memory. The system has 700terabytes of disk storage and 1.6 petabytes of mass storage intape drives

– Another example:IBM’s Blue/Genethis high-end computer architecture can be scaled to thehundreds of teraflops

Page 37: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

• Supercomputers are called upon to perform the most compute-intensive tasks of modern times.

• Modeling of real world complex systems such as fluid dynamics,weather patterns, seismic activity prediction, and nuclear explosiondynamics represent the most modern adaptations ofsupercomputers.

Page 38: Computer Networks - MGNet Home Pagedouglas/Classes/cs521/arch/ComputerArch2005-2.ppt• 041601a.htm ... this high-end computer architecture can be scaled to the hundreds of teraflops

Reference• Top 500 (www.top500.org)• Cray Inc (www.Cray.com)• BeoWulf (www.beowulf.org)• Earth Simulator (www.es.jamstec.go.jp)