Re: [GIT PULL v2] Networking for 6.7

From: Kirill A. Shutemov
Date: Thu Nov 09 2023 - 10:49:46 EST


On Tue, Oct 31, 2023 at 02:09:48PM -0700, Jakub Kicinski wrote:
> bpf: Add support for non-fix-size percpu mem allocation

Recent changes in BPF increased per-CPU memory consumption a lot.

On virtual machine with 288 CPUs, per-CPU consumtion increased from 111 MB
to 969 MB, or 8.7x.

I've bisected it to the commit 41a5db8d8161 ("bpf: Add support for
non-fix-size percpu mem allocation"), which part of the pull request.

--
Kiryl Shutsemau / Kirill A. Shutemov