Exploiting the predictability of TCP steady-state to speed up network simulation

  • Authors:
  • Qi He;Mostafa Ammar;George Riley;Richard Fujimoto

  • Affiliations:
  • Networking and Telecommunications Group, College of Computing, Georgia Institute of Technology, 220 GCATT Building, 250 14th St. NW, Atlanta, GA;Networking and Telecommunications Group, College of Computing, Georgia Institute of Technology, 220 GCATT Building, 250 14th St. NW, Atlanta, GA;Networking and Telecommunications Group, College of Computing, Georgia Institute of Technology, 220 GCATT Building, 250 14th St. NW, Atlanta, GA;Networking and Telecommunications Group, College of Computing, Georgia Institute of Technology, 220 GCATT Building, 250 14th St. NW, Atlanta, GA

  • Venue:
  • Performance Evaluation - Special issue: Distributed systems performance
  • Year:
  • 2004

Quantified Score

Hi-index 0.00

Visualization

Abstract

In discrete-event network simulations, a significant portion of resources are dedicated to the processing of packet events. For large-scale network simulations, the processing of packet events is the most time consuming aspect of the simulation. In this work, we develop a technique that saves on the processing of packet events for TCP flows using the well established results showing that the average behavior of a TCP flow is predictable given a steady-state path condition. We exploit this to predict the average behavior of a TCP flow over a future period of time where steady-state conditions hold, thus allowing for a reduction (or elimination) of the processing required for packet events. We call the flows simulated with our scheme "predicted flows", in contrast to the "packet-based flows" in usual packet level simulations. We design a simulation framework that provides the flexibility to incorporate this method of simulating TCP packet flows. Our goal is (1) to accommodate different network configurations, on/off flow behaviors and interaction between predicted flows and packet-based flows; and (2) to preserve the statistical behavior of every entity in the system so as to maintain the accuracy of the network simulation as a whole. In order to illustrate the promise of this idea, we implement it in the context of the ns2 simulation system. A set of experiments illustrate the speedup and approximation of the simulation framework, and relate the effectiveness of the scheme to the transient behavior of TCP congestion control. We compare two approaches to predicting TCP throughput and show that formula-based prediction suffers inaccuracy under certain scenarios due to the simple assumptions made about inter-loss time, as most fluid models do, but otherwise achieves a good approximation faster than direct measurement prediction.