Skip to content

Use a fixed rate to correct the bandwidth used by congestion control#3191

Open
IntegratedQuantum wants to merge 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:network_congestion_priority_issue
Open

Use a fixed rate to correct the bandwidth used by congestion control#3191
IntegratedQuantum wants to merge 1 commit into
PixelGuys:masterfrom
IntegratedQuantum:network_congestion_priority_issue

Conversation

@IntegratedQuantum

@IntegratedQuantum IntegratedQuantum commented Jun 7, 2026

Copy link
Copy Markdown
Member

It was observed that connections with low RTT could starve connections with high RTT. This happens because low RTT connections could increment their bandwidth faster after a loss happens.

This is fixed here by making the increment RTT-independent, it now is set to a fixed value of 100 kB/s per second (which is the increment a 50 ms connection had in the previous code).
I tested this on the server side in the last play session and I didn't see any issues.

  • Double check the math (I think it should be 10k)
  • Test it during the next play session again to make sure I didn't make any stupid mistakes while transformation the math of my makeshift implementation used in the previous play session

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant