Re: How to calculate the actual size of the memory occupied by the map in the bpf program?

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

 



 The value of memlock can be seen through bpftool map, but this number
is not the actual size of the map, but only the data size of key and
value.

 Is there any way to estimate the actual size of the map in memory
based on the size of max_entries and key|value?

 Is there any way to know the actual size of each map in the current
xdp program?

 Best Regards
 Dalu Pay



[Index of Archives]     [Linux Networking Development]     [Fedora Linux Users]     [Linux SCTP]     [DCCP]     [Gimp]     [Yosemite Campsites]

  Powered by Linux