CS 5565 Network Architecture and Protocols

Slides:



Advertisements
Similar presentations
Computer Networks Performance Metrics Advanced Computer Networks Fall 2013.
Advertisements

Computer Networks Performance Metrics Computer Networks Term B10.
Chapter 1 Review Csc4220/6220 Computer Networks Instructor: Akshaye Dhawan.
James 1:5 If any of you lacks wisdom, he should ask God, who gives generously to all without finding fault, and it will be given to him.
CS 381 Introduction to computer networks Chapter 1 - Lecture 3 2/5/2015.
Introduction© Dr. Ayman Abdel-Hamid, CS4254 Spring CS4254 Computer Network Architecture and Programming Dr. Ayman A. Abdel-Hamid Computer Science.
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.
1-1 Foundation Objectives: 1.1 What’s the Internet? 1.2 Network edge 1.3 Network core 1.4 Network access and physical media 1.5 Internet structure and.
Lecture Internet Overview: roadmap 1.1 What is the Internet? (A simple overview last week) Today, A closer look at the Internet structure! 1.2 Network.
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,
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,
What’s the Internet: “nuts and bolts” view
Introduction 1 Lecture 3 Networking Concepts slides are modified from J. Kurose & K. Ross University of Nevada – Reno Computer Science & Engineering Department.
Introduction 1-1 Lecture 3 Computer Networking: A Top Down Approach 6 th edition Jim Kurose, Keith Ross Addison-Wesley March 2012 CS3516: These slides.
1 Computer Communication & Networks Lecture 4 Circuit Switching, Packet Switching, Delays Waleed.
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 switching,
Slides originally from Professor Williamson at U Calgary1-1 Introduction Part II  Network Core  Delay & Loss in Packet-switched Networks  Structure.
Instructor: Christopher Cole Some slides taken from Kurose & Ross book IT 347: Chapter 1.
1 Kommunikatsiooniteenuste arendus IRT0080 Loeng 7 Avo Ots telekommunikatsiooni õppetool, TTÜ raadio- ja sidetehnika inst.
Networking Networking 101 Notes are adapted from chapter-1 in the textbook Multimedia Streaming {week-2} Mohamed Abdel-Maguid Computer Networking:
How do loss and delay occur?
Introduction 1-1 Chapter 1 Introduction Computer Networking: A Top Down Approach, 5 th edition. Jim Kurose, Keith Ross Addison-Wesley, April 2009.
Computer Networks Performance Metrics. Performance Metrics Outline Generic Performance Metrics Network performance Measures Components of Hop and End-to-End.
Introduction1-1 Chapter 1 Computer Networks and the Internet Computer Networking: A Top Down Approach Featuring the Internet, 2 nd edition. Jim Kurose,
Computer Networks Performance Metrics
1 Computer Networks & The Internet Lecture 4 Imran Ahmed University of Management & Technology.
1: Introduction1 Introduction 3. 1: Introduction2 Delay in packet-switched networks packets experience delay on end-to-end path r four sources of delay.
CS 3830 Day 4 Introduction 1-1. Announcements  No office hour 12pm-1pm today only  Quiz on Friday  Program 1 due on Friday (put in DropBox on S drive)
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 switching,
EEC-484/584 Computer Networks
What is the Speed of the Internet? Internet Computing KUT Youn-Hee Han.
Ch 1. Computer Networks and the Internet Myungchul Kim
Network Behaviour & Impairments
Delay in packet switched network. Circuit switching In Circuit switched networks the resources needed along a path (buffers and link transmission rate)
Computer Networks Performance Metrics Computer Networks Spring 2013.
1 Ram Dantu University of North Texas, Practical Networking.
A special acknowledge goes to J.F Kurose and K.W. Ross Some of the slides used in this lecture are adapted from their original slides that accompany the.
CSEN 404 Introduction to Networks Amr El Mougy Lamia AlBadrawy.
Introduction1-1 Data Communications and Computer Networks Chapter 1 CS 3830 Lecture 3 Omar Meqdadi Department of Computer Science and Software Engineering.
Network Processing Systems Design
MITM753: Advanced Computer Networks
CS 5565 Network Architecture and Protocols
Introduction (2) Overview: access net, physical media
CS 3214 Computer Systems Networking.
Introduction to Networks
Lec # 22 Data Communication Muhammad Waseem Iqbal.
Administrative Things
CS 381 Introduction to computer networks
CS 5565 Network Architecture and Protocols
Chapter 1: Introduction
CS 3214 Computer Systems Lecture 21 Godmar Back.
CS4470 Computer Networking Protocols
CS 3214 Computer Systems Networking.
CS 5565 Network Architecture and Protocols
RSC Part II: Network Layer 1. Basic Concepts
Chapter 1: roadmap 1.1 What is the Internet? 1.2 Network edge
Lecture 2: Internet Structure & Internetworking
Part I: Introduction Chapter goal:
CS Lecture 2 Network Performance
Session 2 INST 346 Technologies, Infrastructure and Architecture
Computer Networks Performance Metrics
EEC-484/584 Computer Networks
CSE 550 Computer Network Design
Part I: Introduction Overview: what’s the Internet what’s a protocol?
Lecture 1: introduction
Ram Dantu University of North Texas,
Ram Dantu University of North Texas,
Comp 410 AOS Packet Switching
Presentation transcript:

CS 5565 Network Architecture and Protocols Lecture 3 Godmar Back

Announcements Assignment: Create CS5565 Forum Do Wireshark Lab 1 Don’t need to hand it in. Create CS5565 Forum Use this to find a project partner All 4 projects will be done in groups of up to 2. CS 5565 Spring 2009 5/26/2018

Summary Terminology: hosts (end systems), communication links, routers, transmission rates, packets, internet vs. intranet vs. the Internet Protocols: protocols define format, order of messages sent and received among network entities, and actions taken on msg transmission, receipt View from network edge: Client/server, peer2peer, other models Service view Communication infrastructure provide connection-oriented + connectionless service View from network core: Circuit-switching vs packet-switching Datagram network vs. virtual-circuit networks CS 5565 Spring 2009 5/26/2018

How do loss and delay occur? packets queue in router buffers packet arrival rate to link exceeds output link capacity packets queue, wait for turn B A packet being transmitted (delay) packets queueing (delay) free (available) buffers: arriving packets dropped (loss) if no free buffers CS 5565 Spring 2009 5/26/2018

Four sources of packet delay 1. Nodal processing delay: check bit errors determine output link 2. Queuing delay time waiting at output link for transmission depends on congestion level of router A B propagation transmission nodal processing queueing CS 5565 Spring 2009 5/26/2018

Queuing Delay Show Applet here Queuing delay depends on http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/queuing/queuing.html Queuing delay depends on traffic intensity nature of packet arrival process (bursts, periodic, periodic bursts, random intervals) CS 5565 Spring 2009 5/26/2018

Queueing Delay traffic intensity = La/R R=link bandwidth (bps) L=packet length (bits) a=average packet arrival rate traffic intensity = La/R La/R ~ 0: average queueing delay small La/R  1: delays become large La/R > 1: more “work” arriving than can be serviced, average delay infinite! CS 5565 Spring 2009 5/26/2018

Queuing Analysis Source: Ts : mean service time Stallings Ts : mean service time Coefficient of variation determines increase in delay CS 5565 Spring 2009 5/26/2018

Queuing Analysis (II) Depending on estimated coefficient of variance, pick appropriate server model M/M/1: both arrival rate & service time is “M”, Poisson process vs. negative exponentially distributed services In general: X/Y/n, where n number of servers & X, Y one of G: general independent M: negative exponential distribution D: deterministic (fixed length of service) Q.: what’s the expected queue length for a D/D/1 queue if arrival rate < service rate? CS 5565 Spring 2009 5/26/2018

Delay in packet-switched networks 3. Transmission delay: R=link bandwidth (bps) L=packet length (bits) time to send bits into link = L/R 4. Propagation delay: d = length of physical link s = propagation speed in medium (~2x108 m/sec) propagation delay = d/s A B propagation transmission nodal processing queueing Note: s and R are very different quantities! CS 5565 Spring 2009 5/26/2018

Transmission vs. Propagation Delay Show Applet here http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/transmission/delay.html Transmission delay depends on speed of link (10Mbps, 1000Mbps, …) Propagation delay depends on distance (and speed of light in medium) CS 5565 Spring 2009 5/26/2018

Nodal delay dproc = processing delay dqueue = queuing delay typically a few microsecs or less dqueue = queuing delay depends on congestion dtrans = transmission delay = L/R, significant for low-speed links dprop = propagation delay a few microsecs to hundreds of msecs CS 5565 Spring 2009 5/26/2018

Packet-switching: store-and-forward L R R R Takes L/R seconds to transmit (push out) packet of L bits on to link or R bps Entire packet must arrive at router before it can be transmitted on next link: store and forward Example: L = 7.5 Mbits R = 1.5 Mbps delay = ? (assume no propagation/processing/queuing delay) 15 seconds CS 5565 Spring 2009 5/26/2018

End-to-end vs. nodal delay Question: in store-and-forward model, does end-to-end delay for a message of length L depend on the number/size of packets the message is split into? Let’s look at: http://media.pearsoncmg.com/aw/aw_kurose_network_2/applets/message/messagesegmentation.html CS 5565 Spring 2009 5/26/2018

End-to-end vs. nodal delay Question: in store-and-forward model, end-to-end delay for a message of length L depends on the number/size of packets the message is split into: Transmission times of packets can be overlayed if multiple packets are part of a message “Store-and-forward” model applies to packet, not message Consequence: packetization reduces transmission delay But you pay a price for header overhead CS 5565 Spring 2009 5/26/2018

Circuit vs. Packet Switching (2) Circuit Switching Dedicated link bandwidth Dedicated switch capacity Low link utilization Low overall utilization Bounded delay variance Packet Switching Better Link utilization Better overall utilization Need for congestion control Need to identify to which “call” a packet belongs Smaller average delay than TDM High variance in delay CS 5565 Spring 2009 5/26/2018

Latency vs Bandwidth Latency (Delay) lags Bandwidth [Patterson 2004] Similar pattern in many areas CS 5565 Spring 2009 5/26/2018

Bandwidth Delay Product Delay d Bandwidth b Aka “size of pipe” Important in protocol design b in bps d in ms bxd in bytes Gigabit Ethernet 1G .150 18,750 100Mbit Ethernet 100M .7 8,750 Dialup Modem+Internet 56K 180 1,260 Cable Modem+Internet 4M 67,500 CS 5565 Spring 2009 5/26/2018

traceroute Provides delay measurement from source to router along end-end Internet path towards destination Problem: Don’t know which route is taken How: Send probes to destination Tell probes to die off after i hops, i = 1..30 Ask router to send echo packets if packets dies Measure RTT 3 probes 3 probes 3 probes CS 5565 Spring 2009 5/26/2018

Example Internet delays and routes traceroute: from host in Silicon Valley (keeda.stanford.edu) to host in Frankfurt, Germany (www.titanic-magazin.de) > traceroute www.titanic-magazin.de traceroute to www.titanic-magazin.de (62.75.228.90), 30 hops max, 38 byte packets 1 Gates-rtr.Stanford.EDU (171.64.72.1) 0.523 ms 0.339 ms 0.304 ms 2 bbr2-rtr.Stanford.EDU (171.64.1.161) 0.401 ms 0.346 ms 0.334 ms 3 border2-rtr.Stanford.EDU (171.64.1.148) 4.288 ms 1.070 ms 1.458 ms 4 g1.ba21.b003123-1.sfo01.atlas.cogentco.com (66.250.7.137) 5.231 ms 7.975 ms 9.097 ms 5 g1-1.core02.sfo01.atlas.cogentco.com (66.28.6.13) 11.364 ms 16.192 ms 16.961 ms 6 p14-0.core01.dca01.atlas.cogentco.com (66.28.4.210) 85.497 ms 84.084 ms 80.291 ms 7 p2-0.core01.iad01.atlas.cogentco.com (154.54.2.202) 89.268 ms 88.548 ms 90.046 ms 8 lambdanet.iad01.atlas.cogentco.com (154.54.11.162) 156.812 ms 200.935 ms 157.819 ms 9 LON-2-pos210.uk.lambdanet.net (81.209.156.29) 159.647 ms 159.709 ms 166.504 ms 10 DUS-2-pos700-0.de.lambdanet.net (82.197.136.18) 176.365 ms 163.668 ms 165.177 ms 11 DUS1-5029.de.lambdanet.net (217.71.104.30) 171.229 ms 173.782 ms 171.486 ms 12 titanic.luka.de (62.75.228.90) 172.654 ms 183.307 ms 173.239 ms CS 5565 Spring 2009 5/26/2018

“Real” Internet delays and routes traceroute: from host in Silicon Valley (keeda.stanford.edu) to host in Frankfurt, Germany (www.titanic-magazin.de) > traceroute www.titanic-magazin.de traceroute to www.titanic-magazin.de (62.75.228.90), 30 hops max, 38 byte packets 1 Gates-rtr.Stanford.EDU (171.64.72.1) 0.523 ms 0.339 ms 0.304 ms 2 bbr2-rtr.Stanford.EDU (171.64.1.161) 0.401 ms 0.346 ms 0.334 ms 3 border2-rtr.Stanford.EDU (171.64.1.148) 4.288 ms 1.070 ms 1.458 ms 4 g1.ba21.b003123-1.sfo01.atlas.cogentco.com (66.250.7.137) 5.231 ms 7.975 ms 9.097 ms 5 g1-1.core02.sfo01.atlas.cogentco.com (66.28.6.13) 11.364 ms 16.192 ms 16.961 ms 6 p14-0.core01.dca01.atlas.cogentco.com (66.28.4.210) 85.497 ms 84.084 ms 80.291 ms 7 p2-0.core01.iad01.atlas.cogentco.com (154.54.2.202) 89.268 ms 88.548 ms 90.046 ms 8 lambdanet.iad01.atlas.cogentco.com (154.54.11.162) 156.812 ms 200.935 ms 157.819 ms 9 LON-2-pos210.uk.lambdanet.net (81.209.156.29) 159.647 ms 159.709 ms 166.504 ms 10 DUS-2-pos700-0.de.lambdanet.net (82.197.136.18) 176.365 ms 163.668 ms 165.177 ms 11 DUS1-5029.de.lambdanet.net (217.71.104.30) 171.229 ms 173.782 ms 171.486 ms 12 titanic.luka.de (62.75.228.90) 172.654 ms 183.307 ms 173.239 ms CS 5565 Spring 2009 5/26/2018

Routing across Tiers Tier 1 ISP NAP local Tier 3 ISP Tier-2 ISP CS 5565 Spring 2009 5/26/2018

Tiers of ISP (cont’d) Tier 1: usually carriers, own networks/fiber, interconnect with Tier 1 ISPs on reciprocal basis (8 interconnection regions in US), examples: UUnet, Level3, Sprint, CW … Tier 2: national/regional, connects to Tier 1 (“buys transit”), but peer among each other (AOL, Adelphia, Comcast) - driven by P2P traffic Tier 3: regional/local providers Definitions fluent, some are only Tier 1 in some regions Terms: POP (point of presence) NAP (network access point) - public interchanges (Equinix) Private peering points/links CS 5565 Spring 2009 5/26/2018

Changing Landscape of Peering Before 2000 Crash Source: [Norton 2004] Now LSNSC (large scale network savvy content providers) CS 5565 Spring 2009 5/26/2018

Aside: Estimating Bottleneck Bandwidth along a Path Network core doesn’t provide this information “packet-pair” method (van Jacobson) Send data in back-to-back packets Difference between acks is related to delay experienced along slowest link Many other methods developed, big research area see for example [M Goutelle 2003] CS 5565 Spring 2009 5/26/2018

Summary Transmission & Propagation Delay End-to-end delay in packet-switched networks Traceroute + network diagnostics Structure of Internet Bandwidth-delay product CS 5565 Spring 2009 5/26/2018