Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
peersimgrid release 1.0
[simgrid.git] / contrib / psg / configs / bittorrentPSG.txt
1 #Config file for BitTorrent extension
2 OutputName bittorrent
3 platform platforms/psg.xml
4 unit ms
5 random.seed 1234567890
6 simulation.duration 1800000
7 simulation.logtime 10^3
8
9 simulation.experiments 1
10
11 network.size 40
12 network.node peersim.core.GeneralNode
13
14 protocol.urt psgsim.PSGTransport
15 protocol.urt.mindelay 0#10
16 protocol.urt.maxdelay 0#400
17
18 #BE AWARE: the value "max_swarm_size" must be greater than
19 #the value "peerset_size", since I have to be sure
20 #that the space for the neighbor nodes is enough.
21
22 protocol.bittorrent example.bittorrent.BitTorrent
23 protocol.bittorrent.file_size 100
24 protocol.bittorrent.max_swarm_size 80
25 protocol.bittorrent.peerset_size 50
26 protocol.bittorrent.duplicated_requests 1
27 protocol.bittorrent.transport urt
28 protocol.bittorrent.max_growth 20
29
30 init.net example.bittorrent.NetworkInitializer
31 init.net.protocol bittorrent
32 init.net.transport urt
33 init.net.newer_distr 80
34 init.net.seeder_distr 15
35
36 control.observer example.bittorrent.BTObserver
37 control.observer.protocol bittorrent
38 control.observer.step 10000
39
40 control.dynamics example.bittorrent.NetworkDynamics
41 control.dynamics.protocol bittorrent
42 control.dynamics.newer_distr 60
43 control.dynamics.minsize 20
44 control.dynamics.tracker_can_die 1
45 control.dynamics.step 100000
46 control.dynamics.transport urt
47 control.dynamics.add 0#5
48 control.dynamics.remove 0#5