Skip to content
Snippets Groups Projects
Unverified Commit 2d63d907 authored by Mohamed S. Mahmoud's avatar Mohamed S. Mahmoud Committed by GitHub
Browse files

NETOBSERV-1103: optimize ebpf agent map memory and cpu usage (#140)


* Optimize ebpf agent map memory usage
- switch to use pointer to metric instead of metric
- manuall trigger GC after flow eviction complete

Signed-off-by: default avatarmsherif1234 <mmahmoud@redhat.com>

* Fix memory and cpu scale issue work around in #133

following up on https://github.com/cilium/ebpf/issues/1063


it seems we have a way to fix resources issues

Signed-off-by: default avatarmsherif1234 <mmahmoud@redhat.com>
(cherry picked from commit b9c9a035b25bd5b349071977aff0d7aebca40e75)

---------

Signed-off-by: default avatarmsherif1234 <mmahmoud@redhat.com>
parent 96e8f61b
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment