You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
One thing that comes to mind: you could use a percpu hash map and increment_exp2_histogram_nosync to reduce potential contention. This goes back to measuring overhead with metrics. Comments from #300 might be useful.
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: