Escolar Documentos
Profissional Documentos
Cultura Documentos
8
D-ITG is a platform capable to produce traffic at packet level accurately replicating appropriate stochastic processes for both IDT (Inter Departure Time) and PS (Packet Si e) random variables (e!ponential" uniform" cauchy" normal" pareto" ###)# D-ITG supports both IPv$ and IPv% traffic generation and it is capable to generate traffic at net&ork" transport" and application layer# 'or a detailed and up-to-date documentation please refer to the official &ebsite( http())&&&#grid#unina#it)soft&are)ITG)documentation#php
- .hange the default ;>ogging Directory< for the ne&ly created one( ~/D-ITG2.8.0-rc1/logs
Go to the folder ITGPlot &ithin the folder src of the D-ITG directory and give e!ecution permission to the ITGplot tool(
$ sudo chmod +x ITGplot
1#. (Optional Stop the Re!ote "ogger. If the ?emote >ogger has been used" kill it after killing the ?eceiver(
$ ps -aux | grep ITGLog $ sudo kill [number_in_the_second_column]
1c. In case o& pro#le!s ... If the above does not &ork" restart the G3I" it takes nothing### 2a. Process the log (ith the -nal),er tool. Select in the Input 'ile menu the name of the log to be analysed
Select the 0utput dir for the results to be placed# Select the Plot files and click into the ;?un Enaly er< button# (It is better if you modify the default * millisecond Interval" since in that case the plots &ill have too much granularity" values bigger than *-- ms &orks good for most of the tests done) Fote( If the Enaly er does not end after *G seconds" click on it again and restart the G3I# If any problem occurs regarding ;0ctave< you have to install it in your machine#
# apt-get install octave
2#. Process the results !anuall) &ro! the co!!an% line Go to the binary directory &ithin the D-ITG folder and run
$ ./ITGDec [log_name] -b 500 -d 500 -p 500 -j 500
It allo&s more fle!ibility than the G3I" the numbers are the millisecond of granularity that &e &ant to provide to each file( b for bitrate" d for delay" p for pacekt loss and 8 for 8itter) $. Plot the results It the G3I &as used check &hether ne& files bitrate#t!t" delay#t!t" packetloss#t!t and 8itter#t!t have appeared in the output dir# If not they are in the folder &here the G3I is located# In case you analy ed the results manually" check for the files in the bin directory# Dove them to the ITGPlot folder and create the plots(
$ ./ITGplot bitrate.txt delay.txt packetloss.txt jitter.txt
0bserve that ne& #eps figures of the same name have appreared# Dove them to a folder of your convinience )you do not &ant to over&rite them)# ?esults of multiple flo&s sho& the aggregate &hich may result confusing" if you 8ust &ant to plot the flo&s use the option (&here H stands for the last flo& that &ants to be plotted)(
$ ./ITGplot bitrate.txt delay.txt packetloss.txt jitter.txt 1:X
-%%itional notes
This document is a very introductory guide to the potential of the D-ITG# 'or a more detailed information regarding all the options available &ith each of the programs" have a look at the guide in( http())&&&#grid#unina#it)soft&are)ITG)codice)D-ITG-+#I#--=eta+-manual#pdf Dost of the &orkaround regarding the placement of files and tools &ill be sorted out in the ne& version of the G3I" stay tuned#