Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Queues: PCAP-based benchmarking harness #2358

Open
wants to merge 24 commits into
base: main
Choose a base branch
from
Open
Changes from 2 commits
Commits
Show all changes
24 commits
Select commit Hold shift + click to select a range
06bda6b
Add pcap parsing script
polybeandip Oct 15, 2024
0213aff
Refactor queue_call
polybeandip Oct 26, 2024
39a8138
C -> c
polybeandip Oct 27, 2024
61ec5da
Make flow inference a separate component
polybeandip Oct 27, 2024
a41a15d
Remove generate from binheap strict and RR
polybeandip Oct 28, 2024
20352f9
Add strict test for 7 flows
polybeandip Oct 28, 2024
5141884
Fix imports in binheap tests
polybeandip Oct 28, 2024
126bb2d
Rename RR and Strict oracles
polybeandip Oct 28, 2024
0ebd533
Rename binheap (un)tuplify components
polybeandip Oct 28, 2024
789dfcc
Sketch sim_pcap.py
polybeandip Oct 28, 2024
7a66029
More sketching sim_pcap.py and flow_inference.py
polybeandip Oct 30, 2024
31fa876
Move evaluation scripts to separate directory
polybeandip Nov 4, 2024
2dd295f
Pass open files instead of names
polybeandip Nov 4, 2024
614b028
Various tweaks
polybeandip Nov 11, 2024
4b84482
Add --start and --end options to parse_pcap.py
polybeandip Nov 11, 2024
b3c8941
Add CalyxPy state to fud2
polybeandip Nov 11, 2024
33a93d7
Fix fud2 tests
polybeandip Nov 12, 2024
90a59af
Add pkts/bits per sec stats to parse_pcap.py
polybeandip Nov 12, 2024
f330085
Add more PCAP sim logic for binheap rr and strict
polybeandip Nov 12, 2024
5b7ad8b
Factor out flow_inference for strict_or_rr.py
polybeandip Nov 19, 2024
80b0ef4
Comment parse_pcap.py
polybeandip Nov 20, 2024
d2e4aa5
Typo
polybeandip Dec 11, 2024
2600465
Merge branch 'main' into realistic-benchmarking-harness
polybeandip Dec 13, 2024
cf8fd9c
Merge remote-tracking branch 'refs/remotes/origin/realistic-benchmark…
polybeandip Dec 13, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion frontends/queues/evaluation/parse_pcap.py
Original file line number Diff line number Diff line change
@@ -237,7 +237,7 @@ def mac_addr(addr):
# compute number of pops between current and previous packet's arrival
pop_time = (prev_time % POP_TICK) + prev_time
num_pops = int((time - pop_time) // POP_TICK) if time > pop_time else 0
# keep track of number of unpopped packet's
# keep track of number of unpopped packets
pkts_in_switch = 0 if pkts_in_switch < num_pops else pkts_in_switch - num_pops
# insert `num_pops` pops
for _ in range(num_pops):