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.

Talk to us

Join us for a 30 min session where you can share your feedback and ask us any queries you have

Schedule a call

Disclaimer: All third-party content on this website/platform is and will remain the property of their respective owners and is provided on "as is" basis without any warranties, express or implied. Use of third-party content does not indicate any affiliation, sponsorship with or endorsement by them. Any references to third-party content is to identify the corresponding services and shall be considered fair use under The CopyrightLaw.