From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Laight Subject: RE: [PATCH RFC/RFT net-next 00/17] net: Convert neighbor tables to per-namespace Date: Thu, 26 Jul 2018 11:12:34 +0000 Message-ID: References: <1a3f59a9-0ba5-c83f-16a6-f9550a84f693@gmail.com> <1a27e301-3275-b349-a2f8-afdfdc02f04f@gmail.com> <20180718.125938.2271502580775162784.davem@davemloft.net> <28c30574-391c-b4bd-c337-51d3040d901a@gmail.com> <5021d874-8e99-6eba-f24b-4257c62d4457@gmail.com> <87muufze8w.fsf@xmission.com> <4b03b5f6-87ce-9ff2-7c14-598beebd8fb8@gmail.com> <87zhyfw70m.fsf@xmission.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8BIT Cc: Cong Wang , David Miller , Linux Kernel Network Developers , "nikita.leshchenko@oracle.com" , Roopa Prabhu , Stephen Hemminger , Ido Schimmel , Jiri Pirko , "Saeed Mahameed" , Alexander Aring , "linux-wpan@vger.kernel.org" , NetFilter , LKML To: "'Eric W. Biederman'" , David Ahern Return-path: In-Reply-To: <87zhyfw70m.fsf@xmission.com> Content-Language: en-US Sender: netdev-owner@vger.kernel.org List-Id: netfilter-devel.vger.kernel.org From: Eric W. Biederman > Sent: 25 July 2018 18:38 ... > >> Further unless I misread something you are increasing the number of > >> timers to 3 per namespace. If I create create a thousand network > >> namespaces that feels like it will hurt system performance overall. > > > > It seems to me the timers are per neighbor entry not table. The per > > table ones are for proxies. > > It seems I misread that bit when I was refreshing my memory on what > everything is doing. If we can already have 1024 timers that makes > timers not a concern. Surely it is enough to just have a timestamp in each entry. Deletion of expired items need not be done until insert (which has the table suitable locked) bumps into an expired item. David - Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK Registration No: 1397386 (Wales)