Skip to content

Reduce EBPF memory usage#19117

Merged
ilyam8 merged 5 commits intonetdata:masterfrom
stelfrag:reduce_ebpf_memory_usage
Dec 4, 2024
Merged

Reduce EBPF memory usage#19117
ilyam8 merged 5 commits intonetdata:masterfrom
stelfrag:reduce_ebpf_memory_usage

Conversation

@stelfrag
Copy link
Collaborator

@stelfrag stelfrag commented Dec 2, 2024

Summary
  • Hold process ids in an judy array (as needed)) instead of pre-allocating structures

@github-actions github-actions bot added area/collectors Everything related to data collection collectors/ebpf labels Dec 2, 2024
@stelfrag stelfrag force-pushed the reduce_ebpf_memory_usage branch from a9e27f2 to 6ce52c6 Compare December 4, 2024 06:54
@stelfrag stelfrag marked this pull request as ready for review December 4, 2024 11:55
@stelfrag stelfrag requested a review from thiagoftsm as a code owner December 4, 2024 11:55
Copy link
Contributor

@thiagoftsm thiagoftsm left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

PR is working with apps and cgroups, LGTM!

@ilyam8 ilyam8 merged commit 57ee759 into netdata:master Dec 4, 2024
@stelfrag stelfrag deleted the reduce_ebpf_memory_usage branch December 5, 2024 10:03
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area/collectors Everything related to data collection collectors/ebpf

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants