Re: [net-next] tipc: improve throughput between nodes in netns

2019-10-21 Thread Eric Dumazet
> ma...@donjonn.com; tipc-discuss...@lists.sourceforge.net; > netdev@vger.kernel.org > Subject: Re: [net-next] tipc: improve throughput between nodes in netns > > > On 10/21/19 7:20 PM, Hoang Le wrote: >> n->net = net; >> n->capabilities = capabiliti

RE: [net-next] tipc: improve throughput between nodes in netns

2019-10-21 Thread Hoang Le
: [net-next] tipc: improve throughput between nodes in netns On 10/21/19 7:20 PM, Hoang Le wrote: > n->net = net; > n->capabilities = capabilities; > + n->pnet = NULL; > + for_each_net_rcu(tmp) { This does not scale well, if say you have a thousand netns

Re: [net-next] tipc: improve throughput between nodes in netns

2019-10-21 Thread Eric Dumazet
On 10/21/19 7:20 PM, Hoang Le wrote: > n->net = net; > n->capabilities = capabilities; > + n->pnet = NULL; > + for_each_net_rcu(tmp) { This does not scale well, if say you have a thousand netns ? > + tn_peer = net_generic(tmp, tipc_net_id); > + if (!

[net-next] tipc: improve throughput between nodes in netns

2019-10-21 Thread Hoang Le
Currently, TIPC transports intra-node user data messages directly socket to socket, hence shortcutting all the lower layers of the communication stack. This gives TIPC very good intra node performance, both regarding throughput and latency. We now introduce a similar mechanism for TIPC data traffi