ICOM 6115 Computer Networks and the WWW Manuel

  • Slides: 23
Download presentation
ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph. D. Lecture 9

ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph. D. Lecture 9 ICOM 6115 ©Manuel Rodriguez-Martinez

Another view of bandwidth • Each signal will be made up of components of

Another view of bandwidth • Each signal will be made up of components of various frequencies • If a signal has a range of frequencies f 1 through f 2 – Bandwidth is f 2 – f 1 – Ex. If a signal has frequencies 10 Hz through 60 Hz, then the bandwidth will be 50 Hz – Telephone has 3 k. Hz of bandwidth • In this view (communications guys) our “bandwidth” is called data rate. ICOM 6115 ©Manuel Rodriguez-Martinez

Bandwidth and Data Rate • Henry Nyquist proved that – A signal with bandwidth

Bandwidth and Data Rate • Henry Nyquist proved that – A signal with bandwidth H can be reconstructed if the medium is sampled with a frequency 2 H. • Noiseless channel • If the signal has V discrete levels then – Data rate = 2 H log_2 V bits/sec – Data rate is proportional to the bandwidth • So, we will call data rate the bandwidth ICOM 6115 ©Manuel Rodriguez-Martinez

A few numbers • Bandwidth and data rates for a binary signaling scheme –

A few numbers • Bandwidth and data rates for a binary signaling scheme – Telephone - 3 k. Hz – gives 6000 bps • Need to user more tones to encode more bits – Go faster – Cooper • Cat 3 - 16 MHz • Cat 5 – 100 Mhz – Fiber • 25, 000 GHz ICOM 6115 ©Manuel Rodriguez-Martinez

Signal-to-Noise ratio • Data Channels are not noiseless • Signal-to-noise ratio – How much

Signal-to-Noise ratio • Data Channels are not noiseless • Signal-to-noise ratio – How much of the signal is noise – Decibel (d. B) – 10 log_10 S/N, where S/N is the signalto-noise ratio • Claude Shannon proved the following – Maximum Data rate = H log_10 (1 + S/N) bits/sec • Telephone has 3 k. Hz bandwidth and 30 d. B S/N – Maximum data rate = 30, 000 bps ICOM 6115 ©Manuel Rodriguez-Martinez

Guided Media • • Tape or a DVD Twisted Pair Cable Coaxial Cable Fiber

Guided Media • • Tape or a DVD Twisted Pair Cable Coaxial Cable Fiber Optics ICOM 6115 ©Manuel Rodriguez-Martinez

Tape • Store data in tapes, pack your tapes, and carry them around –

Tape • Store data in tapes, pack your tapes, and carry them around – This is a silly example, but illustrates difference between bandwidth and latency • One tape can hold hundreds of gigabytes – UItrium – 200 gigabytes – 1 box of 1000 tapes can hold 200 Terabytes, or 1600 terabits (1. 6 petabits) – Ship the box by 24 hours Fed. Ex – 86, 400 sec – Bandwidth of this link: 19 Gbps • From San Juan to Mayaguez (2 hr drive) – 200 Gbps ICOM 6115 ©Manuel Rodriguez-Martinez

The Problem with Tape • Latency. . . – It takes 1 day to

The Problem with Tape • Latency. . . – It takes 1 day to see any data by 24 hr Fed. Ex • But it is a 19 Gbps link – It takes 2 hours to see data any by driving from SJ to Mayaguez • But is a 200 Gbps link – It takes. 5 ms to see data on a 100 Mbps link with a RTT of 1 ms • Many times bandwidth is not the issue, is latency! ICOM 6115 ©Manuel Rodriguez-Martinez

Unshielded Twisted Pair Cooper CAT 3 – 16 MHz CAT 5 – 100 MHz

Unshielded Twisted Pair Cooper CAT 3 – 16 MHz CAT 5 – 100 MHz • Cables are twisted to like DNA – Make cable radiate less • Use by telephone, and in many LANs (Ethernet) • Most common cables are Cat. 3 and now Cat. 5 (most popular currently) – New comers (Cat 5 e, Cat 6 and Cat 7) ICOM 6115 ©Manuel Rodriguez-Martinez

Coaxial Cable (old timer) • Can span longer distances (shielding) – 75 ohm –

Coaxial Cable (old timer) • Can span longer distances (shielding) – 75 ohm – Cable TV – 50 ohm – Digital Transmission (old days Ethernet) • Bandwidth – 1 GHz (modern day) ICOM 6115 ©Manuel Rodriguez-Martinez

Cat 5, Coaxial and Ethernet ICOM 6115 ©Manuel Rodriguez-Martinez

Cat 5, Coaxial and Ethernet ICOM 6115 ©Manuel Rodriguez-Martinez

Fiber Optics • Way of the future – 1 Gbps (“cheap fiber”) – 10

Fiber Optics • Way of the future – 1 Gbps (“cheap fiber”) – 10 Gbps (“expensive fiber”) • Limited by the ability to convert between light and electrical signals. • Fiber gives the possibility of infinite bandwidth – Old days: avoid moving data over network – The Future: Spread data around network • It is cheap! ICOM 6115 ©Manuel Rodriguez-Martinez

Basics of Fiber Light Source Fiber glass Detector Light Source • Bits are converted

Basics of Fiber Light Source Fiber glass Detector Light Source • Bits are converted into light pulses by light source (1 is a light pulse, 0 is lack of light) • Then moved by fiber of glass. • Detector maps light to electrical signal • Put two lines: one to send, one to receive – Full duplex fiber ICOM 6115 ©Manuel Rodriguez-Martinez

Physics of Fiber • Prepare the glass so it can make light reflect completely

Physics of Fiber • Prepare the glass so it can make light reflect completely in the wire. ICOM 6115 ©Manuel Rodriguez-Martinez

Types of Fiber • Multi-mode fiber – Light pulses hit the glass at various

Types of Fiber • Multi-mode fiber – Light pulses hit the glass at various angles • Need repeaters to amplify signal • Single-mode fiber – Very thin glass – light goes almost on a straight line – Can go longer distances (100 km) without repeaters ICOM 6115 ©Manuel Rodriguez-Martinez

Fiber Networks: Active Repeaters - Failure of 1 link breaks the network + Links

Fiber Networks: Active Repeaters - Failure of 1 link breaks the network + Links can be kilometers in length (campus backbone) ICOM 6115 ©Manuel Rodriguez-Martinez

Fiber Networks: Passive Star ICOM 6115 ©Manuel Rodriguez-Martinez

Fiber Networks: Passive Star ICOM 6115 ©Manuel Rodriguez-Martinez

Passive Star: Tradeoff • Benefit – Failure in one interface won’t break network •

Passive Star: Tradeoff • Benefit – Failure in one interface won’t break network • Disadvantage – Light is broadcasted, so need good photodiodes • Limits the number of nodes you can have on the network ICOM 6115 ©Manuel Rodriguez-Martinez

Radio Waves • Use air as the medium for data transmission – Unguided –

Radio Waves • Use air as the medium for data transmission – Unguided – Natural Broadcast network – Security issue here • How to protect your data? • Need good encryption mechanism • Network card has radio transmitter and receiver ICOM 6115 ©Manuel Rodriguez-Martinez

Example: 801. 11 Family Base Station ICOM 6115 Ad-hoc Network ©Manuel Rodriguez-Martinez

Example: 801. 11 Family Base Station ICOM 6115 Ad-hoc Network ©Manuel Rodriguez-Martinez

Some Issues • Lack of coverage • Overlapping coverage ICOM 6115 ©Manuel Rodriguez-Martinez

Some Issues • Lack of coverage • Overlapping coverage ICOM 6115 ©Manuel Rodriguez-Martinez

The Telephone System • Why should we care? • Phone lines run through vast

The Telephone System • Why should we care? • Phone lines run through vast regions of the Earth – They reach homes, schools, offices • Big Idea! – Move data over phone lines • Build wide-area networks on top of leased lines from phone companies – Sprint, AT&T, Verizon ICOM 6115 ©Manuel Rodriguez-Martinez

ICOM 6115 ©Manuel Rodriguez-Martinez

ICOM 6115 ©Manuel Rodriguez-Martinez