NetworkPerformance (Compatibility Mode) PDF
NetworkPerformance (Compatibility Mode) PDF
NetworkPerformance (Compatibility Mode) PDF
Outline Measurement Tools and Techniques Workload generation Analysis Basic statistics Queuing models Simulation
CS 640
Measurement/analysis enables models to be built which can be used to effectively develop and evaluate new techniques
Statistical models Queuing models Simulation models
CS 640 2
Measurement Introduction
Internet measurement is done to either analyze/characterize network phenomena or to test new tools, protocols, systems, etc. Measuring Internet performance is easier said than done
What does performance mean? Workload (what and where youre measuring) selection is critical
Reproducibility is often essential
Many tools have been developed to measure/monitor general characteristics of network performance
traceroute and ping are two of the most popular
These are examples of active measurement tools
Traceroute: path and RTT Nettimer (Lai): latest bottleneck bandwidth using packet pair method
Problems
LOTS of data! Privacy issues Getting packet scoped in backbone of the network
CS 640
Workload Generation
Local and/or wide area experiments often require representative and reproducible workloads How do we select a workload?
Currently HTTP makes up the majority of Internet traffic
Trace-based workloads
Capture traces and replay them Black-box method
Synthetic workloads
Abstraction of actual operation May not capture all aspects of workload
Analytic workloads
Attempt to model workload precisely Very difficult
CS 640 7
Characteristic Component
Base file - body Base file - tail Embedded file Single file1 Single file 2 Request Size Body Tail Document Popularity Temporal Locality OFF Times Embedded References Session Lengths File Size
Model
System Impact
* * * * * * *
Lognormal File System Pareto Lognormal Lognormal Lognormal Lognormal Network Pareto Zipf Caches, buffers Lognormal Caches, buffers Pareto Pareto ON Times Inverse Gaussian Connection times
CS 640
* *
SURGE Architecture
SURGE Client System
ON/OFF Thread ON/OFF Thread ON/OFF Thread SURGE Client System LAN Web Server System
CS 640
10
Surge
SPECWeb96
SPECWeb96
SURGE
600
11
V. Paxson, S. Floyd, Wide-Area Traffic: The Failure of Poisson Modeling, IEEE/ACM TON, 1995. M. Crovella, A. Bestavros, Self-Similarity in World Wide Web Traffic: Evidence and Possible Causes, IEEE/ACM TON, 1997.
CS 640
13
Queuing Models
One of the key modeling techniques for computer systems in general
Vast literature on queuing theory Nicely suited for network analysis Prof. Mary Vernon is our local expert
Generally, queuing systems deal with a situation where jobs (of which there are many) wait in line for a resource (of which there are few)
Queuing theory can enable us to determine response time Examples?
CS 640 14
Response time = waiting time + service time For stability, mean arrival rate must be less than mean service rate
CS 640 15
Littles Law
One of the most basic theorems in queuing theory (1961)
Mean number jobs in system = arrival rate * mean response time Treats a system as a black box Applies whenever number of jobs entering the system equals number of jobs leaving the system
No jobs created or lost inside system
Example: Average forwarding time in a router is 100 microseconds, I/O rate for packets is 100k. What is the mean number of packets buffered in the router?
CS 640 16
Simulation Models
Simulation is one of the most common/important methods of analysis/modeling
Typically an abstraction of the system under consideration Can provide significant insight to systems behavior
Network simulation is difficult because of the different layers of operation and the complexity at each layer Simulation options: build your own, use someone elses Canonical network simulator is ns developed at LBL
www.isi.edu/nsnam/ns ssf-net is a new, routing-enabled simulator
CS 640
17