-
Notifications
You must be signed in to change notification settings - Fork 0
/
all_to_all_modulo_3000.config
70 lines (55 loc) · 2.1 KB
/
all_to_all_modulo_3000.config
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
#!/bin/bash
# paths
export PYTHONPATH=/home/pbschoon/3rd-party/lib/python2.6/site-packages:/home/pbschoon/3rd-party/lib64/python2.6/site-packages
export LD_LIBRARY_PATH=/home/pbschoon/3rd-party/lib
# amount of time to schedule the DAS4 ("MM:SS" or "HH:MM:SS")
# the scenario should end before this time is over
RUNTIME="25:0"
# number of DAS4 nodes to claim
HOSTS=10
# number of processes to run (these will be divided among HOSTS nodes)
TASKS=500
# will start BATCHSIZE processes every BATCHDELAY seconds
BATCHSIZE=10
BATCHDELAY=1
# local script to execute (runs once on each host)
SCRIPT="node.sh"
# SCRIPT starts: BINARY BINARYPARAMS peer.py DISPERSYPARAMS --kargs DISPERSYKARGS,startstamp=N,scenario=config
BINARY="python"
BINARYPARAMS="-O"
DISPERSYPARAMS="--script dissemination.script.ScenarioScript"
DISPERSYKARGS=""
# destination directory where results are copied to
RESULTDIR="/var/scratch/$USER/resultdir-dissemination"
RSYNCPARAMS="--exclude=sqlite --exclude=logger.conf --exclude=bootstraptribler.txt"
# directory that is copied to each DAS4 node (must contain peer.py)
PYTHONCODEDIR="`pwd`"
# optional files
LOGGERCONF="`pwd`/logger.conf"
ZEROLOGGERCONF="`pwd`/zerologger.conf"
#BOOTSTRAPFILE="`pwd`/bootstraptribler.txt"
# config options used by the R script
export FILENAME_PREFIX="all_to_all_modulo_3000_"
export TITLE_POSTFIX="all to all with 3000 messages using modulo synchronization"
export TOTAL_MESSAGE_COUNT=3000
# the scenario script
: <<SCENARIO_AREA
# See dispersy/tool/scenarioscript.py for scenario format
# start and end the scenario after ... minutes
#@0:0 start databases/dispersy-3000text-1peer.db text:divided-equally
@0:0 start
@15:0 dissemination_success_condition text 3000 3000
@15:0 end
# test groups
#@0:0 set_karg enable_sync_cache False
#@0:0 set_karg enable_sync_skip False
@0:0 set_karg sync_bloom_filter_strategy modulo
@0:0 set_karg sync_response_limit 5120
@0:0 churn online
# data creation group
#@0:0 create_one CREATE ONE {0}
@0:0 create_many 6 CREATE MANY (6/3000)
#@0:0 create_start 1 CREATE PERIODICALLY {200-299}
#@5:0 create_stop {200-299}
#@0:0 churn online {200-299}
SCENARIO_AREA