Re: [PATCH 1/2] ipmr: Make cache queue length configurable

2019-07-27 Thread Stephen Suryaputra
On Fri, Jul 26, 2019 at 7:18 AM Nikolay Aleksandrov wrote: > > You've said it yourself - it has linear traversal time, but doesn't this > > patch allow any netns on the > > system to increase its limit to any value, thus possibly affecting others ? > > Though the socket limit will kick in at som

Re: [PATCH 1/2] ipmr: Make cache queue length configurable

2019-07-26 Thread Nikolay Aleksandrov
On 26/07/2019 14:05, Nikolay Aleksandrov wrote: > On 25/07/2019 23:42, Brodie Greenfield wrote: >> We want to be able to keep more spaces available in our queue for >> processing incoming multicast traffic (adding (S,G) entries) - this lets >> us learn more groups faster, rather than dropping them

Re: [PATCH 1/2] ipmr: Make cache queue length configurable

2019-07-26 Thread Nikolay Aleksandrov
On 25/07/2019 23:42, Brodie Greenfield wrote: > We want to be able to keep more spaces available in our queue for > processing incoming multicast traffic (adding (S,G) entries) - this lets > us learn more groups faster, rather than dropping them at this stage. > > Signed-off-by: Brodie Greenfield

Re: [PATCH 1/2] ipmr: Make cache queue length configurable

2019-07-26 Thread Stephen Suryaputra
On Fri, Jul 26, 2019 at 08:42:29AM +1200, Brodie Greenfield wrote: > We want to be able to keep more spaces available in our queue for > processing incoming multicast traffic (adding (S,G) entries) - this lets > us learn more groups faster, rather than dropping them at this stage. > > Signed-off-b

[PATCH 1/2] ipmr: Make cache queue length configurable

2019-07-25 Thread Brodie Greenfield
We want to be able to keep more spaces available in our queue for processing incoming multicast traffic (adding (S,G) entries) - this lets us learn more groups faster, rather than dropping them at this stage. Signed-off-by: Brodie Greenfield --- Documentation/networking/ip-sysctl.txt | 8 +++

Re: [PATCH 1/2] ipmr: Make cache queue length configurable

2019-03-07 Thread Stephen Hemminger
On Thu, 7 Mar 2019 09:19:55 +1300 Brodie Greenfield wrote: > +ip_mr_cache_queue_length - INTEGER > + Limit the number of multicast packets we can have in the queue to be > + resolved. > + Bear in mind that when an unresolved multicast packet is received, > + there is an O(n) trav

[PATCH 1/2] ipmr: Make cache queue length configurable

2019-03-06 Thread Brodie Greenfield
We want to be able to keep more spaces available in our queue for processing incoming multicast traffic (adding (S,G) entries) - this lets us learn more groups faster, rather than dropping them at this stage. Signed-off-by: Brodie Greenfield --- Documentation/networking/ip-sysctl.txt | 8 +++

[PATCH 1/2] ipmr: Make cache queue length configurable

2019-03-06 Thread Brodie Greenfield
We want to be able to keep more spaces available in our queue for processing incoming multicast traffic (adding (S,G) entries) - this lets us learn more groups faster, rather than dropping them at this stage. Signed-off-by: Brodie Greenfield --- Documentation/networking/ip-sysctl.txt | 8 +++