-
Notifications
You must be signed in to change notification settings - Fork 225
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
Add sock-rmem-alloc example #350
Comments
You can measure ebpf overhead directly: One thing that comes to mind: you could use a percpu hash map and I'm not really a bpf expert. This repo is a fairly thin wrapper around kernel provided functionality, so it might be more fruitful for you to ask on bpf mailing list directly. |
I want to add an example that will display the distribution of payload volume on a TCP socket.
For this I wrote the code:
I'm concerned about the volume of calls to the tcp_recvmsg socket read function under more or less high network load.
I ran the script on a server with ~350MBit/s RX with the following results
How representative are such tests and if there are really a lot of events, then what methods are there for optimization?
Tnx!
The text was updated successfully, but these errors were encountered: