Internet Measurement.ppt
《Internet Measurement.ppt》由会员分享,可在线阅读,更多相关《Internet Measurement.ppt(29页珍藏版)》请在麦多课文档分享上搜索。
1、Internet Measurement,Jennifer Rexford,Outline,Measurement overview Why measure? Why model measurements? What to measure? Where to measure? Internet challenges Measurement tools Active: ping, traceroute, and pathchar Passive: logs, SNMP, packet, and flow monitoring Operational applications of measure
2、ment Discussion,Why Measure?,The Internet is a man-made system, so why do we need to measure it? Because we still dont really understand it Because sometimes things go wrong Measurement for network operations Detecting and diagnosing problems What-if analysis of future changes Measurement for scient
3、ific discovery Characterizing a complex system as organism Creating accurate models that represent reality Identifying new features and phenomena,Why Build Models of Measurements?,Compact summary of measurements Efficient way to represent a large data set E.g., exponential distribution with mean 100
4、 sec Expose important properties of measurements Reveals underlying cause or engineering question E.g., mean RTT to help explain TCP throughout Generate random but realistic data as input Generate new data that agree in key properties E.g., topology models to feed into simulators,“All models are wro
5、ng, but some models are useful.” George Box,What Can be Measured?,Traffic Load statistics Packet or flow traces Performance of paths Application performance, e.g,. Web download time Transport performance, e.g., TCP bulk throughput Network performance, e.g., packet delay and loss Network structure To
6、pology, and paths on the topology Dynamics of the routing protocol,Where Measure?,Short answer Anywhere you can! End hosts Application logs, e.g., Web server logs Sending active probes to measure performance Individual links/routers Load statistics, packet traces, flow traces Configuration state Rou
7、ting-protocol messages or table dumps Alarms,Internet Challenges Make Measurement an Art,Stateless routers Routers do not routinely store packet/flow state Measurement is an afterthought, adds overhead IP narrow waist IP measurements cannot see below network layer E.g., link-layer retransmission, tu
8、nnels, etc. Violations of end-to-end argument E.g., firewalls, address translators, and proxies Not directly visible, and may block measurements Decentralized control Autonomous Systems may block measurements No global notion of time,Active Measurement: Ping,Adding traffic for purposes of measuremen
9、t Trade-offs between accuracy and overhead Need careful methods to avoid introducing bias Ping Host sends an ICMP ECHO packet to a target and captures the ICMP ECHO REPLY Useful for checking connectivity, and RTT Only requires control of one of the two end-points Problems with ping Round-trip rather
10、 than one-way delays Some hosts might not respond,Active Measurement: Traceroute,Time-To-Live field in IP packet header Source sends a packet with a TTL of n Each router along the path decrements the TTL “TTL exceeded” sent when TTL reaches 0 Traceroute tool exploits this TTL behavior,source,destina
11、tion,Send packets with TTL=1, 2, 3, and record source of “time exceeded” message,Active Measurement: Challenges of Traceroute,Measuring multiple paths Successive probes may traverse different paths Non-participating network elements Some routers and firewalls dont reply Inaccurate delay information
12、Includes processing delays on the router CPU Round-trip vs. one-way measurements Paths may have asymmetric properties Interfaces, not routers Returns IP address of interfaces, not routers,Active Measurement: Applications of Traceroute,Network troubleshooting Identify forwarding loops and black holes
13、 Identify long and convoluted paths See how far the probe packets get Network topology inference Launch traceroute probes from many places toward many destinations Join together to fill in parts of the topology though traceroute undersamples the edges,Active Measurement: Pathchar for Links,Three del
14、ay components:,How to infer d,c?,d,min. RTT (L),L,rtt(i+1) -rtt(i),slope=1/c,Passive Measurement: Logs at Hosts,Web server logs Host, time, URL, response code, content length, E.g., 122.345.131.2 - - 15/Oct/1998:00:00:25 -0400 “GET /images/wwwtlogo.gif HTTP/1.0“ 304 - “http:/www.aflcio.org/home.htm“
15、 “Mozilla/2.0 (compatible; MSIE 3.02; Update a; AK; AOL 4.0; Windows 95)“ “-“ DNS logs Request, response, time Useful for workload characterization, troubleshooting, etc.,Passive Measurement: SNMP,Simple Network Management Protocol Coarse-grained counters on the router E.g., byte and packet counts P
16、olling Management system can poll the counters E.g., once every five minutes Limitations Extremely coarse-grained statistics Delivered over UDP! Advantages: ubiquitous,Passive Measurement: Packet Monitoring,Tapping a link,Router A,Line card that does packet sampling,Packet Monitoring: Selecting the
17、Traffic,Filter to focus on a subset of the packets IP addresses/prefixes (e.g., to/from specific Web sites, client machines, DNS servers, mail servers) Protocol (e.g., TCP, UDP, or ICMP) Port numbers (e.g., HTTP, DNS, BGP, Napster) Collect first n bytes of packet (snap length) Medium access control
18、header (if present) IP header (typically 20 bytes) IP+UDP header (typically 28 bytes) IP+TCP header (typically 40 bytes) Application-layer message (entire packet),Tcpdump Output (three-way TCP handshake and HTTP request message),23:40:21.008043 eth0 135.207.38.125.1043 lovelace.acm.org.www: S 617756
19、405:617756405(0) win 32120 (DF),timestamp,client address and port #,Web server (port 80),SYN flag,23:40:21.036758 eth0 135.207.38.125.1043: S 2598794605:2598794605(0) ack 617756406 win 16384 23:40:21.036789 eth0 135.207.38.125.1043 lovelace.acm.org.www: . 1:1(0) ack 1 win 32120 (DF)23:40:21.037372 e
- 1.请仔细阅读文档,确保文档完整性,对于不预览、不比对内容而直接下载带来的问题本站不予受理。
- 2.下载的文档,不会出现我们的网址水印。
- 3、该文档所得收入(下载+内容+预览)归上传者、原创作者;如果您是本文档原作者,请点此认领!既往收益都归您。
下载文档到电脑,查找使用更方便
2000 积分 0人已下载
下载 | 加入VIP,交流精品资源 |
- 配套讲稿:
如PPT文件的首页显示word图标,表示该PPT已包含配套word讲稿。双击word图标可打开word文档。
- 特殊限制:
部分文档作品中含有的国旗、国徽等图片,仅作为作品整体效果示例展示,禁止商用。设计者仅对作品中独创性部分享有著作权。
- 关 键 词:
- INTERNETMEASUREMENTPPT
