|
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
|