# WV Thu Aug 1 14:05:03 BST 2002 # This is the general template for the input data file for the SynSim script. # See docs for more information. # Conventions: # lists of values for parameters are comma-separated # lists of values for the parameters in a set of curvers are semicolumn (;) separated. The shortcut '..' is allowed provided that the values are integers # When using more than one set, they al must have the same number of elements. THis is because the corresponding elements are combined. eg: # _SET1 = 1;2;3 # _SET2 = 4;5;6 # This gives 3 simulations with resp. (1,4),(2,5) and (3,6). # Lines starting with '#' and blank lines are ignored # Lines starting with an underscore (_) are supposed to have following synstax: # _NAME = VALUE1 [,VALUE2[,..,VALUEn]] # The script will do a 'for'-loop over every parameter with more than one value. As a consequence, # DEVTYPE can have only 1 argument. # For every value of _SIMTYPE, the corresponding section must be present e.g.: # bufsim3 # _SAMPL = ...;... # # Unix is case dependent! # TITLE: Packet loss for variable gap with constant load (_NPACK, _SAMPL ) SIMTYPE : bufsim3 #DEVTYPE : OPSnode # extension of template files (default: .templ) TEMPL : .templ # the command line to run the simulation (default: perl inputfile outputfile) # 'inputfile' and 'outputfile' are keywords COMMAND : perl inputfile outputfile # extension of input file (default: .pl) EXT : .pl # To filter the output of the simulation # To filter the output of the simulation (defaults to .*) OUTPUT_FILTER_PATTERN : .* # Name of the template file for the result analysis ANALYSIS_TEMPLATE : SweepVar SWEEPVAR : _NBUFS # assuming the raw output comes in whitespace-separated columns DATACOL: 4 #logscale : x, y or xy LOGSCALE: Y YLABEL: Packet loss # number of packets to be generated _NPACK = 5000000 # number of ports _NPORTS = 2,4 # traffic distribution type: Poisson, Pareto, Uniform , Uniform (old) _TRAFDIST = 0,1 #_FRACT_MIN = 0.5 # packet length distribution type: uniform, Ethernet, IP, all MIN, all MAX _PLDIST = 2 # number of buffers _NBUFS = 8;12;16;24;32 # type of buffer # 0: adjustable; 1: fixed length; 2: multi-exit _BUFTYPE = 1,2 # the output mux of the buffer can be blocking or non-blocking _BLOCKING = 0 # unit packet length 50*8+50 bits, and a timestep is a bit _UNITPL = 400 _NBITSH = 0 # max number of units _NMAX = 30 # intermediate number of units _NMED = 0 # minimum gap width _MINGW = 400 # average gap width (for all distributions!) _MEANGW=3600 # "gap" between head and tail of packet in circulating buffer _MINBGW = 100 # Sampling factor to speed up simulation with a factor UNITPL/SAMPL _SAMPL = 50 # keep packet order _KEEP_ORDER = 0,1 # aggregate #_AGGREGATE = 12000,24000 #verbose or not _VERBOSE = 0 # to analyse the generated traffic _ONLY_TRAFFIC = 0 # generate data for histograms _HISTS = 0 # size of population _POP_SAMPLE = 1