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

Provide a method to investigate high-latencies with ftrace #11

Open
ycongal-smile opened this issue Oct 18, 2024 · 0 comments
Open

Provide a method to investigate high-latencies with ftrace #11

ycongal-smile opened this issue Oct 18, 2024 · 0 comments

Comments

@ycongal-smile
Copy link
Contributor

Current tool provide statistics on latencies (max, histrograms, ...) but I can't see how to use this to investigate why the high latencies occur.

To do that, we usually use ftrace but, then we need to stop the ftrace buffer right when the high-latency is detected. The problem is, then, to detect high latencies on the fly and not after the facts in post-processing.

To do this, I can share 2 ideas:

  1. Make the network stream bidirectional like a ping : the sender knows when it sent a frame, and can compute the latency with the timestamp from the corresponding received frame.
  2. Put a precise timestamp in the SV frame. The receiver can then compute latency with its own receive timestamp.
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

No branches or pull requests

1 participant