Skip to content

Add TCP upload QoS fairness scheduling#162

Open
loriopatrick wants to merge 2 commits into
masterfrom
t3code/tcp-qos-fairness
Open

Add TCP upload QoS fairness scheduling#162
loriopatrick wants to merge 2 commits into
masterfrom
t3code/tcp-qos-fairness

Conversation

@loriopatrick

Copy link
Copy Markdown
Contributor

Summary

  • Introduce a TCP upload fairness scheduler that grants upload access to active flows in a round-robin manner.
  • Wire upload fairness into TCP client and pipe creation so origin-to-tunnel writes acquire QoS before sending data.
  • Add tests for QoS-sliced reads, round-robin grant behavior, single-flow throughput, dropped-flow cleanup, and cancellation handling.

Testing

  • cargo test -p agent_core tcp_upload_qos
  • cargo test -p agent_core tcp_pipe
  • Not run full repository test suite

- introduce per-flow upload fairness coordination
- slice pipe writes to cooperate between active TCP uploads
- add tests for round-robin grants and QoS pipe behavior
- Move upload fairness into shared network module
- Apply QoS to UDP origin traffic and update callers
- Rename TCP-specific QoS types and keep tests aligned
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