Skip to content

Commit bbb742c

Browse files
committed
testing one_packet_flows add more threshold tests
1 parent 610c4bf commit bbb742c

2 files changed

Lines changed: 74 additions & 11 deletions

File tree

testing/simulation/one_packet_flows.yml

Lines changed: 74 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,14 +4,14 @@ description: One Packet per flow
44
marks: [small_mtu, one_packet]
55
requirements:
66
speed: 100
7-
profile: /home/student/2025-bsc-kuppler-flowmeter/one_packet_flows_2.csv
7+
profile: /home/student/2025-bsc-kuppler-flowmeter/one_packet_flows.csv
88
mtu: 2048
99
sampling: 1
1010

1111
# default configuration describing the setup during profile collection
1212
default:
13-
pps: 86291
14-
mbps: 790
13+
pps: 81814
14+
mbps: 760
1515
generator: []
1616
#ipv4:
1717
# fragmentation_probability: 0.05%
@@ -26,14 +26,12 @@ default:
2626
sim_general:
2727
- id: one_packet_precise
2828
marks: [precise]
29-
speed_multiplier: 1.0
3029
analysis:
3130
model: "precise"
3231
use_statistic_counter: true
3332

3433
- id: one_packet_statistical
3534
marks: []
36-
speed_multiplier: 1.0
3735
analysis:
3836
model: "statistical"
3937
use_statistic_counter: true
@@ -50,6 +48,7 @@ sim_general:
5048
diff: 1
5149
- key: DURATION
5250
diff: 1
51+
5352
- id: one_packet_speedup_400G
5453
marks: [speedup]
5554
mbps: 400000
@@ -69,14 +68,34 @@ sim_general:
6968
- key: MB / S
7069
diff: 0.5
7170
- key: DURATION
72-
diff: 0.5
71+
diff: 0.5
7372

7473
sim_threshold:
7574
- id: one_packet_throughput
7675
marks: []
77-
mbps_accuracy: 50
76+
mbps_accuracy: 100
77+
mbps_required: 50000
78+
analysis:
79+
use_statistic_counter: true
80+
metrics:
81+
- key: PACKETS
82+
diff: 0.001
83+
- key: BYTES
84+
diff: 0.001
85+
- key: FLOWS
86+
diff: 0.001
87+
- key: PACKETS / S
88+
diff: 0.5
89+
- key: MB / S
90+
diff: 0.5
91+
- key: DURATION
92+
diff: 0.5
93+
- id: one_packet_limit_cache_size
94+
marks: []
95+
mbps_accuracy: 100
7896
mbps_required: 50000
79-
loops: 10
97+
probe:
98+
cache_size: 14 # exponent to the power of 2
8099
analysis:
81100
use_statistic_counter: true
82101
metrics:
@@ -91,4 +110,50 @@ sim_threshold:
91110
- key: MB / S
92111
diff: 0.5
93112
- key: DURATION
94-
diff: 0.5
113+
diff: 0.5
114+
115+
- id: one_packet_short_timeout
116+
marks: []
117+
mbps_accuracy: 100
118+
mbps_required: 50000
119+
probe:
120+
active_timeout: 10
121+
inactive_timeout: 10
122+
analysis:
123+
use_statistic_counter: true
124+
metrics:
125+
- key: PACKETS
126+
diff: 0.001
127+
- key: BYTES
128+
diff: 0.001
129+
- key: FLOWS
130+
diff: 0.001
131+
- key: PACKETS / S
132+
diff: 0.5
133+
- key: MB / S
134+
diff: 0.5
135+
- key: DURATION
136+
diff: 0.5
137+
138+
- id: one_packet_one_min_timeout
139+
marks: []
140+
mbps_accuracy: 100
141+
mbps_required: 50000
142+
probe:
143+
active_timeout: 60
144+
inactive_timeout: 60
145+
analysis:
146+
use_statistic_counter: true
147+
metrics:
148+
- key: PACKETS
149+
diff: 0.001
150+
- key: BYTES
151+
diff: 0.001
152+
- key: FLOWS
153+
diff: 0.001
154+
- key: PACKETS / S
155+
diff: 0.5
156+
- key: MB / S
157+
diff: 0.5
158+
- key: DURATION
159+
diff: 0.5

tools/ft-orchestration/src/collector/ipfixcol2.py

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,6 @@
99
"""
1010

1111
import logging
12-
import os
1312
import shutil
1413
import tempfile
1514
import xml.etree.ElementTree as ET
@@ -308,7 +307,6 @@ def download_logs(self, directory: str):
308307
self._rsync.pull_path(log_file, directory)
309308
except RsyncException as err:
310309
logging.getLogger().warning("%s", err)
311-
shutil.move(os.path.join(self._log_dir, "flows.csv"), directory)
312310
shutil.move(self._log_file, directory)
313311

314312
def cleanup(self):

0 commit comments

Comments
 (0)