next up previous contents
Next: Invocation Up: Traffic Control - Next Previous: Adding new meters   Contents


Traffic control simulator

tcsim allows event-driven simulation of the behaviour of traffic control elements in user space. In order to simulate exactly what happens in the kernel, tcsim uses the original kernel source. It also uses the tc command-line utility for configuration, so any consistency checks of tc, and any other effects caused by it (e.g. rounding of parameter values), are carefully preserved too.

This is a reference manual for tcsim, intended for readers who are familiar with Linux traffic control. At several places, example scripts like examples/prio+rsvp are mentioned. These scripts are part of the tcng package, and can be found in the directory tcng/examples.

The examples assume that tcsim is installed system-wide, and that the commands are run from the tcng top-level directory. If running examples from the tcsim directory, without installing tcsim first, command names need to be prefixed with ./, and the path to example scripts needs to be prefixed with ../.

E.g. the example

tcsim examples/dsmark+policing | tcsim_filter | \
  tcsim_plot -t cumul

becomes

./tcsim ../examples/dsmark+policing | ./tcsim_filter | \
  ./tcsim_plot -t cumul

The tcng package, and related material, can be found at http://tcng.sourceforge.net/



Subsections
next up previous contents
Next: Invocation Up: Traffic Control - Next Previous: Adding new meters   Contents
Martin A. Brown 2003-11-06