EE:450 – Computer Networks

Slides:



Advertisements
Similar presentations
T305: Digital Communications
Advertisements

EE384Y: Packet Switch Architectures
1 UNIT I (Contd..) High-Speed LANs. 2 Introduction Fast Ethernet and Gigabit Ethernet Fast Ethernet and Gigabit Ethernet Fibre Channel Fibre Channel High-speed.
Chapter 5 Analog Transmission.
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Jeopardy Q 1 Q 6 Q 11 Q 16 Q 21 Q 2 Q 7 Q 12 Q 17 Q 22 Q 3 Q 8 Q 13
Streaming Video over the Internet
Long-Distance and Local Loop Digital Connection Technologies
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
HW for Chapter 3 Exercises: 38, 45, 47, 48.
(Data and Signals - cont)
PERFORMANCE One important issue in networking is the performance of the networkhow good is it? We discuss quality of service, an overall measurement.
1 EE 122: Networks Performance & Modeling Ion Stoica TAs: Junda Liu, DK Moon, David Zats (Materials with thanks.
CP2073 Networking Lecture 5.
The IP Revolution. Page 2 The IP Revolution IP Revolution Why now? The 3 Pillars of the IP Revolution How IP changes everything.
ABC Technology Project
1 Comnet 2010 Communication Networks Recitation 4 Scheduling & Drop Policies.
Chapter 20 Network Layer: Internet Protocol
1 Introduction to Network Layer Lesson 09 NETS2150/2850 School of Information Technologies.
Chapter 5 Test Review Sections 5-1 through 5-4.
25 seconds left…...
Slippery Slope
We will resume in: 25 Minutes.
Network Operations & administration CS 4592 Lecture 15 Instructor: Ibrahim Tariq.
PSSA Preparation.
TCP/IP Protocol Suite 1 Chapter 18 Upon completion you will be able to: Remote Login: Telnet Understand how TELNET works Understand the role of NVT in.
Probability Review.
ECE358: Computer Networks Fall 2014
Assume that a file is transferred from a node A to a node B. The file has been fragmented in 5 frames. Frame 0 is corrupted, the ACK of frame 1 is corrupted,
Fundamentals of Computer Networks ECE 478/578
Chapter-3-1CS331- Fakhry Khellah Term 081 Chapter 3 Data and Signals.
CECS 474 Computer Network Interoperability Notes for Douglas E. Comer, Computer Networks and Internets (5 th Edition) Tracy Bradley Maples, Ph.D. Computer.
ECE 4450:427/527 - Computer Networks Spring 2015
Computer Networks Computer Networks Term B10 Network Delay Network Delay Performance Problems.
Lecture 2 Introduction 1-1 Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit.
Computer Networks: Performance Measures1 Computer Network Performance Measures.
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Networks: Sample Performance Problems 1 Sample Network Performance Problems.
Calculating “a”. a Used as a term in analyzing many network characteristics Has a physical interpretation Represents the number of frames on a link.
Lecture Internet Overview: roadmap 1.1 What is the Internet? 1.2 Network edge  end systems, access networks, links 1.3 Network core  circuit switching,
Problems.
Chapter 3 Data and Signals
Advanced Computer Networks 1 Sample Network Performance Problems.
 Frequency Spectrum and Bandwidth  Other Definitions of Bandwidth  Digital Signals.
Chapter 3 part II Data and Signals
3.1 Figure 3.16 Two digital signals: one with two signal levels and the other with four signal levels.
1 Computer Communication & Networks Lecture 4 Circuit Switching, Packet Switching, Delays Waleed.
Chapter 4. After completion of this chapter, you should be able to: Explain “what is the Internet? And how we connect to the Internet using an ISP. Explain.
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 8.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
02 – Performance Basics 1CS Computer Networks.
CS 164: Slide Set 2: Chapter 1 -- Introduction (continued).
ICOM 6115©Manuel Rodriguez-Martinez ICOM 6115 – Computer Networks and the WWW Manuel Rodriguez-Martinez, Ph.D. Lecture 7.
Lecture # 03 Switching Course Instructor: Engr. Sana Ziafat.
Chapter 3 Data and Signals. 3.2 Last Lecturer Summary Bit Rate Bit Length Digital Signal as a Composite Analog Signal Application Layer Distortion Noise.
What is the Speed of the Internet? Internet Computing KUT Youn-Hee Han.
Lecture Focus: Data Communications and Networking  Transmission Impairment Lecture 14 CSCS 311.
Computer Communication & Networks Lecture # 10. Bandwidth ϞBand Width means the width of the band (channel) ϞIt is the maximum capacity of a link ϞThat.
Delay in packet switched network. Circuit switching In Circuit switched networks the resources needed along a path (buffers and link transmission rate)
Chapter 2 : Data Communications BENG 4522 Data Communications & Computer Networks Transmission Impairment Signals travel through the transmission.
Chapter 3 TRANSMISSION IMPAIRMENT. 3-4 TRANSMISSION IMPAIRMENT Signals travel through transmission media, which are not perfect. The imperfection causes.
1 Ram Dantu University of North Texas, Practical Networking.
1. Layered Architecture of Communication Networks: Circuit Switching & Packet Switching.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
Computer Data Communication
CS 5565 Network Architecture and Protocols
Performance Questions
CS Lecture 2 Network Performance
Propagation & Transmission delay
Tutorial 2 This elementary problem begins to explore propagation delay and transmission delay, two central concepts in data networking. Consider two hosts,
Presentation transcript:

EE:450 – Computer Networks Discussion Session #1 September 1, Fall 2010

Some Terminology Bit (b) Byte (B) Bit Rate Basic unit of information in computers Binary : 0 or 1 Byte (B) 8 bits in one byte Bit Rate Number of bits transmitted in a time unit Typical unit is bits-per-second (bps) Used to measure transmission speed in digital transmissions

Terminology continued… 1K Bytes = 210 Bytes = 1024 Bytes = 8192 bits Similarly, 1M Bytes = 220 Bytes However, 1 Kbps ≠ 210 bps 1 Kbps = 1000 bps Similarly, 1 Mbps = 106 bps In this course, the approximation 1KB ~ 1000 Bytes is always allowed

Terminology Delay/Latency: Time it takes a message to travel from one end of a link to another It is a very important performance parameter End to End delay consists of several components Transmission time Propagation delay Nodal Processing time Queuing delay

Transmission time How long does it take to transmit a message (usually in KB) over a link with bit rate (usually in Mbps)? Steps: 1. Convert message size to bits 1KB = 1024 bytes 1MB = 220 bytes 1 Byte = 8 bits Key is the difference between “B” and “b”

Examples

Transmission time = Message size/Bit rate Transmission time ctd. 2. To obtain the transmission time, divide the message size (in bits) by the bit rate a.k.a. bandwidth (in bps) Transmission time = Message size/Bit rate

Transmission time example Ex: How long does it take to transmit a 4KB file over a link with 1Mbps bandwidth? Solution: Step 1: Convert the file size to bits 4 KB = 4 x 1024 Bytes = 4096 Bytes = 32768 bits 1Mbps = 106 bps Step 2: Transmission Time = file size / bandwidth ttrans = 32768 bits / 106 bps = 32.8 ms

tprop = Link length (m) / Vprop (m/s) Propagation delay Propagation delay: The time it takes for a bit to traverse from one end of the link to the other end tprop = Link length (m) / Vprop (m/s) Where Vprop is the speed with which the bit travels in the medium - same as the speed of light in the given medium

Propagation delay example Ex: What is the propagation time of a message in a link of 2.5 Km long? The speed of light in the cable is 2.3 x 108 m/s. Solution: tprop = Link length/ Vprop = 2500 m / 2.3 x 108 m/s = 10.9 μs Attention: tprop is independent of message size and bit rate of the link.

txfr = ths + ttrans + tprop + tqueuing/processing Message Transfer Time Message transfer time (txfr) : Time taken from the point when the sender starts transmitting the message till the receiver receives the entire message. Also known as end – to – end delay txfr = ths + ttrans + tprop + tqueuing/processing Where: ths is the handshake time (time it takes for the initial connection establishment phase) tqueuing/processing is the queuing and processing delay in the network. We will assume the latter as zero most of the time.

Round Trip Time (RTT) Round Trip Time: The time to send a message from a sender to the receiver and receive a response back Depends on the message size, length of link, direction of propagation, propagation velocity (speed), node processing delay, network traffic load etc. We will assume RTT = 2 x tprop May not be true if the message and the response choose different links to traverse The other delay components are ignored here.

Bit Width Bit width: duration (in time) of a pulse representing a bit – depends on bit rate (bandwidth) of the link. Bit width = 1 / Bandwidth A bit is 1 μs wide in a 1 Mbps channel 1/(106 bps) = (1 x 10-6) seconds per bit A bit is 0.5 μs wide in a 2 Mbps channel

Bit Length Bit length: The length occupied by a bit on a transmission link Bit length = Bit width x Prop. Speed = (sec) x (meters/sec) = (meters)

Bandwidth Delay Product Product of Bandwidth and link latency (propagation delay) Represents the maximum number of bits present in the link at given time Analogy A Pipe: delay is the length : bandwidth is the width Bandwidth Delay product gives the volume

Example #1 Ex: A terminal sends a 1 MB file to another computer through a link of 10 Mbps. The distance between the two terminals is 2000 Km and the propagation speed in the cable is 2x108 m/s. a) What is the RTT? b) What is the Bandwidth Delay Product? (Use RTT as the delay) c) How wide is a bit in this channel? d) Assume a handshake period of 2 RTT’s and no processing/queuing delay, what is the total transfer time of the file?

Example contd… a) RTT = 2 tprop tprop = 2 x 106 m / 2 x 108 m/s = 10 msec. Therefore, RTT = 20 msec b) Bandwidth X Delay = 10 Mbps x 20 ms = 200000 bits ~ 25000 Bytes = 25 KB

Example contd… c) Bit width = 1 / Bandwidth = 1 / (10 Mbps) = 10-7 sec./bit = 0.1μs/bit d) txfr = ths + ttrans + tprop ttrans = 1 MB / (10 Mbps) = 8 Mb / (10 Mbps) = 800 msec ths = 2RTT = 40 msec tprop = 10 msec txfr = 40 + 800 + 10 = 850 msec

A different kind of problem (Example #2) Total of 5 nodes Between each pair, 4 link options: High-speed line Medium-speed line Low-speed line Zero-speed line (i.e. No line) It takes 100 msec of computer time to generate/inspect each topology. How long will it take to generate/inspect all of them?

Find all possible topologies H=High-speed , M=Medium-speed, L=Low-speed, Z=Zero-speed Some example topologies: 1 H 1 Z 1 L H H Z Z H 3 3 Z Z Z 3 Z H Z Z 2 2 2 Z H Z H H Z Z H 5 Z 5 Z Z Z 5 H Z Z 4 4 4 n=? 1 2

Multiply by the time it takes to generate/inspect one Do NOT draw all the topologies! It’s not scalable Find a closed-form solution for the number of possible topologies Calculate time to generate/inspect all of them

Example #3: Bandwith or Delay Sensitive? For each of the Following operations on a remote file server, discuss whether they are more likely to be delay-sensitive or bandwidth-sensitive: Open a file Read the contents of a file List the contents of a directory Display the attributes of a file

Solution Delay-sensitive; the messages exchanged are short. Bandwidth-sensitive, particularly for large files. (Technically this does presume that the underlying protocol uses a large message size or window size; stop-and-wait transmission (as in Section 2.5 of the text) with a small message size would be delay-sensitive.) Delay-sensitive; directories are typically of modest size. Delay-sensitive; a file’s attributes are typically much smaller than the file itself (even on NT file systems).

Example #4 Hosts A and B are each connected to a switch via 10 Mbps links as shown in the figure. The propagation delay on each link is 20µs. S is a store and forward device; it begins transmitting a received packet 35µs after it has finished receiving it. Calculate the total time required to transmit 10,000 bits from A to B As a single packet As 2 5000-bit packets sent one right after another

Solution BW=10 Mbps A S B Dprop=20µs Dprop=20 µs (a) Per-link transmission delay is 104 bits / 107 bits/sec = 1000 µs. Total transfer time = 2 × 1000 + 2 × 20 + 35 = 2075 µs.

Solution continued (b) When sending as two packets, here is a table of times for various events: T=0 start T=500 A finishes sending packet 1, starts packet 2 T=520 packet 1 finishes arriving at S T=555 packet 1 departs for B T=1000 A finishes sending packet 2 T=1055 packet 2 departs for B T=1075 bit 1 of packet 2 arrives at B T=1575 last bit of packet 2 arrives at B Expressed algebraically, we now have a total of one switch delay and two link propagation delays; transmission delay is now 500µs: 3 × 500 + 2 × 20 + 1 × 35 = 1575 µs. Sending smaller packets is faster, here.