Skip to content

Commit

Permalink
Use LR instead of LER
Browse files Browse the repository at this point in the history
  • Loading branch information
ccanel committed Feb 25, 2024
1 parent 7589fb1 commit d54dc1a
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion unfair/runtime/inference.py
Original file line number Diff line number Diff line change
Expand Up @@ -125,6 +125,12 @@ def make_decision_sender_fairness(
)
]

lr = fets[-1][
features.make_win_metric(
features.LOSS_RATE_FET, models.MathisFairness.win_size
)
]

avg_rtt_us = fets[-1][
features.make_win_metric(features.RTT_FET, models.MathisFairness.win_size)
]
Expand All @@ -133,7 +139,8 @@ def make_decision_sender_fairness(
defaults.MSS_B,
avg_rtt_us,
# ler / (4 + 5e4 * ler),
ler,
# ler,
lr,
)

# Divide the Mathis fair throughput equally between the flows.
Expand Down

0 comments on commit d54dc1a

Please sign in to comment.