- This topic has 5 replies, 1 voice, and was last updated 7 years, 8 months ago by Matthias Feldotto.
May 21, 2015 at 7:44 pm #901KrishnaGuest
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 #902Matthias FeldottoGuest
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 #903KrishnaGuest
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 #904Matthias FeldottoGuest
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 #905KrishnaGuest
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 #906Matthias FeldottoGuest
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.