Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of...
-
Upload
darleen-douglas -
Category
Documents
-
view
222 -
download
2
Transcript of Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain Chapter 3 Performance Measurement of...
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
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Why Network
Measurement
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
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Measurement
Tasks
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Tool
Classification
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Classification of Measurement Tools (Cont.)
Depending on level of tasksCollectorAnalyzer
Depending on implementationSoftware toolsHardware tools
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Measurement
Tools
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Practical Measurement Tools
Tcpdump Tcpstat Netperf NetPIPE DBS (Distributed Benchmark System
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
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Producing Traffic Statistics Graphs
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
No. of ARP, TCP,UDP packets ps
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Throughput and load of the observed traffic
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Ttcp
Measure TCP throughputTCPUDP
Installation
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Performance measurement with ttcp
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Netperf (Cont.)
Fig. 3.15
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
NetPIPE (Cont.)
Fig. 3.17
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Gnuplot Graph using NetPIPE output data
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
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
DBS (Cont.)
Fig. 3.20
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Throughput
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Sequence No
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Delay
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Delay in Detail
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Comparison
Table 3.9 All six tools are compared against 10 different
features
Prentice HallHigh Performance TCP/IP Networking, Hassan-Jain
Selecting Right Tool
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