Home › Forums › PeerfactSim Forum › How to plot simulation results?
- This topic has 5 replies, 1 voice, and was last updated 8 years ago by Kalman.
May 21, 2015 at 8:52 pm #981Anas AnisGuest
I am running the simulator for some overlays, e.g. chord2, but no
LookupComplexity.dat file was created nor its containing folder in the
‘output’ folder. So does anybody know what is wrong?May 21, 2015 at 8:53 pm #982KalmanGuest
Which config-file did you use? Which application in specific was using
Try using the filesharing application, do you get some results with
it?May 21, 2015 at 8:53 pm #983Anas AnisGuest
what do you mean by a ‘config-file’ that I use?
I’m only running the simulator using the batch file ‘runGui’, then I
select ‘chord2.xml’ from ‘visualization’ from the right side of the
opened window, then I press ‘Start Simulation’.
So am I missing some steps?May 21, 2015 at 8:54 pm #984KalmanGuest
As you say, you use the config file “/config/visualization/chord2.xml”
It creates a file named “outputs/DHTFilesharingResults.csv”
This file presents the performance of Chord in the filesharing
Have a look in the config file (chord2.xml), there it is listed which
layers should be simulated and what should be measured during the
Following analyzers are active:
So there are only 2 analyzers: one for the visualization and one for
the performance of Chord in the filesharing application. No
“LookupComplexity.dat” is created.
Use the “DHTFilesharingResults.csv” for your results.
For more information, have a look at the document for the first stepst
in PeerfactSim.KOM – Fork of UPB: http://peerfact.com/?page_id=366
Best regards,May 21, 2015 at 8:55 pm #985Anas AnisGuest
Ok, now I know why this file is not created as a result of simulating
this config-file, but according to the video you mentioned, the
LookupComplexity.dat was created as a result of simulating chord2.xml
and filesharing2-gnutella06 (or may be because only one of them), and
this really confuses me because i got no such output file(s).
Anyway, it’s still unclear how to plot the results
(DHTFilesharingResults.csv or chord2_structure_complexity.plt) using
gnuplot, i have wgnuplot.exe and i’m trying to open either the .plt
file or the .csv file, but none of them is showing any results, and it
gives me ‘No data in plot’ when trying to open
‘chord2_structure_complexity.plt’ using ‘wgnuplot.exe’.
ThanksMay 21, 2015 at 8:55 pm #986KalmanGuest
Dear Anas Anis,
having the DHTFilesharingResults.csv is a good start. Now you just
have to plot the results.
Gnuplot offers a good tutorial on how to be used: http://gnuplot.info/docs_4.4/gnuplot.pdf
First of all, you have to open the .plt files, look into it and
understand how gnuplot works.
After that, you can also use the gnuplot-file listed on the seminars
- You must be logged in to reply to this topic.