Re: bpf_timer memory utilization

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Thu, Mar 16, 2023 at 12:18 PM Chris Lai <chrlai@xxxxxxxxxxxxx> wrote:
>
> Hello,
> Using BPF Hashmap with bpf_timer for each entry value and callback to
> delete the entry after 1 minute.
> Constantly creating load to insert elements onto the map, we have
> observed the following:
> -3M map capacity, 1 minute bpf_timer callback/cleanup, memory usage
> peaked around 5GB
> -16M map capacity, 1 minute bpf_timer callback/cleanup, memory usage
> peaked around 34GB
> -24M map capacity, 1 minute bpf_timer callback/cleanup, memory usage
> peaked around 55GB
> Wondering if this is expected and what is causing the huge increase in
> memory as we increase the number of elements inserted onto the map.
> Thank you.

That's not normal. Do you have a small reproducer?




[Index of Archives]     [Linux Samsung SoC]     [Linux Rockchip SoC]     [Linux Actions SoC]     [Linux for Synopsys ARC Processors]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]


  Powered by Linux