Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of...

34
Prentice Hall High Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks

Transcript of Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of...

Page 1: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Chapter 3

Performance Measurement of TCP/IP Networks

Page 2: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Objectives

Appreciate the role of measurement in building and maintaining high-performance TCP/IP networks

Explain the types of tools available for performance measurement

Familiarize with freely available performance measurement and testing tools

Select an appropriate tool for a given task

Page 3: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Contents

Why network measurement Measurement tasks Classification of measurement tools Practical measurement tools Selecting the right tool

Page 4: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Why Network

Measurement

Page 5: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Why Network Measurement

Network managementMonitor performance (e.g. performance

bottleneck)Improve network services

Network traffic analysisCharacterize traffic loadInput for network design

Page 6: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Why Network Measurement (Cont.)

Network researchCollect packet traces

Traffic modelingValidate TCP model

Protocol implementationInspect packet headerIdentify packet payloadDebug

Page 7: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Measurement

Tasks

Page 8: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Measurement Tasks

Data collection: Collect raw data from operational network

Analysis: Obtain traffic characteristics (e.g. avg. throughput, delay, etc.)

Presentation: Visualize network performance

Interpretation: Ultimate goal of measurement tasks

Page 9: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Tool

Classification

Page 10: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Classification of Measurement Tools

Depending on purposes of measurementMonitoring tools (e.g.

Tcpdump, tcpstat)Benchmarking tools

(e.g. ttcp, NetPerf, etc.)

Fig 3.1

Page 11: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Classification of Measurement Tools (Cont.)

Depending on level of tasksCollectorAnalyzer

Depending on implementationSoftware toolsHardware tools

Page 12: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Measurement

Tools

Page 13: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Practical Measurement Tools

Tcpdump Tcpstat Netperf NetPIPE DBS (Distributed Benchmark System

Page 14: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Tcpdump Capture header/payload information Implemented on Unix platform libpcap: Capture and filter packets tcpdump: Analyze packet structure

Page 15: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Tcpstat

Report TCP related statistics periodicallyBandwidth usedNo. of packets exchangedAvg packet size

libpcap: Capture and filter packets tcpstat: Count packets Invoked with superuser privilege

Page 16: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Producing Traffic Statistics Graphs

Page 17: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

No. of ARP, TCP,UDP packets ps

Page 18: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Throughput and load of the observed traffic

Page 19: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Ttcp

Measure TCP throughputTCPUDP

Installation

Page 20: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Performance measurement with ttcp

Page 21: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Netperf

Active testing tool (benchmarking) Measure available bandwidth between two nodes Major features:

Generate different traffic patternsBulk data transfer (e.g. FTP)Interactive data exchange (e.g. rlogin)

Detailed and precise measurementBesides TCP/UDP, also support datalink and other

network protocols

Page 22: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Netperf (Cont.)

Fig. 3.15

Page 23: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

NetPIPE

Benchmarking tool Application-oriented

Determine optimal message sizeObserve congestion level with a particular message size

Protocols supported:TCPMPIRPCAAL5

Page 24: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

NetPIPE (Cont.)

Fig. 3.17

Page 25: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Gnuplot Graph using NetPIPE output data

Page 26: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

DBS(Distributed Benchmark System)

Measure performance of multiple TCP connections in parallel

Support sophisticated test traffic patterns Evaluation of other important aspects of TCP

Retransmission controlCongestion avoidance control

Usage

Page 27: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

DBS (Cont.)

Fig. 3.20

Page 28: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Throughput

Page 29: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Sequence No

Page 30: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Delay

Page 31: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Delay in Detail

Page 32: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Comparison

Table 3.9 All six tools are compared against 10 different

features

Page 33: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Selecting Right Tool

Page 34: Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of TCP/IP Networks.

Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain

Selecting the Right Tool

Things need to be consideredMeasurement capabilityPlatform supportedMeasurement objectiveAvailability

Refer to Tables 3.9 and 3.10