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: <20220125100221.3ee4be37@kicinski-fedora-PC1C0HJN.hsd1.ca.comcast.net>
Date:   Tue, 25 Jan 2022 10:02:21 -0800
From:   Jakub Kicinski <kuba@...nel.org>
To:     Eric Dumazet <eric.dumazet@...il.com>
Cc:     "David S . Miller" <davem@...emloft.net>,
        netdev <netdev@...r.kernel.org>,
        Eric Dumazet <edumazet@...gle.com>
Subject: Re: [PATCH net-next 0/6] netns: speedup netns dismantles

On Mon, 24 Jan 2022 12:24:51 -0800 Eric Dumazet wrote:
> From: Eric Dumazet <edumazet@...gle.com>
> 
> netns are dismantled by a single thread, from cleanup_net()
> 
> On hosts with many TCP sockets, and/or many cpus, this thread
> is spending too many cpu cycles, and can not keep up with some
> workloads.
> 
> - Removing 3*num_possible_cpus() sockets per netns, for icmp and tcp protocols.
> - Iterating over all TCP sockets to remove stale timewait sockets.
> 
> This patch series removes ~50% of cleanup_net() cpu costs on
> hosts with 256 cpus. It also reduces per netns memory footprint.

Applied, thanks, 51d555cfdcc6 ("Merge branch
'netns-speedup-dismantle'") in net-next.

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ