Repository navigation
Conversation
The link wraps poll, recvmmsg, recv, recvfrom, send and sendto, and a stream logs one `socket calls` line every 10 s. Two marker files turn the cuts on: `despertador-leve` for a waker that skips a wake already on its way, `espera-leitura` for a wait before each batch read. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Collaborator
Author
|
Closed: the A/B showed no latency gain. The result is written up in docs/improvements.md. The code stays on this branch. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
At stock clocks the system's core 3 runs near 90 percent during a stream, and every socket call is an IPC served there. This build measures where those calls go and tries two cuts behind marker files, so one build covers the whole A/B.
poll,recvmmsg,recv,recvfrom,sendandsendto(pf-nx-sys::rt). A stream logs onesocket callsline every 10 s, with the switches it ran under.despertador-leve: the mio leg's waker skips a wake already on its way and acks with one read.espera-leitura, holding milliseconds: each batch read waits that long first, to take more of a frame's burst.With neither file the title behaves as before, apart from the counting.
Not run on a console yet. The wait and the lean waker stay only if the A/B shows a gain; the markers go before this leaves draft.