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

ames, mesa: miscellaneous stuff #754

Merged
merged 8 commits into from
Dec 20, 2024
Merged

ames, mesa: miscellaneous stuff #754

merged 8 commits into from
Dec 20, 2024

Conversation

pkova
Copy link
Collaborator

@pkova pkova commented Dec 20, 2024

This PR does all kinds of stuff. The main ones are the following:

The udp receive buffer for ames and mesa is now statically allocated. The sending buffer for ames is also statically allocated, so now we use uv_udp_try_send instead of uv_udp_send in ames.

The meaning of the bitset in the mesa pending request structure is different. It used to answer the question whether we have an outstanding request for a particular fragment, whereas now it answers the question "do we have this fragment?".

The misordered queue for mesa is now arbitrarily large instead of 8 fragments long. This means that we can receive fragments in any order.

@pkova pkova requested a review from a team as a code owner December 20, 2024 14:43
@pkova pkova merged commit 53683dd into develop Dec 20, 2024
2 checks passed
@pkova pkova deleted the pkova/pairs branch December 20, 2024 15:13
@pkova pkova restored the pkova/pairs branch December 20, 2024 17:40
pkova added a commit that referenced this pull request Dec 20, 2024
My changing of the semantics of the request bitset in #754 messed with
the congestion control. This PR restores the outstanding fragments in
flight tracking by using a counter, getting 30 mb/s with this for pokes
on a M2 max locally.
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