Thread (11 messages) flat view 11 messages, 4 authors, 2017-09-19

Re: [PATCH net-next 0/7] net: speedup netns create/delete time

From: Eric Dumazet <hidden>
Date: 2017-09-19 23:20:15

On Tue, 2017-09-19 at 16:02 -0700, David Miller wrote:
From: Eric Dumazet <edumazet@google.com>
Date: Mon, 18 Sep 2017 12:07:26 -0700
quoted
When rate of netns creation/deletion is high enough,
we observe softlockups in cleanup_net() caused by huge list
of netns and way too many rcu_barrier() calls.

This patch series does some optimizations in kobject,
and add batching to tunnels so that netns dismantles are
less costly.

IPv6 addrlabels also get a per netns list, and tcp_metrics
also benefit from batch flushing.

This gives me one order of magnitude gain.
(~50 ms -> ~5 ms for one netns create/delete pair)
I like it.

Please address the feedback about using skb_put_data() and
resubmit.
Sure, will also remove a spurious // comment I accidentally left in
patch 7/7.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help