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?