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] [day] [month] [year] [list]
Date:	Thu, 07 Jul 2016 00:09:33 -0500
From:	ebiederm@...ssion.com (Eric W. Biederman)
To:	Stephen Hemminger <stephen@...workplumber.org>
Cc:	Phil Sutter <phil@....cc>,
	Stephen Hemminger <shemming@...cade.com>,
	netdev@...r.kernel.org
Subject: Re: [iproute PATCHv2 0/2] Netns performance improvements

Stephen Hemminger <stephen@...workplumber.org> writes:

> On Tue,  5 Jul 2016 16:51:18 +0200
> Phil Sutter <phil@....cc> wrote:
>
>> Stress-testing OpenStack Neutron revealed poor performance of 'ip netns'
>> when dealing with a high amount of namespaces. The cause of this lies in
>> the combination of how iproute2 mounts NETNS_RUN_DIR and the netns files
>> therein and the fact that systemd makes all mount points of the system
>> shared.
>> 
>> Changes since v1:
>> - Added Suggested-by tag to patches.
>> 
>> Phil Sutter (2):
>>   ipnetns: Move NETNS_RUN_DIR into it's own propagation group
>>   ipnetns: Make netns mount points private
>> 
>>  ip/ipnetns.c | 12 +++++++++++-
>>  1 file changed, 11 insertions(+), 1 deletion(-)
>> 
>
> I want an ack for Eric on this, it seems a little risky

If I have read the tea leaves properly the first patch is fighting
a system configuration of "mount --rbind /run /var/run" which seems
inappropriate.  A symlink is likely a better fix.

The effect of the second patch is probably better had by performing the
optimization in the kernel, so everyone gets the benefit.

I am persuadable to change this behavior.  But if all we are doing is
optimization and not intentionally changing the semantics there appear
to be better places for the optimizations to happen.

Eric

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ