This topic contains 5 replies, has 1 voice, and was last updated by Matthias Feldotto 3 years, 8 months ago.
May 21, 2015 at 7:44 pm #901
i am trying to add more analyzers into kademlia. these analyzers hav
already been implemented in the code, for example
class. When i add this into the xml file of kademlia, with specifying
the output file name and the interval, I get an error stating a
configuration error. But when I add it without any parameters, I get a
null pointer exception. How do i add more analyzers ?
KrishnaMay 21, 2015 at 7:44 pm #902
The available analyzers are very different in their concepts. The one
you have chosen needs a database which has to be configured and where it
puts the results in. I think that is not your goal.
For getting information about the network I would prefer the
de.tud.kom.p2psim.impl.analyzer.NetWorkloadAnalyzer It prints its
results into a textfile and you can work with it, for example plot it
with gnuplot. I hope that will help you.May 21, 2015 at 7:45 pm #903
My aim is to benchmark kademlia on GNP and Modular network. By adding
de.tud.kom.p2psim.impl.analyzer.NetWorkloadAnalyzer into the xml, how
do i specify the output file location ? are there any other
implemented class which i can use to measure ?May 21, 2015 at 7:45 pm #904
The NetWorkloadAnalyzer generates a folder structure in the outputs
folder (with config name, seed, size, date) and there you find the file
“NetWorkload.dat” with the results.
For Kademlia only purposes you find specific analyzers in
de.tud.kom.p2psim.impl.overlay.dht.kademlia2.measurement, for example
(but attention: not every anaylzer prints results to file, look into the
If you use the FilesharingApplication to generate traffic, you can also
use the DHTFilesharingAnalyzer.May 21, 2015 at 7:46 pm #905
I added some of the analyzers in
OperationDelayAndOutcomeAnalyzer, TrafficAnalyzer, to the xml file.
The simulator runs smoothly, but I dont see any outputs from the
analyzers that I added. I went through the code and did not come
across any places where thr output file name is mentioned. Am I
missing something?May 21, 2015 at 7:46 pm #906
The analyzers, for example the KadmeliaOperationTrafficAnalyzer,
There you find the methods for generatting the filename, look into the
You must be logged in to reply to this topic.