Skip to content

Gal/tcp queue state integration#2

Open
Galkrad wants to merge 6 commits into
masterfrom
gal/tcp-queue-state-integration
Open

Gal/tcp queue state integration#2
Galkrad wants to merge 6 commits into
masterfrom
gal/tcp-queue-state-integration

Conversation

@Galkrad

@Galkrad Galkrad commented May 18, 2026

Copy link
Copy Markdown
Collaborator

Joined branch of Tom's api and Gal's queue state tracking.

selatom and others added 6 commits April 19, 2026 18:30
Export per-socket TCP queue state (unacked, unread, ackdelay) to
userspace via getsockopt(TCP_QUEUE_STATE). Each queue exposes
time_ns, size, total, and integral fields for computing average
queue latency using Little's law (Algorithm 2 from the HotOS 2025
batching paper).

Calls tcp_track_sync_all() before sampling to flush integral
accumulators. Returns a 96-byte tcp_queue_state_snapshot struct.

Signed-off-by: Tom Sela <tomsela366@gmail.com>
@Galkrad Galkrad requested review from matankalina and selatom May 18, 2026 09:07
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.

2 participants