-
Notifications
You must be signed in to change notification settings - Fork 87
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
./configure errors #50
Comments
Hmm, I'm also running into this issue now, even if I go back to commits that I know have worked well in the past, so something strange is going on. The issue seems to be with the configure script for libxdp (in @tohojo, could you have a look at this and see if we can get a better long term fix? |
And a small heads-up, while ePPing should work on 5.13 (just tested it myself), it will probably not work in XDP mode (which is the default), see issue#49. So you will probably have to run it in tc mode (by using arguments |
Hi @simosund ; thanks for the reply
Ignore the previous, bit hasty this morning - bash does the trick to get configure ran without errors. You're right about XDP mode, here's what I get if it's of use
But it does run with
Some warnings in the mix With tia :) :) |
Hi, unfortunately I suspect we have quite some timezone differences (CEST for me) so my replies may not be that timely. At this stage all output formats (including |
As for the initial warnings: They occur because the BPF tc programs that ePPing try to set up a Another little heads-up though, the semantics for how ePPing cleans up that qdisc is probably not optimal at the moment. By default, ePPing does not even try to delete the clsact on shutdown to avoid risking tearing it out from underneath any other application that might be using the qdisc (for example any other tc BPF programs you have have running on the interface). So if you want to get rid of the clsact qdisc you have to manually delete it ( Hopefully libbpf will add some API that makes it convenient to simply remove the clsact qdisc if no other programs are attached to it (they did in fact have that at some point, but removed due to risks with race conditions). |
As for the warnings of the type In this case, since it seems like it's not able to match any replies to the saved timestamps they will sit around and occupy space in the map for 10 seconds before they're timed out an removed by a periodical cleanup process (although this means that ePPing will typically not be able to detect RTTs above 10s, but I've assumed these are very rare). In a scenario where you actually see replies the map should be used a bit more efficiently, partly because the entries are automatically deleted after they've been matched, and partly because the period for the timing out entries that have not been matched is decreased to a multiple of the flows RTT, which should in most cases be much less than the 10 second default. While these values should probably also be configurable from the command line, for now they're simply a bunch of defines in |
seems like something is missing after running
./configure
Everything is there in
./lib/libbpf/src/
, not sure if this is permissions or something else?If I then build pping it throws plenty of errors, but guessing its related to the above
platform is Ubuntu 21.10 on 5.13
I really appreciate any help you can provide
The text was updated successfully, but these errors were encountered: