-
Story
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
Improvement
-
3
-
False
-
None
-
False
-
OCPSTRAT-1207 - Improve Network Observability Operator performance with latest eBPF enhancements (bpfman, Tcx hook latest kernel & RHEL9.4)
-
NetObserv - Sprint 248, NetObserv - Sprint 249, NetObserv - Sprint 250, NetObserv - Sprint 251
lookupAndDeleteMapKeysValues function (tracer.go) now iterates the map and removes each read entry individually.
This could lead to a race condition (improbable, though) and we might loose few information. Newer versions of the kernel support other methods that could improve the process:
- LookupAndDelete (Kernel>=4.20)
- BatchLookupAndDelete (Kernel >= 5.6)
Detect at runtime whether these functions are available and use them when possible. (E.g. they should be available on rhel9 / ocp4.13+)
They could also greatly improve performances (this part LookupAndDeleteMap was identified as a bottleneck in user space profiling)
- is cloned by
-
NETOBSERV-1550 Improve map reading in userspace with batches
- To Do
- is related to
-
NETOBSERV-1543 Update Prometheus metrics and Touchstone configs for 1.6
- Closed
- links to