You can subscribe to this list here.
| 2008 |
Jan
|
Feb
(2) |
Mar
(1) |
Apr
(4) |
May
|
Jun
(2) |
Jul
(3) |
Aug
|
Sep
|
Oct
(2) |
Nov
|
Dec
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2009 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(3) |
Aug
(2) |
Sep
|
Oct
|
Nov
|
Dec
|
| 2010 |
Jan
(1) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
| 2011 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
|
Dec
|
|
From: taher j. <tah...@ho...> - 2011-10-20 06:28:02
|
hi pee...@li... how's your day going? if you're looking for a new job http://t.co/EaJdXPYY |
|
From: taher j. <tah...@ho...> - 2010-01-20 23:13:28
|
Hi, My name is Jalloul Taher and I am student from Tunisia studying p2p networks.I have a project that concerns the protocole CAN, so I want to know if CAN is implemented as a p2p overlay network.if not what do you suggest as a simulator? thank you in advance _________________________________________________________________ Téléchargez Internet Explorer 8 et surfez sans laisser de trace ! http://clk.atdmt.com/FRM/go/182932252/direct/01/ |
|
From: <st...@ko...> - 2009-08-31 14:09:58
|
Hi Yue, please find the following answers below: > Hi there, > I wanted to run a simulation of 10000 nodes remotely on the Tres computer, > but I have some problem running the compiled program of > Peerfactsim-project: > > My program runs without problem in eclispe on my laptop. But I want to > copy > the compiled files and run it on Tres. > > At first, I copied the whole project to Tres, > then I go to the root folder of the project : PeerfactSim.KOM-Main >>From there I run: > java -classpath ./bin;./lib/commons-math-1.1.jar > de.tud.kom.p2psim.SimulatorRunner config/chord.xml > I was told that this command is not in correct form. > I've no idea where the error was... > A valid command must contain all required libs, that the simulator uses. I think, that your version of PeerfactSim.KOM needs more than that one library. In order to include all libs to run a simulation, use "lib/*" instead. A further problem is the separation character, which is ":" on unix systems and ";" on Windows systems. So a valid command, with enough memory to run large simulations can look like: java -Xms1000M -Xmx3000M -cp lib/*:bin de.tud.kom.p2psim.SimulatorRunner config/chord.xml ---------------------------------------------------------------------------------------- > Later I tried to export the Peerfactsim-project to a runnable jar file. > I uesed the Export function of eclipse. > but when I run the Jar file, I was told: > > log4j:WARN No appenders could be found for logger > (de.tud.kom.p2psim.impl.simengine.Simulator). > log4j:WARN Please initialize the log4j system properly. > Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1 > at > de.tud.kom.p2psim.SimulatorRunner.parseVariables(SimulatorRunner.java:351) > at de.tud.kom.p2psim.SimulatorRunner.main(SimulatorRunner.java:338) > > Can anyone tell me how to generate a runnable file of the simulator ? > This error occurs, since no parameter is provided, which specifies the config-file for a simulation during the start of the simulator. You must provide a config-file to omit the error. > Thanks in advance! > Yue > Cheers, Dominik ------------------------------------------------------------------------------ > Let Crystal Reports handle the reporting - Free Crystal Reports 2008 > 30-Day > trial. Simplify your report design, integration and deployment - and focus > on > what you do best, core application coding. Discover what's new with > Crystal Reports now. > http://p.sf.net/sfu/bobj-july_______________________________________________ > Peerfactsim-developer mailing list > Pee...@li... > https://lists.sourceforge.net/lists/listinfo/peerfactsim-developer > |
|
From: Yue S. <sch...@gm...> - 2009-08-31 10:39:24
|
Hi there,
I wanted to run a simulation of 10000 nodes remotely on the Tres computer,
but I have some problem running the compiled program of Peerfactsim-project:
My program runs without problem in eclispe on my laptop. But I want to copy
the compiled files and run it on Tres.
At first, I copied the whole project to Tres,
then I go to the root folder of the project : PeerfactSim.KOM-Main
>From there I run:
java -classpath ./bin;./lib/commons-math-1.1.jar
de.tud.kom.p2psim.SimulatorRunner config/chord.xml
I was told that this command is not in correct form.
I've no idea where the error was...
----------------------------------------------------------------------------------------
Later I tried to export the Peerfactsim-project to a runnable jar file.
I uesed the Export function of eclipse.
but when I run the Jar file, I was told:
log4j:WARN No appenders could be found for logger
(de.tud.kom.p2psim.impl.simengine.Simulator).
log4j:WARN Please initialize the log4j system properly.
Exception in thread "main" java.lang.ArrayIndexOutOfBoundsException: 1
at
de.tud.kom.p2psim.SimulatorRunner.parseVariables(SimulatorRunner.java:351)
at de.tud.kom.p2psim.SimulatorRunner.main(SimulatorRunner.java:338)
Can anyone tell me how to generate a runnable file of the simulator ?
Thanks in advance!
Yue
|
|
From: Wulf F. <wul...@gm...> - 2009-07-27 16:08:34
|
Hi, (a) I had memory problems with the default JVM settings and wondered whether you put a lot of effort in playing with different parameters. I ended up with the JDK JVW and -server -Xmx1024m (-Xmx3g linux) on a 4GB quad core running windows vista 64bit (32bit jdk) and ubuntu 64bit (64bit jdk). This solved basic problems I had with a few simulations in the GUIRunner. I am still unable to run the Gnutella setups with 1000 and 10000 nodes. I am not sure whether I want to simulate networks of that size but would be interested in knowing what to do to run them. (b) Do you happen to have a document going into the details regarding the possibilities and syntax of the .dat and .xml files in the /config/ directory? I found a document with information about the visualization and was afraid I might have missed a document about that or is the general advice to check the java doc regarding these files? (c) I was looking for an ant file (checked out the project from sf.net cvs) to build a jar to easily export it to a more powerful workstation and run it outside of eclipse. Have you done that in the past? The CVS got two ant files but neither is for a jarfile build process. Maybe if you figured out how to run it on an average workstation I will not have to worry about that. (d) Skipping through the eclipse-ant.xml it looks as if you have a Pastry implementation in your build path. Is that one ready to make it into the distribution so Pastry would be available as an overlay in a future release? Best regards, Wulf |
|
From: Wulf F. <wul...@gm...> - 2009-07-10 11:01:34
|
Hi, I am not a member of the team but checked out the simulator this week for a thesis and subscribed to the mailing list. You might want to check out http://peerfact.kom.e-technik.tu-darmstadt.de/ as it provides answers to most of your questions. I assume you found the project on sourceforge.net and did not know about the webpage. Best regards, Wulf Kapourani Varvara wrote: > Hello! > > My name is Varvara Kapourani and I am a PhD student from Greece studying p2p networks. > I am interesting in using your p2p simulator (PeerfactSim.KOM) for my work and I would really appreciated if you could help me by answering in some questions and provide me any available material; firstly, I’d like to know if there is a tutorial that guides someone on how to install, configure and use the simulator - I could use a reference as a start point. Secondly, it would be very helpful for saving time and working efficiently if I knew the supported network layers and protocols that your simulator has, as well as the topologies that can be simulated and any other techniques or/and algorithms that have been implemented and are ready to be used. For example, which parameters across the layers can be captured and measured (e.g. rate, bandwidth, latency, loss, R-D, PSNR etc) so that we can also have statistics for them? Which are the available algorithms for peers’ entering/churn (e.g. Poisson), packet routing (e.g. Dijkstra) and what about the organization of the peers in the overlay / topology (e.g. GT-ITM or directed graph or flow tree etc)? Can the simulator be adapted to work with SVC coding? Is there any GUI interface for the simulator's configuration and visualisation of the run-time results? Generally, I’d be grateful for any details that may provide me. > > > Waiting for your reply… > > Thanks a priory for your time. > > Sincerely, > Varvara Kapourani. > > University of the Aegean > Department of Information & Communication System Engineering > Tel. +30 210 9344943 > Mob. +30 6975646878 > e-mail: vka...@ae... > > ------------------------------------------------------------------------------ > Enter the BlackBerry Developer Challenge > This is your chance to win up to $100,000 in prizes! For a limited time, > vendors submitting new applications to BlackBerry App World(TM) will have > the opportunity to enter the BlackBerry Developer Challenge. See full prize > details at: http://p.sf.net/sfu/Challenge > _______________________________________________ > Peerfactsim-developer mailing list > Pee...@li... > https://lists.sourceforge.net/lists/listinfo/peerfactsim-developer |
|
From: Kapourani V. <vka...@ae...> - 2009-07-09 13:04:34
|
Hello! My name is Varvara Kapourani and I am a PhD student from Greece studying p2p networks. I am interesting in using your p2p simulator (PeerfactSim.KOM) for my work and I would really appreciated if you could help me by answering in some questions and provide me any available material; firstly, I’d like to know if there is a tutorial that guides someone on how to install, configure and use the simulator - I could use a reference as a start point. Secondly, it would be very helpful for saving time and working efficiently if I knew the supported network layers and protocols that your simulator has, as well as the topologies that can be simulated and any other techniques or/and algorithms that have been implemented and are ready to be used. For example, which parameters across the layers can be captured and measured (e.g. rate, bandwidth, latency, loss, R-D, PSNR etc) so that we can also have statistics for them? Which are the available algorithms for peers’ entering/churn (e.g. Poisson), packet routing (e.g. Dijkstra) and what about the organization of the peers in the overlay / topology (e.g. GT-ITM or directed graph or flow tree etc)? Can the simulator be adapted to work with SVC coding? Is there any GUI interface for the simulator's configuration and visualisation of the run-time results? Generally, I’d be grateful for any details that may provide me. Waiting for your reply… Thanks a priory for your time. Sincerely, Varvara Kapourani. University of the Aegean Department of Information & Communication System Engineering Tel. +30 210 9344943 Mob. +30 6975646878 e-mail: vka...@ae... |
|
From: Sebastian K. <ka...@ko...> - 2008-10-16 13:45:49
|
Hi Jonas, Can somebody tell me how the churn model is used for a p2p overlay? 1. Implement a churn model by your own => Generate a component (FooModel) which implements the de.tud.kom.p2psim.api.churn.ChurnModel interface. This model should be specified in the xml-configurations file as follows: <ChurnGenerator class="de.tud.kom.p2psim.impl.churn.DefaultChurnGenerator" start="0s" stop="$finishTime"> <ChurnModel class="de.tud.kom.p2psim.impl.churn.FooModel"/> </ChurnGenerator> I think you can find a lot of example churn models in the package de.tud.kom.p2psim.impl.churn. 2. My problem is how does the churn model let each peer know what type (longlasting etc.) they are? I think this would make sense to put in the NodeFactory but in the Kademlia implementation I could not find anything there. Good point, however the NodeFactory should be independent from the churn process. So, we split up functionalities, because not each simulation requires peer turnover. So, simply shift this functionality into the ChurnModel and everything should work fine. 3. Second problem is how does it let a peer know when to go online/offline? Each OverlayNode implements the so called ConnectivityListener-Interface (de.tud.kom.p2psim.api.network.NetLayer), by default. As a consequence, each time the network-layer changes the status of a node (offline/online), the connectivityChanged(ConnectivityEvent ce)-function is invoked. I think that's exactly what you need. Cheers, Sebastian -----Ursprüngliche Nachricht----- Von: Jonas Kühne [mailto:jon...@gm...] Gesendet: Donnerstag, 16. Oktober 2008 14:50 An: pee...@li... Betreff: [Peerfactsim-developer] churn model Hello! I programmed GIA for peerfactsim. Now I am supposed to use the churn model for GIA. Can somebody tell me how the churn model is used for a p2p overlay? My problem is how does the churn model let each peer know what type (longlasting etc.) they are? I think this would make sense to put in the NodeFactory but in the Kademlia implementation I could not find anything there. Second problem is how does it let a peer know when to go online/offline? thanks in advance Jonas ------------------------------------------------------------------------- This SF.Net email is sponsored by the Moblin Your Move Developer's challenge Build the coolest Linux based applications with Moblin SDK & win great prizes Grand prize is a trip for two to an Open Source event anywhere in the world http://moblin-contest.org/redirect.php?banner_id=100&url=/ _______________________________________________ Peerfactsim-developer mailing list Pee...@li... https://lists.sourceforge.net/lists/listinfo/peerfactsim-developer |
|
From: Jonas K. <jon...@gm...> - 2008-10-16 12:50:34
|
Hello! I programmed GIA for peerfactsim. Now I am supposed to use the churn model for GIA. Can somebody tell me how the churn model is used for a p2p overlay? My problem is how does the churn model let each peer know what type (longlasting etc.) they are? I think this would make sense to put in the NodeFactory but in the Kademlia implementation I could not find anything there. Second problem is how does it let a peer know when to go online/offline? thanks in advance Jonas |
|
From: Robert S. <rob...@gm...> - 2008-07-11 10:41:56
|
-------- Original-Nachricht --------
> Datum: Thu, 10 Jul 2008 14:17:22 +0200
> Von: "Sebastian Kaune" <ka...@ko...>
> An: "Robert Schadler" <rob...@gm...>
> CC: pee...@li...
> Betreff: AW: [Peerfactsim-developer] Problems with Net-Layer
Hi Sebastian,
thanks for your reply. Here are more information.
> Hi Robert,
>
> > When we use :
> "de.tud.kom.p2psim.impl.network.simple.SimpleNetFactory"
> "de.tud.kom.p2psim.impl.network.simple.SimpleStaticLatencyModel"
> as net-Layer configuration the Analyzer gives use the amount of Neighbors,
> we expect for every Peer.
> There is no Problem if there are not more then 100-200 Peers we simulate.
> But if we want to simulate more peers, the simulator gets very slow. The
> simulation then takes a lot of time.
>
> Which analyzer are you using for the simulations? As far as I know, there
> is no analyzer which records the amount of neighbours of each peer. Are you
> talking about overlay neighbours? If so, why do you analyze it in the
> network layer?
We use OperationAnalyzer. We take at the end of the simulation the nodes out of the RoutingTable, where we store all the aktive nodes. The amount of neighbors of each peers are stored in each peer, so every peer gives us the amount of neighbors he has.
We get our information directly from the node, we don´t use the network layer our analyzation.
That´s why we dont´t understand the differences in the outputs.
>
> > There is no Problem if there are not more then 100-200 Peers we
> simulate.
> But if we want to simulate more peers, the simulator gets very slow. The
> simulation then takes a lot of time.
>
> It would be fine to get more information about the evaluative scenario you
> are running. Which components (specified in the xml file) are selected for
> the simulations?
Here is our xml-configuration, with both Net-Layers we use:
<?xml version='1.0' encoding='utf-8'?>
<Configuration>
<Default>
<Variable name="seed" value="0"/>
<Variable name="size" value="100"/>
<Variable name="finishTime" value="5m"/>
<Variable name="actions" value="config/GIA-actions.dat"/>
</Default>
<SimulatorCore class="de.tud.kom.p2psim.impl.simengine.Simulator" static="getInstance"
seed="$seed" finishAt="$finishTime" statusInterval="1h">
</SimulatorCore>
<NetLayer class="de.tud.kom.p2psim.impl.network.simple.SimpleNetFactory"
downBandwidth="200" upBandwidth="100">
<LatencyModel class="de.tud.kom.p2psim.impl.network.simple.SimpleStaticLatencyModel"
latency="10"/>
</NetLayer>
<!--
<NetLayer
class="de.tud.kom.p2psim.impl.network.gnp.GnpBitmapNetLayerFactory"
downBandwidth="50" upBandwidth="25" PbaPeriod="1"
experimentSize="$size" bitmapPath="config/visualization/GIA-MAP.bmp" >
<LatencyModel
class="de.tud.kom.p2psim.impl.network.gnp.GnpLatencyModel" />
<BandwidthManager
class="de.tud.kom.p2psim.impl.network.gnp.GnpNetBandwidthManagerPeriodical" />
</NetLayer>
-->
<TransLayer class="de.tud.kom.p2psim.impl.transport.DefaultTransLayerFactory"/>
<ComponentFactory class="de.tud.kom.p2psim.impl.overlay.GIA.GIAOverlayNodeFactory" />
<Monitor class="de.tud.kom.p2psim.impl.common.DefaultMonitor" start="0" stop="$finishTime">
<Analyzer class="de.tud.kom.p2psim.impl.overlay.GIA.Analyzer.GIAOperationAnalyzer"/>
</Monitor>
<HostBuilder class="de.tud.kom.p2psim.impl.scenario.DefaultHostBuilder" experimentSize="100">
<Group groupID="Group1" size="1">
<NetLayer/>
<TransLayer/>
<ComponentFactory />
</Group>
<Group groupID="Group2" size="2">
<NetLayer/>
<TransLayer/>
<ComponentFactory />
</Group>
...
<Group groupID="Group13" size="10">
<NetLayer/>
<TransLayer/>
<ComponentFactory />
</Group>
</HostBuilder>
<Scenario class="de.tud.kom.p2psim.impl.scenario.CSVScenarioFactory"
actionsFile="$actions"
componentClass="de.tud.kom.p2psim.impl.overlay.GIA.GIAOverlayNode">
</Scenario>
</Configuration>
Cheers
Robert
> -----Ursprüngliche Nachricht-----
> Von: pee...@li...
> [mailto:pee...@li...] Im Auftrag von Robert Schadler
> Gesendet: Montag, 7. Juli 2008 23:17
> An: pee...@li...
> Betreff: [Peerfactsim-developer] Problems with Net-Layer
>
> Hi there,
>
> i´m writing, 'cause we have a Problem running our configuration within
> the simulator.
>
> When we use :
> "de.tud.kom.p2psim.impl.network.simple.SimpleNetFactory"
> "de.tud.kom.p2psim.impl.network.simple.SimpleStaticLatencyModel"
> as net-Layer configuration the Analyzer gives use the amount of Neighbors,
> we expect for every Peer.
> There is no Problem if there are not more then 100-200 Peers we simulate.
> But if we want to simulate more peers, the simulator gets very slow. The
> simulation then takes a lot of time.
>
> When we use :
> "de.tud.kom.p2psim.impl.network.gnp.GnpBitmapNetLayerFactory"
> "de.tud.kom.p2psim.impl.network.gnp.GnpLatencyModel"
> as net-Layer configuration the simulation is a lot faster, but the
> Analyzer tells us, the peers only have 0-3 Neighbors which is way too little and
> probably false.
>
> Has anyone an idea, why we get this wrong outputs?
> Has anyone an other Net-Layer configuration, we can use, which runs quite
> fast and gives us the right outputs?
>
> Thanks in advance.
>
> Robert
--
GMX Kostenlose Spiele: Einfach online spielen und Spaß haben mit Pastry Passion!
http://games.entertainment.gmx.net/de/entertainment/games/free/puzzle/6169196
|
|
From: Sebastian K. <ka...@ko...> - 2008-07-10 12:18:22
|
Hi Robert, > When we use : "de.tud.kom.p2psim.impl.network.simple.SimpleNetFactory" "de.tud.kom.p2psim.impl.network.simple.SimpleStaticLatencyModel" as net-Layer configuration the Analyzer gives use the amount of Neighbors, we expect for every Peer. There is no Problem if there are not more then 100-200 Peers we simulate. But if we want to simulate more peers, the simulator gets very slow. The simulation then takes a lot of time. Which analyzer are you using for the simulations? As far as I know, there is no analyzer which records the amount of neighbours of each peer. Are you talking about overlay neighbours? If so, why do you analyze it in the network layer? > There is no Problem if there are not more then 100-200 Peers we simulate. But if we want to simulate more peers, the simulator gets very slow. The simulation then takes a lot of time. It would be fine to get more information about the evaluative scenario you are running. Which components (specified in the xml file) are selected for the simulations? Cheers, Sebastian -----Ursprüngliche Nachricht----- Von: pee...@li... [mailto:pee...@li...] Im Auftrag von Robert Schadler Gesendet: Montag, 7. Juli 2008 23:17 An: pee...@li... Betreff: [Peerfactsim-developer] Problems with Net-Layer Hi there, i´m writing, 'cause we have a Problem running our configuration within the simulator. When we use : "de.tud.kom.p2psim.impl.network.simple.SimpleNetFactory" "de.tud.kom.p2psim.impl.network.simple.SimpleStaticLatencyModel" as net-Layer configuration the Analyzer gives use the amount of Neighbors, we expect for every Peer. There is no Problem if there are not more then 100-200 Peers we simulate. But if we want to simulate more peers, the simulator gets very slow. The simulation then takes a lot of time. When we use : "de.tud.kom.p2psim.impl.network.gnp.GnpBitmapNetLayerFactory" "de.tud.kom.p2psim.impl.network.gnp.GnpLatencyModel" as net-Layer configuration the simulation is a lot faster, but the Analyzer tells us, the peers only have 0-3 Neighbors which is way too little and probably false. Has anyone an idea, why we get this wrong outputs? Has anyone an other Net-Layer configuration, we can use, which runs quite fast and gives us the right outputs? Thanks in advance. Robert -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer ------------------------------------------------------------------------- Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW! Studies have shown that voting for your favorite open source project, along with a healthy diet, reduces your potential for chronic lameness and boredom. Vote Now at http://www.sourceforge.net/community/cca08 _______________________________________________ Peerfactsim-developer mailing list Pee...@li... https://lists.sourceforge.net/lists/listinfo/peerfactsim-developer No virus found in this incoming message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.7/1541 - Release Date: 08.07.2008 19:50 No virus found in this outgoing message. Checked by AVG. Version: 7.5.524 / Virus Database: 270.4.7/1543 - Release Date: 09.07.2008 18:32 |
|
From: Robert S. <rob...@gm...> - 2008-07-07 21:17:05
|
Hi there, i´m writing, 'cause we have a Problem running our configuration within the simulator. When we use : "de.tud.kom.p2psim.impl.network.simple.SimpleNetFactory" "de.tud.kom.p2psim.impl.network.simple.SimpleStaticLatencyModel" as net-Layer configuration the Analyzer gives use the amount of Neighbors, we expect for every Peer. There is no Problem if there are not more then 100-200 Peers we simulate. But if we want to simulate more peers, the simulator gets very slow. The simulation then takes a lot of time. When we use : "de.tud.kom.p2psim.impl.network.gnp.GnpBitmapNetLayerFactory" "de.tud.kom.p2psim.impl.network.gnp.GnpLatencyModel" as net-Layer configuration the simulation is a lot faster, but the Analyzer tells us, the peers only have 0-3 Neighbors which is way too little and probably false. Has anyone an idea, why we get this wrong outputs? Has anyone an other Net-Layer configuration, we can use, which runs quite fast and gives us the right outputs? Thanks in advance. Robert -- Der GMX SmartSurfer hilft bis zu 70% Ihrer Onlinekosten zu sparen! Ideal für Modem und ISDN: http://www.gmx.net/de/go/smartsurfer |
|
From: Kalman G. <gr...@ko...> - 2008-06-19 11:54:57
|
Hi everybody,
I already talked to Yue, here is the answer I gave him:
You cannot actively wait until e.g. a result arrives and to continue at
that specific point in your code.
Waiting has to be implemented using the callback functionality.
Basically, in a method you can either send a request or react on in.
Typically you have an Operation like in the example
CheckLivenessOperation. When this Operation is actived you should send a
message to the peer to be pinged. Further you should define which method
to call if a result arrives. That's it for the momemt.
When the reply comes, its corresponding listener is called and you can
perform the tasks needed to be done. E.g. updating the status of the
contacted peer.
best regards,
Kalman
> -----Ursprüngliche Nachricht-----
> Von: pee...@li... [mailto:pee...@li...] Im Auftrag von Kalman Graffi
> Gesendet: Dienstag, 10. Juni 2008 14:50
> An: pee...@li...
> Betreff: [Peerfactsim-developer] Fwd: Problem with Waiting the result ofoperation
>
> Forwarded email from Yue Sheng:
>
> Hello everybody,
> I'm implementing the chord overlay for the simulator following the
> document "How to create an overlay in PeerfactSim.KOM" and I have a
> problem implementing the action of waiting.
> For example:
> I defined a simple operation called CheckLivenessOperation in my overlay
> node, which checks if another overlay node is active or not. The
> operation sends a request message via transport layer to the target node
> and wait for a time, if it gets a reply in that time, then
> operationFinished(true) will be call, else operationFinished(false) will
> be called.
>
> My problem is: For the caller of this operation, namely the overlay
> node, after it calls CheckLivenessOperation.scheduleImmediately(), it
> has to wait until the operation is finished, after that it can tell if
> the target node is active or not. And I'm not sure how to let the node
> wait. Until now I use the following way to wait for the result of an
> operation:
>
> Method in my overlay node:
>
> public boolean checkLiveness(ChordContact target) {
> ping = new CheckLivenessOperation(this, target, opListener);
> ping.scheduleImmediately();
> while( ! ping.isFinished() ) {
> // busy waiting
> }
> return ping.isSuccessful();
> }
>
> Although I think the while() statement is not correct, but I have no
> other idea at the moment.
> Any help will be appreciated.
> thanks!!!
> Yue Sheng
>
>
--
_________ Dipl.Math., Dipl.Inf. Kalman Graffi ___________
Peer-to-Peer Networking Group
Multimedia Communications Lab (KOM)
http:\\www.kom.tu-darmstadt.de
Technische Universitaet Darmstadt
Dept. of Electrical Engineering & Information Technology
tel: +49 (0) 6151 16-4959 fax: +49 (0) 6151 16-6152
postal address: TU Darmstadt, FB 18, KOM, Merckstr. 25,
D-64283 Darmstadt, Germany
__________________________________________________________
|
|
From: Kalman G. <gr...@ko...> - 2008-06-10 12:55:44
|
Forwarded email from Yue Sheng:
Hello everybody,
I'm implementing the chord overlay for the simulator following the
document “How to create an overlay in PeerfactSim.KOM” and I have a
problem implementing the action of waiting.
For example:
I defined a simple operation called CheckLivenessOperation in my overlay
node, which checks if another overlay node is active or not. The
operation sends a request message via transport layer to the target node
and wait for a time, if it gets a reply in that time, then
operationFinished(true) will be call, else operationFinished(false) will
be called.
My problem is: For the caller of this operation, namely the overlay
node, after it calls CheckLivenessOperation.scheduleImmediately(), it
has to wait until the operation is finished, after that it can tell if
the target node is active or not. And I'm not sure how to let the node
wait. Until now I use the following way to wait for the result of an
operation:
Method in my overlay node:
public boolean checkLiveness(ChordContact target) {
ping = new CheckLivenessOperation(this, target, opListener);
ping.scheduleImmediately();
while( ! ping.isFinished() ) {
// busy waiting
}
return ping.isSuccessful();
}
Although I think the while() statement is not correct, but I have no
other idea at the moment.
Any help will be appreciated.
thanks!!!
Yue Sheng
--
_________ Dipl.Math., Dipl.Inf. Kalman Graffi ___________
Peer-to-Peer Networking Group
Multimedia Communications Lab (KOM)
http:\\www.kom.tu-darmstadt.de
Technische Universitaet Darmstadt
Dept. of Electrical Engineering & Information Technology
tel: +49 (0) 6151 16-4959 fax: +49 (0) 6151 16-6152
postal address: TU Darmstadt, FB 18, KOM, Merckstr. 25,
D-64283 Darmstadt, Germany
__________________________________________________________
|
|
From: Loránd J. <lj...@ac...> - 2008-04-08 09:49:21
|
Yes, it's the latest CVS that I am trying to build, just to be sure I double-checked now. The thing is that I get the same error in Eclipse too after importing the project: Severity and Description Path Resource Location Creation Time Id The import de.tud.kom.p2psim.impl.util.vivaldi cannot be resolved PeerfactSim.KOM/test/de/tud/kom/p2psim AllTests.java line 319 1207646789823 2885 The thing is (and I should have done this yesterday already before posting), there is no src/de/tud/kom/p2psim/impl/util/vivaldi directory. I checked the CVS on SourceForge with my browser: http://peerfactsim.cvs.sourceforge.net/peerfactsim/PeerfactSim.KOM-Main/src/de/tud/kom/p2psim/impl/util/ Which seems to hold that directory. So I deleted the source and checked it out again. Now the vivaldi directory is there but I get different errors. I will take a closer look, see if I can solve them, and let you know if then all works ok. Meanwhile, a suggestion: if you enter http://peerfactsim.sourceforge.net/ in the browser, you get an apache filesystem page. Until you have a public web page you want to upload there, you could simply upload a redirect index.html file, like this: <html> <head> <meta http-equiv="refresh" content="1;URL=http://sourceforge.net/projects/peerfactsim/"> </head> </html> Lori On Tue, 2008 April 8, you wrote: > Hi Lori, > > That's interesting. Yesterday evening, it tried to compile it on > Windows XP and MacOS as well. However, it was working on both > operating systems. Did you check out the recent cvs version? When > reading the log file, it looks like a package is missing containing > the vivaldi file. > > And thanks for you feedback, of course one should also be able to > build PeerfactSim outside of Eclipse :-) > > Cheers, > Sebastian > > -----Ursprüngliche Nachricht----- > Von: pee...@li... > [mailto:pee...@li...] Im > Auftrag von Loránd Jakab Gesendet: Montag, 7. April 2008 15:04 > An: pee...@li... > Betreff: [Peerfactsim-developer] Build errors > > Hi all, > > I am trying to use the simulator without the Eclipse environment, on > the following platform: > > OS: Gentoo Linux x86, kernel 2.6.24-gentoo-r4 > ant: Apache Ant version 1.7.0 compiled on April 7 2008 > java: Java(TM) SE Runtime Environment (build 1.6.0_05-b13) > > I check out CVS and then run ant. The output is the attached > build.log file. > > First, there are some non-critical encoding issues, mostly in the > commmented text. But then there is a missing symbol error. I will try > Eclipse too, but I wanted to let you know about this problem anyway, > it would be nice to be able to quickly build outside as well ;) > > Regards, > Lori > > No virus found in this incoming message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.22.8/1362 - Release Date: > 06.04.2008 11:12 > > > > No virus found in this outgoing message. > Checked by AVG. > Version: 7.5.519 / Virus Database: 269.22.9/1364 - Release Date: > 07.04.2008 18:38 -- _____________________________________________________________________ *Lorand Jakab* --> http://people.ac.upc.edu/ljakab/ o o o Ph.D. Student o o o Technical University of Catalonia E-mail: lj...@ac... o o o Campus Nord, Modul D6, Sala 008 Skype: lorand.jakab C/Jordi Girona, 1-3 Phone: +34 93 40 17 182 U P C 08034 BARCELONA, Spain ICBM: 41.38958, 2.11292 _____________________________________________________________________ |
|
From: Rubén C. R. <rc...@it...> - 2008-04-08 09:25:46
|
Hi Lori and Sabastian,
I didn't check the log file. I just want to let you know we are using
PeerFactSim in NetBeans and it works properly. At least for BitTorrent
(that is what we are simulating).
Regards,
Rubén.
Sebastian Kaune escribió:
> Hi Lori,
>
> That's interesting. Yesterday evening, it tried to compile it on Windows XP and MacOS as well. However, it was working on both operating systems. Did you check out the recent cvs version? When reading the log file, it looks like a package is missing containing the vivaldi file.
>
> And thanks for you feedback, of course one should also be able to build PeerfactSim outside of Eclipse :-)
>
> Cheers,
> Sebastian
>
> -----Ursprüngliche Nachricht-----
> Von: pee...@li... [mailto:pee...@li...] Im Auftrag von Loránd Jakab
> Gesendet: Montag, 7. April 2008 15:04
> An: pee...@li...
> Betreff: [Peerfactsim-developer] Build errors
>
> Hi all,
>
> I am trying to use the simulator without the Eclipse environment, on the following platform:
>
> OS: Gentoo Linux x86, kernel 2.6.24-gentoo-r4
> ant: Apache Ant version 1.7.0 compiled on April 7 2008
> java: Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
>
> I check out CVS and then run ant. The output is the attached build.log file.
>
> First, there are some non-critical encoding issues, mostly in the commmented text. But then there is a missing symbol error. I will try Eclipse too, but I wanted to let you know about this problem anyway, it would be nice to be able to quickly build outside as well ;)
>
> Regards,
> Lori
>
> No virus found in this incoming message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.8/1362 - Release Date: 06.04.2008 11:12
>
>
>
> No virus found in this outgoing message.
> Checked by AVG.
> Version: 7.5.519 / Virus Database: 269.22.9/1364 - Release Date: 07.04.2008 18:38
>
>
> -------------------------------------------------------------------------
> This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
> Register now and save $200. Hurry, offer ends at 11:59 p.m.,
> Monday, April 7! Use priority code J8TLD2.
> http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
> _______________________________________________
> Peerfactsim-developer mailing list
> Pee...@li...
> https://lists.sourceforge.net/lists/listinfo/peerfactsim-developer
>
|
|
From: Sebastian K. <ka...@ko...> - 2008-04-08 09:19:44
|
Hi Lori,
That's interesting. Yesterday evening, it tried to compile it on Windows XP and MacOS as well. However, it was working on both operating systems. Did you check out the recent cvs version? When reading the log file, it looks like a package is missing containing the vivaldi file.
And thanks for you feedback, of course one should also be able to build PeerfactSim outside of Eclipse :-)
Cheers,
Sebastian
-----Ursprüngliche Nachricht-----
Von: pee...@li... [mailto:pee...@li...] Im Auftrag von Loránd Jakab
Gesendet: Montag, 7. April 2008 15:04
An: pee...@li...
Betreff: [Peerfactsim-developer] Build errors
Hi all,
I am trying to use the simulator without the Eclipse environment, on the following platform:
OS: Gentoo Linux x86, kernel 2.6.24-gentoo-r4
ant: Apache Ant version 1.7.0 compiled on April 7 2008
java: Java(TM) SE Runtime Environment (build 1.6.0_05-b13)
I check out CVS and then run ant. The output is the attached build.log file.
First, there are some non-critical encoding issues, mostly in the commmented text. But then there is a missing symbol error. I will try Eclipse too, but I wanted to let you know about this problem anyway, it would be nice to be able to quickly build outside as well ;)
Regards,
Lori
No virus found in this incoming message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.8/1362 - Release Date: 06.04.2008 11:12
No virus found in this outgoing message.
Checked by AVG.
Version: 7.5.519 / Virus Database: 269.22.9/1364 - Release Date: 07.04.2008 18:38
|
|
From: Loránd J. <lj...@ac...> - 2008-04-07 13:03:39
|
Hi all, I am trying to use the simulator without the Eclipse environment, on the following platform: OS: Gentoo Linux x86, kernel 2.6.24-gentoo-r4 ant: Apache Ant version 1.7.0 compiled on April 7 2008 java: Java(TM) SE Runtime Environment (build 1.6.0_05-b13) I check out CVS and then run ant. The output is the attached build.log file. First, there are some non-critical encoding issues, mostly in the commmented text. But then there is a missing symbol error. I will try Eclipse too, but I wanted to let you know about this problem anyway, it would be nice to be able to quickly build outside as well ;) Regards, Lori |
|
From: Sebastian K. <ka...@ko...> - 2008-02-28 14:28:23
|
No virus found in this outgoing message. Checked by AVG Free Edition. Version: 7.5.516 / Virus Database: 269.21.1/1302 - Release Date: 27.02.2008 16:34 |
|
From: Sebastian K. <ka...@ko...> - 2008-02-21 10:12:33
|