lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20231109161406.lol2mjhr47dhd42q@box.shutemov.name>
Date:   Thu, 9 Nov 2023 19:14:06 +0300
From:   "Kirill A. Shutemov" <kirill@...temov.name>
To:     Alexei Starovoitov <alexei.starovoitov@...il.com>
Cc:     Hou Tao <houtao1@...wei.com>, Jakub Kicinski <kuba@...nel.org>,
        Yonghong Song <yonghong.song@...ux.dev>,
        Alexei Starovoitov <ast@...nel.org>,
        Linus Torvalds <torvalds@...ux-foundation.org>,
        "David S. Miller" <davem@...emloft.net>,
        Network Development <netdev@...r.kernel.org>,
        LKML <linux-kernel@...r.kernel.org>,
        Paolo Abeni <pabeni@...hat.com>
Subject: Re: [GIT PULL v2] Networking for 6.7

On Thu, Nov 09, 2023 at 08:01:39AM -0800, Alexei Starovoitov wrote:
> On Thu, Nov 9, 2023 at 7:49 AM Kirill A. Shutemov <kirill@...temov.name> wrote:
> >
> > 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.
> 
> Hmm. This is unexpected. Thank you for reporting.
> 
> How did you measure this 111 MB vs 969 MB ?
> Pls share the steps to reproduce.

Boot VMM with 288 (qemu-system-x86_64 -smp 288) and check Percpu: field of
/proc/meminfo.

-- 
  Kiryl Shutsemau / Kirill A. Shutemov

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ