close Warning: BrowserModule failed with ConfigurationError: Look in the Trac log for more information.

Changes between Version 27 and Version 28 of OverSimUsage


Ignore:
Timestamp:
Sep 10, 2009, 12:04:20 PM (15 years ago)
Author:
Ingmar Baumgart
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • OverSimUsage

    v27 v28  
    3232== Editing parameters: ==
    3333
    34  * edit {{{simulations/omnetpp.ini}}} to change or define new simulation scenarios[[BR]]
     34 * Edit {{{simulations/omnetpp.ini}}} to change or define new simulation scenarios[[BR]]
    3535 (default parameters are stored in {{{simulations/default.ini}}}, parameters are described on the
    36  [/chrome/site/doc/index.html NEDdoc-pages])
     36 [/chrome/site/doc/index.html OverSimAPI pages])
     37 * Make use of the OMNeT++ ini file syntax for easy parameter studies. This is an example for a study on Chord with different churn rates and 5 different seeds. Simply add this section to {{{simulations/omnetpp.ini}}}:
     38{{{
     39repeat = 5
     40*.underlayConfigurator.churnGeneratorTypes = "oversim.common.LifetimeChurn"
     41**.overlayType = "oversim.overlay.chord.ChordModules"
     42**.tier1Type = "oversim.applications.kbrtestapp.KBRTestAppModules"
     43**.targetOverlayTerminalNum = 100
     44**.initPhaseCreationInterval = 0.1s
     45**.measurementTime = 500s
     46**.transitionTime = 100s
     47**.lifetimeMean = ${lifetime=1000, 2000, 10000}s
     48}}}
     49 * Run this parameter study:
     50{{{
     51../src/OverSim -cChordChurn -uCmdenv
     52}}}
     53
     54== Use the post-processing scripts to generate plots ==
     55 * Install python (with matplotlib, numpy and scipy) and gnuplot. On Ubuntu use ''sudo apt-get install python-matplotlib python-scipy gnuplot''. On Windows you can install the [python(x,y) light edition http://www.pythonxy.com/] which contains all needed packages.
     56 * View the results using the script simulation/tools/plot.py
     57{{{
     58tools/plot.py -c0.95 lifetime "KBRTestApp: One-way Delivery Ratio.mean" results/ChordChurn-*.sca
     59}}}
     60 * To generate gnuplot output append {{{-o chord_churn}}} to the script parameters. This will generate a {{{chord_churn.plot}}} and a {{{chord_churn.dat}}}, which can be used as input to gnuplot.
    3761
    3862== Tips for using the Eclipse IDE ==