-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathdelay_config.py
73 lines (66 loc) · 1.63 KB
/
delay_config.py
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
71
72
73
#
# General settings
#
nodes_file = "network_test"
data_file = "test.pickle"
export_file = "test_socket"
client_host = ""
client_port = 6677
#
# Test settings
#
test_profile = 'tcp_algos' # Profiles to run (udp_rates, udp_ratios, tcp_algos, tcp_windows, hold_times, or power_meas).
test_time = 20 # Time for each loop to run
test_sleep = 5 # Time to sleep between runs
test_loops = 3 # Number of repetitions for each run
sample_interval = 1 # Seconds between each node sample
#
# Settings for udp_rates, tcp_algos, power_meas
#
hold_time = 10
purge_time = 1500
packet_length = 100 # Not implemented yet
rts_threshold = "off"
#
# Settings for udp_rates, hold_times, power_meas
#
rate_start = 500 # Initial rate of each swipe in kbit/s
rate_stop = 1000 # Last rate of each swipe in kbit/s
rate_step = 100 # Rate increment for each run in kbit/s
#
# Settings for udp_ratio
#
ratio_start = 10 # Percentage
ratio_stop = 100 # Percentage
ratio_step = 10 # Percentage
#
# Settings for hold_times
#
hold_start = 10
hold_stop = 20
hold_step = 2
#
# Settings for tcp_algos
#
tcp_window = 87380
tcp_algos = [ # Algorithms to test
#'bic',
'cubic',
#'highspeed',
#'htcp',
#'hybla',
#'illinois',
#'lp',
'reno',
#'scalable',
'vegas',
'veno',
'westwood',
#'yeah',
]
#
# Settings for tcp_windows
window_start = 100000
window_stop = 250000
window_step = 50000
tcp_algo = 'westwood'