Home › Forums › PeerfactSim Forum › How to plot simulation results?
- This topic has 5 replies, 1 voice, and was last updated 9 years, 4 months ago by Kalman.
-
AuthorPosts
-
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 #982KalmanGuestWhich config-file did you use? Which application in specific was using
Chord2?Try using the filesharing application, do you get some results with
it?May 21, 2015 at 8:53 pm #983Anas AnisGuestwhat 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 #984KalmanGuestAs 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
application.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
simulation.
Following analyzers are active:<Monitor class=”de.tud.kom.p2psim.impl.common.DefaultMonitor”
start=”0″ stop=”$finishTime”><Analyzer
class=”de.tud.kom.p2psim.impl.vis.analyzer.VisAnalyzer” ><OverlayAdapter
class=”de.tud.kom.p2psim.impl.overlay.dht.chord.chord2.vis.ChordAdapter”/
></Analyzer>
<Analyzer
class=”de.tud.kom.p2psim.impl.analyzer.DHTFilesharingAnalyzer” /></Monitor>
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=366Best regards,
May 21, 2015 at 8:55 pm #985Anas AnisGuestOk, 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’.Thanks
May 21, 2015 at 8:55 pm #986KalmanGuestDear 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
webpage:
http://www.cs.uni-paderborn.de/fileadmin/Informatik/FG-TI/Lehre/WS2011/P2P-Systems/DHTFilesharingResults-Gnuplot.pltBest regards
-
AuthorPosts
- You must be logged in to reply to this topic.