-
Notifications
You must be signed in to change notification settings - Fork 87
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
tc now pinns the ts_start map when loading the TC-BPF program, and rewrote the XDP-loader to reuse this map Have added a comment with a TODO list in the beginning pping.c When testing it by adding delay by adding a netem qdisc in the test environment, it seems like it will approach 100ms RTT for any delay lower than 100 ms, and the correct RTT for delays over 100ms. Not sure what causes this, but get the same issue when running Pollere's original pping implementation, as well as my bpftrace pping implementation. This is not an issue when running on a real interface against other sites, so seems to be some strange interaction between TCP timestamps, the test environment and the netem qdisc. Signed-off-by: Simon Sundberg <[email protected]>
- Loading branch information
Showing
4 changed files
with
157 additions
and
69 deletions.
There are no files selected for viewing
This file contains 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
This file contains 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
This file contains 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
Oops, something went wrong.