Skip to content

Conversation

@kazuho
Copy link
Member

@kazuho kazuho commented Mar 16, 2020

Generally speaking, we should have probe when any frame is sent, acked or received, regardless of the frame type. That would give us clear view of what is happening.

This PR is an attempt to do that.

@kazuho
Copy link
Member Author

kazuho commented Mar 16, 2020

One thing to consider is if we need frame-level ack probes. At the moment, we already have STREAM_ACKED and NEW_TOKEN_ACKED, but do not have ack probes for other frame types.

While it is helpful to have them when reading json directly, they might not be necessary when using a visualization tool that has the capability of deducing stream-level ACKs from stream-level send events and packet-level ACK events.

Not having frame-level ACK probes would reduce the size of the eBPF program, which has to be kept below 4,096 instructions.

@janaiyengar Do you have a preference?

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