Thread: [ProtoPeer-general] Event execution time bug
Status: Alpha
Brought to you by:
wojtg
From: Krzysztof F. <krz...@uj...> - 2009-09-14 19:01:40
|
Hello, My first mail here, so here it goes... I've started using Protopeer to create a network traffic testing project. I have run into two problems: First is a bug which appears when you just change the logging level in log4j configuration to debug. In class protopeer.util.quantities.Time line 121 throws NPE, because object 'time' is null. It is never initialized in class protopeer.time.Event. Second problem is that I can't find a description that would describe how the peer neighors are chosen in the commander example. Nor I can find a description on how should I define my own peers' neighbors. Best ragards, Krzysztof |
From: Krzysztof F. <krz...@uj...> - 2009-09-18 13:02:35
|
Hello, I would like to use Protopeer to measure network traffic inside and between aoutonomouns systems regarding where peers are located. I am looking through the protopeer code and I need to ask this question: Can I set that one peer is in one Autonomouns System/Network and another one is in another? Can I specify what peers are connected to what networks and test throughputs between those networks/autonomouns systems? In other words: Do I have any control on the network topology and Autonomous Systems connections? Thanks for all help, Krzysztof |
From: Wojciech G. <wg...@in...> - 2009-09-18 20:54:00
|
To simulate inter-AS networking you need to use the flow-based model: http://protopeer.epfl.ch/wiki/FlowBasedNetworkModel Frank Lehrieder (CCed) was modeling inter-AS connectivity and various topologies in this paper: http://phobos.informatik.uni-wuerzburg.de/TR/tr459.pdf He might be able to answer your questions better. Cheers, Wojtek > Hello, > > I would like to use Protopeer to measure network traffic inside and > between aoutonomouns systems regarding where peers are located. > > I am looking through the protopeer code and I need to ask this question: > Can I set that one peer is in one Autonomouns System/Network and another > one is in another? > Can I specify what peers are connected to what networks and test > throughputs between those networks/autonomouns systems? > In other words: > Do I have any control on the network topology and Autonomous Systems > connections? > > Thanks for all help, > Krzysztof > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register now! > http://p.sf.net/sfu/devconf > _______________________________________________ > ProtoPeer-general mailing list > Pro...@li... > https://lists.sourceforge.net/lists/listinfo/protopeer-general > ---------------------------------------------------------------------- Kawalerka za 79 000 zl! Sprawdz >>> http://link.interia.pl/f2348 |
From: Krzysztof F. <krz...@uj...> - 2009-09-19 23:21:29
|
Wojciech Galuba pisze: > To simulate inter-AS networking you need to use the flow-based model: > http://protopeer.epfl.ch/wiki/FlowBasedNetworkModel > > Frank Lehrieder (CCed) was modeling inter-AS connectivity and various > topologies in this paper: > http://phobos.informatik.uni-wuerzburg.de/TR/tr459.pdf > > He might be able to answer your questions better. > > Cheers, > Wojtek > > Hello, Thank you for your help. Do you have any examples on the flow-based model application implementation? As far as I can see I need at least to create my own implementation of Topology class. Is this where all the routing (choosing the path by getLinks function) should take place? Is there any problem with applying the flow-based model for intra-AS traffic? Best regards, Krzysztof |
From: Frank L. <leh...@in...> - 2009-09-21 07:07:16
|
Dear Krzysztof, > Do you have any examples on the flow-based model application > implementation? A tutorial-like introduction to the flow-based network model is provided at http://protopeer.epfl.ch/wiki/FlowBasedNetworkModel It contains some small example code fragments and gives recommendations on how to use and adjust it to your needs. > As far as I can see I need at least to create my own implementation of > Topology class. Is this where all the routing (choosing the path by > getLinks function) should take place? Yes, exactly. You can, for example, create a multi-network topology and connect the different networks via links (class protopeer.network.flowbased.Link). As you mentioned, this is the task of the "Topology" which you have to extend for this purpose. Then, you can attach the TransmittedDataMeter (same package) to the links to measure the amount of data transmitted over them. For the evaluation, you need to call the method "evaluatePeriod()" which returns the amount of data transmitted since the last call of this method. > Is there any problem with applying the flow-based model for intra-AS > traffic? No, this should work "out-of-the-box". Kind regards, Frank > > Best regards, > Krzysztof -- Dipl.-Inform. Frank Lehrieder University of Wuerzburg, Institute of Computer Science, Chair of Distributed Systems (Informatik III), Am Hubland, 97074 Wuerzburg, Germany Tel: +49 931 31-86651 Fax: +49 931 888-6632 leh...@in... http://www3.informatik.uni-wuerzburg.de/staff/lehrieder/ |