Computer Networks CS 552

Similar documents
Computer Networks CS 552

ECE 697J Advanced Topics in Computer Networks

NET ID. CS519, Prelim (March 17, 2004) NAME: You have 50 minutes to complete the test. 1/17

Performance Modeling

Available Bandwidth Estimation. Probing Packet Train in Pathneck. Transmission of RPT. Choke Point Detection. Packet train probing

Investigating the Use of Synchronized Clocks in TCP Congestion Control

The Impact of Router Outages on the AS-Level Internet

Measurement: Techniques, Strategies, and Pitfalls. David Andersen CMU

A Measurement Study on the Impact of Routing Events on End-to-End Internet Path Performance

TCP Nice: A Mechanism for Background Transfers

The effect of layer-2 store-and-forward devices. per-hop capacity estimation. Ravi S. Prasad, Constantinos Dovrolis

Introduction to Networking and Systems Measurements

CS519: Computer Networks. Lecture 5, Part 4: Mar 29, 2004 Transport: TCP congestion control

CS 268: Computer Networking

Christos Papadopoulos

End-to-End Mechanisms for QoS Support in Wireless Networks

Real-Time Protocol (RTP)

Internet Measurement Huaiyu Zhu, Rim Kaddah CS538 Fall 2011

Table of Contents 1 System Maintaining and Debugging 1-1

measurement goals why traffic measurement of Internet is so hard? measurement needs combined skills diverse traffic massive volume of traffic

Wireless Internet Routing. Learning from Deployments Link Metrics

University of California at Berkeley College of Engineering Department of Electrical Engineering and Computer Sciences

AS Connectedness Based on Multiple Vantage Points and the Resulting Topologies

CS 344/444 Computer Network Fundamentals Final Exam Solutions Spring 2007

ANALYSIS OF THE CORRELATION BETWEEN PACKET LOSS AND NETWORK DELAY AND THEIR IMPACT IN THE PERFORMANCE OF SURGICAL TRAINING APPLICATIONS

On Network Dimensioning Approach for the Internet

Lecture 19: Network Layer Routing in the Internet

Network Layer. The Network Layer. Contents Connection-Oriented and Connectionless Service. Recall:

Network Layer. Recall: The network layer is responsible for the routing of packets The network layer is responsible for congestion control

Congestion Control for High Bandwidth-delay Product Networks. Dina Katabi, Mark Handley, Charlie Rohrs

CS 218- QoS Routing + CAC Fall 2003

Problem Set 7 Due: Start of Class, November 2

Correlating Internet Performance Changes and Route Changes to Assist in Trouble-shooting from an End-user Perspective

Outline Computer Networking. TCP slow start. TCP modeling. TCP details AIMD. Congestion Avoidance. Lecture 18 TCP Performance Peter Steenkiste

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

Computer Networking Introduction

Measurement Study of Lowbitrate Internet Video Streaming

Problems of IP. Unreliable connectionless service. Cannot acquire status information from routers and other hosts

Chapter 1 Introduction

Measurements close to users

Network Layer: DHCP, ICMP, NAT, IPv6

Network Measurement. Xu Zhang Vision & CITE Lab, Nanjing University 2018/10/17 1

Ping, tracert and system debugging commands

EXAM TCP/IP NETWORKING Duration: 3 hours

Network Management & Monitoring

Chapter I: Introduction

Appendix B. Standards-Track TCP Evaluation

CS459 Internet Measurements

TCP in Asymmetric Environments

CS 349/449 Internet Protocols Final Exam Winter /15/2003. Name: Course:

Experimental Experiences with Emulating Multihop Path using Dummynet

Measurement of QoE in Tsinghua university. CERNET Center Qianli Zhang

BGP Routing: A study at Large Time Scale

Internet Topology Research

PIE in the Sky : Online Passive Interference Estimation for Enterprise WLANs

Understanding Internet Path Failures: Location, Characterization, Correlation

EXAM TCP/IP NETWORKING Duration: 3 hours With Solutions

Module objectives. Integrated services. Support for real-time applications. Real-time flows and the current Internet protocols

ICMP (Internet Control Message Protocol)

Feng Wang, Zhuoqing Morley Mao, Jia Wang, Lixin Gao, Randy Bush. Presenter s Qihong Wu (Dauphin)

AS Router Connectedness Based on Multiple Vantage Points and the Resulting Topologies

Avaya ExpertNet Lite Assessment Tool

Cisco Implementing Cisco IP Routing (ROUTE v2.0)

CS 5114 Network Programming Languages Control Plane. Nate Foster Cornell University Spring 2013

15-441: Computer Networks Spring 2017 Homework 3

CHAPTER 6 SOLUTION TO NETWORK TRAFFIC PROBLEM IN MIGRATING PARALLEL CRAWLERS USING FUZZY LOGIC

Lecture 5: Performance Analysis I

internet technologies and standards

RPT: Re-architecting Loss Protection for Content-Aware Networks

ICMP Computer Networks Lab Lab Course Number: Lab Course Name: Computer Networks (A) 3. Lab Name: ICMP

CSCD 443/533 Advanced Networks

Table of Contents 1 System Maintaining and Debugging Commands 1-1

PacketExpert PDF Report Details

NAT Revelio: Detecting NAT444 in the ISP. Andra Lutu, Marcelo Bagnulo, Amogh Dhamdhere, kc claffy

Chapter 4: outline. 4.5 routing algorithms link state distance vector hierarchical routing. 4.6 routing in the Internet RIP OSPF BGP

Schemes to Measure Available Bandwidth and Link Capacity with Ternary Search and Compound Probe for Packet Networks

CCIE Service Provider Sample Lab. Part 2 of 7

Performance Metrics and Performance Measurements for Interprovider Connections

Congestion Control End Hosts. CSE 561 Lecture 7, Spring David Wetherall. How fast should the sender transmit data?

Routing. Advanced Computer Networks: Routing 1

An Approach to Flexible QoS Routing with Active Networks

set active-probe (PfR)

Internet Protocol. Outline Introduction to Internet Protocol Header and address formats ICMP Tools CS 640 1

ICMP messages generating by the Ping program; ICMP messages generated by the Traceroute program; the format and contents of an ICMP message.

Hybrid Control and Switched Systems. Lecture #17 Hybrid Systems Modeling of Communication Networks

CS118 Discussion 1A, Week 7. Zengwen Yuan Dodd Hall 78, Friday 10:00 11:50 a.m.

PERISCOPE: Standardizing and Orchestrating Looking Glass Querying

Part 1. Measurement Analysis

Appendix A. Methodology

Models. Motivation Timing Diagrams Metrics Evaluation Techniques. TOC Models

MPLS Ping and Traceroute for BGP and IGP Prefix-SID

CHAPTER 3 GRID MONITORING AND RESOURCE SELECTION

Impact of Traffic Aggregation on Network Capacity and Quality of Service

Congestion Control for High Bandwidth-delay Product Networks

Outline. Routing. Introduction to Wide Area Routing. Classification of Routing Algorithms. Introduction. Broadcasting and Multicasting

Configuring IP SLAs LSP Health Monitor Operations

Internet Measurements. Motivation

Lecture 15: Measurement Studies on Internet Routing

5.1 introduction 5.5 The SDN control 5.2 routing protocols plane. Control Message 5.3 intra-as routing in Protocol the Internet

Improving Internet Performance through Traffic Managers

Transcription:

Computer Networks CS 552 Badri Nath Rutgers University badri@cs.rutgers.edu Internet measurements-why? Why measure? What s the need? Do we need to measure? Can we just google it? What is the motivation? Who gains? 1. Measurements 1 2 Why? Internet measurements-what? Characterize behavior Performance Understand growth Properties Design issues Identify problems, suggest improvements Understand protocol issues Understand behavior Manage the network Diagnose and correct Traffic patterns Nielsen rating for network perofrmance What to measure? need to determine X (X -a property of the internet) What property? Performance Latency, throughput, link B/W, jitter,.. Structure Topology, relationships, characteristics Behavior Stability, failures, pathological, misconfigurations 3 4 1

Internet measurements-how? Network Measurement How to measure? need techniques and tools to measure, gather data, analyze data, present data Measurement techniques Passive techniques Collect traces and analyze or build special tools Monitor application traffic, route announcements and analyze Number of point to collect, single vantage point, several vantage points Across ASes, or within AS (Gao 01, labovitz 97, labovitz 10) Active Techniques Measure by probing (ping, traceroute, pathchar or build special tools(e.g., Bolot93, paxson 97, rocketfuel 02) Inject probes/packets or remove packets and measure impact Inject faults at various points BGP beacon 5 6 Issues in measurement To collect traces need mechanism to capture packets and dump information Design packet filters, should be able to take in a spec and collect trace Data collection and analysis are independent Share traces for different experiments Manipulation and storage cost for traces How to analyze packet traces? Time-sequence plots Plot sequence number as a function of time Repeat for different time scales 7 Internet measurements- Challenge? Routing/announcement and data interaction Control plane vs data plane Causality: cause and effect analysis Coverage and completeness Internet is too big, not everything is public Commercial interests conflict Access to data difficult (ASes hide stuff) Huge amounts of data 8 2

Network measurement Papers Active Measurement Jean Bolot SIGCOMM 93 Craig Labovitz SIGCOMM 2010 Internet Inter-domain Traffic Faloutsos et al., Power-law relationships of internet topology SIGCOMM 99 Additional reading: IXP paper by Anja feldman SIGCOMM 13 Common tools: ping traceroute scriptroute Pathchar/pathneck/ BW probing tools 9 10 10 End-to-end delay and loss behavior in the Internet Simple experiments, interesting way of arriving at the results Presentation makes all the difference Simple analysis and model fitting Use end-to-end measurements to derive bottleneck link behavior Use active measurement tool Send UDP packets at regular intervals and measure RTT. Repeat experiments for different intervals Data analysis using phase plots 11 Time-series plot For every sample, plot the rtt n Not much to gain (except some have zero or packet loss) Average, max rtt n, min rtt n Instead plot rtt n, rtt n+1 (x,y) If constant, point. D, m RTT= Prop delay + Queuing delay + Transfer delay Where does the time go? D + w n+1 + Service time Probe size is P Both see same load, one sees load, interarrival time has a significant impact on probe compression. 12 3

Delay analysis Phase plot s n = time of n th probe, r n = time at which echo of the n th probe is received, rtt n = r n - s n and d = S n +1 S n For various values of d determine the distribution of rtt n Need to figure the impact of load on the network Assume that there is very light load w or w w w n 1 n n 1 A phase plot should give us points on or around the diagonal n n 13 rtt n+1 =rtt n + Rtt n+1 min 0 min Rtt n 14 Delay analysis Delay analysis Assume a bottleneck link rtt n = prop delay + queuing delay rtt n = D + wait time + service time rtt n = D + w n + P/m Heavy cross traffic w n+1 = w n + B/m or rtt n+1 rtt n = B/m d or approx B/m During this time k probes arrive For these probes the waiting times are P/m rtt n+k rtt n-(k-1) = P/m - d 15 d > P/m, RHS is negative rtt n+1 rtt n < 0, probe compression (traffic light analogy) The line y=x+p/m - d with a large number of points shows this effect Find the x intercept, we know P and d hence calculate m Figure 2, d = 50 msec Bottleneck link = 128 Kbps d>> P/m RHS is also negative But two probes never get behind each other Say d = 500msec, then d P/m = 498 msec Find how many points on the line y = x 498 Figure 4, d = 500 msec d< P/m probe saturates the queue 16 4

Bottleneck link capacity Packet size of cross traffic Repeated experiments for different values of d over a different path (umd, pittsburgh) For d = 8 msec, y intercept = -7.8 msec, P/m = 0.2 Given P = 32 bytes, we get m = 1.28 Mbps (Figure 5) For d = 50 msec, phase plot consists of points scattered around y=x line. No probe compression Figure 6 Assume cross traffic between two probes d units apart w n+1 = service time for b n and w n + wait time for w n = (B + P)/m d + w n B = m(w n+1 w n + d) + P w n+1 w n + d = (B+P)/m Interarrival time between successive probe returns is (r n+1 -r n ) is w n+1 w n + d which is the same as rtt n+1 rtt n +d Figure 5 17 Plot CDF of this function 18 Finding packet size Three cases r n+1 d 0 B/m d d r n P/m d Probes that were subject to probe compression and were serviced according to probe packet size Difference in Wait times should be around P/m First peak Probes that were not subject to probe compression Difference in Wait times should be d Second peak Probes that were behind one internet packet Difference in Wait times should (B+ P)/m Third peak Use the value of third peak in Equation 6. Knowing bottleneck link, probe size, we can calculate internet packet size 19 20 5

Packet loss Discussion rtt n was considered to be zero for a lost packet Look at the number of packets that were lost for various values of d Smaller the value of d larger the loss Find probability of correlated losses (burst size) Further, conditional loss probability > loss probability Because loss depends on queue length Burst loss size is about 1 for most cases Interesting observation Implications for FEC and Go-back-N Simple experiments, clever analysis leads to interesting results Phase plots, very creative Assumptions: single bottle neck Needed for simple analysis How about internet of today Asymmetric links Traffic patterns may not pan out as in Jean Bolot s paper What about packet size distributions? 21 22 Active Measurement (2) Using traceroute Every packet has TTL At each hop, TTL is decremented When TTL becomes 0, packet is dropped and an ICMP error message is sent back to the source Use this to determine routers along the path from source to destination www.traceroute.org Traceroute tracing path from www.net.princeton.edu to 128.6.25.18... traceroute to 128.6.25.18 (128.6.25.18), 30 hops max, 40 byte packets 1 gigagate1 (128.112.128.114) 0.530 ms 0.300 ms 0.343 ms 2 vgate1 (128.112.12.22) 0.360 ms 0.328 ms 0.348 ms 3 local1.princeton.magpi.net (216.27.98.113) 23.504 ms 2.484 ms 2.490 ms 4 remote2.njedge.magpi.net (216.27.98.82) 4.624 ms 4.217 ms 4.180 ms 5 130.156.251.206 (130.156.251.206) 28.162 ms 4.967 ms 4.706 ms 6 198.151.130.133 (198.151.130.133) 5.180 ms 22.034 ms 5.067 ms 7 sr02-hill012-svcs.runet.rutgers.net (128.6.1.22) 5.391 ms 5.343 ms 5.316 ms 8 * * * 9 * * * 10 * * * 11 * * * 12 rags.rutgers.edu (128.6.25.18) 6.534 ms 5.813 ms 5.650 ms 23 24 23 6

Traceroute Known issues with Traceroute Warning: multiple IP addresses found for www.iitb.ac.in, using 203.78.217.179 tracing path from www.net.princeton.edu to 203.78.217.179... traceroute to 203.78.217.179 (203.78.217.179), 30 hops max, 40 byte packets 1 gigagate1 (128.112.128.114) 0.826 ms 0.329 ms 0.343 ms 2 vgate1 (128.112.12.22) 0.373 ms 0.587 ms 0.349 ms 3 gi-6-0-226.hse1.phlapa02.paetec.net (209.92.27.33) 2.188 ms 2.616 ms 3.321 ms 4 ge-1-1-0-311.core02.phlapa02.paetec.net (169.130.105.19) 8.179 ms 2.550 ms 2.501 ms 5 * * * 6 * * * 7 as0.core02.asbnva01.paetec.net (169.130.81.233) 5.919 ms 6.093 ms 6.013 ms 8 157.130.49.209 (157.130.49.209) 5.946 ms 6.119 ms 5.699 ms 9 0.so-1-0-3.XL4.IAD8.ALTER.NET (152.63.41.26) 6.560 ms 6.263 ms 6.234 ms 10 0.so-3-0-0.IL4.NYC9.ALTER.NET (152.63.23.177) 14.967 ms 15.097 ms 14.756 ms 11 0.so-0-0-1.IR2.LND17.ALTER.NET (210.80.51.141) 87.187 ms 86.995 ms 85.641 ms 12 so-0-0-2.xt2.bom1.alter.net (210.80.37.198) 209.186 ms 210.845 ms 13 so-3-0-0.gw3.bom1.alter.net (210.80.37.114) 209.359 ms 209.795 ms 211.322 ms 14 iitb.ac.in-gw.customer.alter.net (203.78.210.150) 212.256 ms 211.991 ms 210.394 ms 15 * * * 16 * * * 17 * * * 18 * * * 19 * * * Not all routers accept ICMP messages Filtered or given low priority Can t identify one-way failures (* * * ) Forward link or reverse link IP address of time exceeded packet may be the outgoing interface of the return packet TTL=1 TTL=2 TTL=3 25 26 26 Extend to multiple links pathchar Extend analysis and methodology of Bolt s paper Send probes of varying sizes, across several links Use traceroute over N hops; repeat expt for various packet sizes Traceroute includes Cumulative performance By subtracting successive link char you can get Subtract Y intercepts (RTT, RTT/2 gives one way delay) Subtract successive slopes (P/m) you get slope which is 1/ link bandwidth Note, X-axis is packet size (y=p/m) 27 Reference: Allen Downey Using pathchar to estimate internet link characteristics- SIGCOMM 1999 28 7

NSDI 2013 8

9

10

Active measurements Questions on internet topology Multiple vantage points Send probes from multiple destinations Cover different paths from various S, D pairs 41 What does the internet connectivity graph look like? Stub, tree, mesh What are the patterns Invariants, growth (edges, core) Growth trends Scale Realistic topologies for simulation Is it random? Uniformly distributed links realistic? 42 Why do we need the topology? Internet Inter-Domain topology Understand the macroscopic properties of the Internet physical structure Network management Topology-aware algorithms Simulation and topology generation tools Internet Inter-domain traffic by Craig Labovitz, et.al., SIGCOMM 2010 Anatomy of a large European IXP by Anja Feldmann, et.al., SIGCOMM 2013 Pictures/graphs from slides of SIGCOMM presentations 43 44 11

Change in carrier traffic demands Impact of cloud 45 46 Traditional Internet model A new Internet model 47 48 12

Even more recent model IXP Architecture 49 50 IXP diurnal traffic patterns Flatter topology 51 52 13

Difficulties in topology discovery Physical links Backup links Mobile access Router Identification and annotation Alias resolution Completeness Validation Currently, none of them is completely solved! 53 14