aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorAlexei Starovoitov <[email protected]>2022-09-02 14:10:50 -0700
committerDaniel Borkmann <[email protected]>2022-09-05 15:33:06 +0200
commit7c266178aa51dd2d4fda1312c5990a8a82c83d70 (patch)
tree836f9c901619e80222a96108acdd49ce7fe1f26f /tools/perf/scripts/python/event_analyzing_sample.py
parent0fd7c5d43339b783ee3301a05f925d1e52ac87c9 (diff)
bpf: Adjust low/high watermarks in bpf_mem_cache
The same low/high watermarks for every bucket in bpf_mem_cache consume significant amount of memory. Preallocating 64 elements of 4096 bytes each in the free list is not efficient. Make low/high watermarks and batching value dependent on element size. This change brings significant memory savings. Signed-off-by: Alexei Starovoitov <[email protected]> Signed-off-by: Daniel Borkmann <[email protected]> Acked-by: Kumar Kartikeya Dwivedi <[email protected]> Acked-by: Andrii Nakryiko <[email protected]> Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions