L2: Bandwidth and Latency. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Similar documents
L5: Building Direct Link Networks III. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

L8: Packet Switching. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

L1: Introduction. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

CISC 7332X T6. C12a: LAN Switching. Hui Chen Department of Computer & Information Science CUNY Brooklyn College. 11/13/2018 CUNY Brooklyn College

L3: Building Direct Link Networks I. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

C13a: Packet Switching

Programming Internet with Socket API. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

L9: Bridges and LAN Switches. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

End-to-End Protocols: UDP and TCP. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

C13b: Routing Problem and Algorithms

C14b: Classless Intradomain Routing

Overview. Performance metrics - Section 1.5 Direct link networks Hardware building blocks - Section 2.1 Encoding - Section 2.2 Framing - Section 2.

Internetworking: Global Internet and MPLS. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

L10: Simple Internetworking. Hui Chen, Ph.D. Department of Engineering & Computer Science Virginia State University Petersburg, VA 23806

ETSF10 Internet Protocols Transport Layer Protocols

CS455: Introduction to Distributed Systems [Spring 2018] Dept. Of Computer Science, Colorado State University

Transition to IPv6. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

NETWORK PROBLEM SET Solution

Solution of Exercise Sheet 1

Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

Housekeeping. Fall /5 CptS/EE 555 1

NETWORK PROBLEM SET Due Date 6/28/2014

CMPE 344 Computer Networks Spring Foundations. Reading: Peterson and Davie,

CS 3516: Computer Networks

Congestion Control. Principles of Congestion Control. Network-assisted Congestion Control: ATM. Congestion Control. Computer Networks 10/21/2009

Models. Motivation Timing Diagrams Metrics Evaluation Techniques. TOC Models

Programming Ethernet with Socket API. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Congestion Control. Principles of Congestion Control. Network assisted congestion. Asynchronous Transfer Mode. Computer Networks 10/23/2013

Computer Networks: A Systems Approach Fifth Edition Solutions Manual

Since enrollment is very small this semester, we have flexibilty. Traditional lecture Assigned reading, and then student(s) present during class time

Computer Networking Background

Performance Modeling

Programming Ethernet with Socket API. Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806

Chapter I: Introduction

Network core and metrics

CS 3516: Advanced Computer Networks

of-service Support on the Internet

LAN Interconnection and Other Link Layer Protocols

Direct Link Communication I: Basic Techniques. Data Transmission. ignore carrier frequency, coding etc.

Solutions to Select Exercises

Solutions for Homework #1

Intro. to Computer Network

ENSC 835 project (2002) TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang

Introductions. Computer Networking Lecture 01. January 16, HKU SPACE Community College. HKU SPACE CC CN Lecture 01 1/36

Why Your Application only Uses 10Mbps Even the Link is 1Gbps?

2IC10 Computer Networks Assignments week 4

Reliable Data Transfer

11/24/2009. Fundamentals of Computer Networks ECE 478/578. Flow Control in TCP

UNIVERSITY OF NEBRASKA AT OMAHA Computer Science 3550 Communication Networks

TCP conges+on control

Announcements. TAs office hours: Mohamed Grissa: Mohamed Alkalbani:

C14a: Internetworks and The Internet

CNT 4004: Computer Networks I. Tentative Syllabus

More on Link Layer. Recap of Last Class. Interconnecting Nodes in LAN (Local-Area Network) Interconnecting with Hubs. Computer Networks 9/21/2009

2.993: Principles of Internet Computing Quiz 1. Network

ENSC 835 project TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang

CSCD 330 Network Programming Winter 2015

Network Management & Monitoring

ENSC 835 project (2002) TCP performance over satellite links. Kenny, Qing Shao Grace, Hui Zhang

end systems, access networks, links 1.3 network core

Integrated t Services Digital it Network (ISDN) Digital Subscriber Line (DSL) Cable modems Hybrid Fiber Coax (HFC)

ECEN Final Exam Fall Instructor: Srinivas Shakkottai

Networks Overview. Dr. Yingwu Zhu

Models. One Packet. Timing. Illustration. Examples UCB. Models EECS 122. P bits. Motivation Timing Diagrams Metrics Evaluation Techniques

A closer look at network structure:

CSC 401 Data and Computer Communications Networks

QUALITY of SERVICE. Introduction

Redes de Computadores. Introduction

Chapter 3 Transport Layer

CSCE 463/612 Networks and Distributed Processing Spring 2017

Read Chapter 1 of Kurose-Ross

CS519: Computer Networks

Outline. EE 122: Networks Performance & Modeling. Outline. Motivations. Definitions. Timing Diagrams. Ion Stoica TAs: Junda Liu, DK Moon, David Zats

PRACTICE QUESTIONS ON RESOURCE ALLOCATION

LESSON PLAN. Sub Code & Name : CS2363 COMPUTER NETWORKS Unit: I Branch: EEE Semester :VI

COM-208: Computer Networks - Homework 1

Department of EECS - University of California at Berkeley EECS122 - Introduction to Communication Networks - Spring 2005 Final: 5/20/2005

College of Computer and Information Sciences Department of Computer Engineering CEN444 Computer Networks Midterm 2 Exam Second Semester 1434/1435

Intro. to Computer Network. Course Reading. Class Resources. Important Info.

CSE/EE 461 Lecture 16 TCP Congestion Control. TCP Congestion Control

COMP/ELEC 429/556 Introduction to Computer Networks

Solutions for Homework #2

INTRODUCTORY COMPUTER NETWORKS PHYSICAL LAYER, DIGITAL TRANSMISSION FUNDAMENTALS. Faramarz Hendessi

UbiqStor: Server and Proxy for Remote Storage of Mobile Devices

CSCI Topics: Internet Programming Fall 2008

Fundamentals of Information Systems

Computer Networking Introduction

Internetwork. recursive definition point-to-point and multi-access: internetwork. composition of one or more internetworks

EECS 122, Lecture 19. Reliable Delivery. An Example. Improving over Stop & Wait. Picture of Go-back-n/Sliding Window. Send Window Maintenance

TCP so far Computer Networking Outline. How Was TCP Able to Evolve

Transmission Control Protocol. ITS 413 Internet Technologies and Applications

>>> SOLUTIONS <<< Answer the following questions regarding the basics principles and concepts of networks.

Computer Networking. Introduction. Quintin jean-noël Grenoble university

CPSC 441 Tutorial-1. Department of Computer Science University of Calgary

CS 428/528 Computer Networks Lecture 01. Yan Wang

A Hybrid Systems Modeling Framework for Fast and Accurate Simulation of Data Communication Networks. Motivation

Q23-5 In a network, the size of the receive window is 1 packet. Which of the follow-ing protocols is being used by the network?

Fairness, Queue Management, and QoS

Slides are an edited mashup of two books

Quality of Service (QoS)

Transcription:

L2: Bandwidth and Latency Hui Chen, Ph.D. Dept. of Engineering & Computer Science Virginia State University Petersburg, VA 23806 1

Acknowledgements Some pictures used in this presentation were obtained from the Internet The instructor used slides from the following references Larry L. Peterson and Bruce S. Davie, Computer Networks: A Systems Approach, 5th Edition, Elsevier, 2011 Andrew S. Tanenbaum, Computer Networks, 5th Edition, Prentice- Hall, 2010 James F. Kurose and Keith W. Ross, Computer Networking: A Top- Down Approach, 5th Ed., Addison Wesley, 2009 Larry L. Peterson s (http://www.cs.princeton.edu/~llp/) Computer Networks class web site 8/15/2016 CSCI 445 Fall 2016 2

Review What to build? Computer Network General purpose Cost-effective network sharing Fair network link allocation Robust connectivity How to build? Layered architecture How good is it? Does it meet application needs? Performance Metrics Application performance needs 3

Performance Metrics Bandwidth Data canbe transmitted per time unit Notation Kbps = 10 3 bits per second (bps) Gbps= 10 9 bits per second (bps) Mbps = 10 6 bits per second (bps) Question: how is memory storage capacity (the amount of data) measured? Latency (delay) Time to send message from point A to point B Components Latency = propagation + transmit + queue + Propagation (i.e., propagation delay or propagation time) = distance / speed of signal Transmit (i.e., transmit time) = size / bandwidth queue (i.e., queueingdelay) = the time when the message stays in the buffer before it is forwarded. One-way versus round-trip time (RTT) 4

Link versus End-to-End End-to-End bandwidth Throughput All things considered Observations Bits move fast but nodes may be slow Fiber optics Routing nodes made by electronic processors Bandwidth limited by the nodes: optical routing Bits move slow but nodes may be fast Plain old telephone line Fast routing nodes Bandwidth limited by the link: replace the link 5

Latency = Propagation + Transmit + Queue + Many factors are in play Node Communication channel (link) Interference 6

Latency = Propagation + Transmit + Queue + Simple scenario: two nodes connected by a link Node 1 Node 2 Transmit delay Propagation delay Queuing & processing delay time time 8/15/2016 CSCI 445 Fall 2016 7

Exercise L2-1 Consider a fiber optic link 4400 km in length. How much is the propagation delay of the link? Compute the time for transmitting 4MB of data Transmit data at the bandwidth of 56 kbps Transmit data at the bandwidth of 100 Mbps Transmit data at the bandwidth of 10 Gbps 8

Bandwidth versus Latency Bandwidth and latency Throughput = Transfer Size / Transfer Time Example Ignore queuing & processing delay. Acknowledgement takes no time. Transfer Time = RTT + Transfer Size / Bandwidth Throughput = Transfer Size / Transfer Time Two networks: compute RTT and throughput RTT = 1 ms; bandwidth = 1 Mbps RTT = 100 ms; bandwidth = 100 Mbps Send 1 byte RTT dominates, bandwidth insignificant Send 25 Mbytes Bandwidth dominates, RTT insignificant 9

Bandwidth & Latency: Relative Importance 10 4 10 3 Perceived Latency (ms) 10 2 10 1 10 0 10 0 10 1 10 2 RTT(ms) 1-MB object, 1.5-Mbps link 1-MB object, 10.0-Mbps link 2-KB object, 1.5-Mbps link 2-KB object, 10.0-Mbps link 1-byte object, 1.5-Mbps link 1-byte object, 10.0-Mbps link 10

How wide is a bit? Consider a link as a pipe full of bits, one after another 8/15/2016 CSCI 445 Fall 2016 11

Link Utilization Do bits have width? How wide is a bit? Consider following cases: what do you observe, assume the links are of the same? bit bit bit bit bit bit bit bit bit bit bit bit bit bit bit bit bit 12

Delay Bandwidth Product Amount of data in flight or in the pipe Example: 100 ms 45 Mbps = 560 KB 13

Exercise L2-2 Show step-by-step how delay bandwidth is calculated in previous slide (also included below). Choose one of the four. Calculate delay bandwidth for the following links A wireless link of 56 kbps between Earth and the moon, provided signal travels at the speed of light (3 10 8 m/s) and the distance between the two is 384,403 km. 14

Application Performance Needs Uncompressed video: sequences of frames ¼ NTSC = 352 240 pixels True color: 24 bits for 1 pixel 1 frame = 352 240 24 = 2027520 bits 30 fps (frames/second) 2027520 bits/frame 30 fps = 60825600 bits / second = 60825600 bps = 60825.6 Kbps = 60.8256 Mbps Compressed video: constant rate versus varied rate Average bandwidth requirement suffices? Delay and Jitter 15

Exercise L2-3 Assume no compression is done. Calculate the bandwidth necessary for transmitting in real time High-definition video at resolution of 1920 x 1080, 24bits/pixel, 30 frames/seconds 8/15/2016 CSCI 445 Fall 2016 16

Summary Performance metrics Bandwidth Latency Relative importance Delay Bandwidth Product Application needs Bandwidth requirement Delay requirement 17