Created
October 17, 2019 20:30
-
-
Save cawka/c85cb6a22e3c8edaa18a367d1c3f4cde to your computer and use it in GitHub Desktop.
rtt-unfairness.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
flow1 = 1.0 | |
flow2 = 1.0 | |
for i in range(1, 100): | |
flow1 = flow1 * 2 | |
# flow 2 twice as fast | |
flow2 = flow2 * 2 | |
flow2 = flow2 * 2 | |
upper = flow1 + flow2 | |
j = (flow1 + flow2) * (flow1 + flow2) / ( 2 * (flow1*flow1 + flow2*flow2) ) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment