Received: by 2002:ac0:a5a7:0:0:0:0:0 with SMTP id m36-v6csp1935922imm; Thu, 19 Jul 2018 10:12:32 -0700 (PDT) X-Google-Smtp-Source: AAOMgpfg6L2uWvfzJx4XPf4V3KvWviUrYqDEuJqvp4S4SPF/Xxy2PRTY5BOuK5s7dChmejbLwxzB X-Received: by 2002:a17:902:b48c:: with SMTP id y12-v6mr10755753plr.97.1532020352420; Thu, 19 Jul 2018 10:12:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1532020352; cv=none; d=google.com; s=arc-20160816; b=oYKvPUl+3GU9xZ7LpBsoPyAqg0M7uDmSH4msI2eDhUkzApsUWZbW8vPV/YaHpB1s2K Z0WFkyOoTe7u78kBUoUusLVI8/0J8hMWhlGwFt20WRfc33rfLlxmKGu18uiG8wYcnPm+ VTlNTPKH0NstI2NggX5robYaKsYB6GQI6ZTq1pArzB4YlJTNWS/sMp0NG0yGG1hS3uhg BSGwdda9q/Slf7FNskV9M+rvPxxATki5uFeCun0vcPLrh7dA7v60ngT+TAI1Bcr6PrSi byFtm13Ltb/4KpEj48wpTxT9RggEH/TYTW0ySL3XZVPimrk3GaMKrruOIFDIQPZr07R8 xAew== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:dkim-signature :arc-authentication-results; bh=7pBPBWIoYEv6A7Xqcfh3h50W3c3O7LVp6eQHXg3DHxE=; b=SFe+6Qb3Oog5caeBX+GD8kA8P6Fk3gdcoVDuxoUhJ7jBsLnbafHy/1aiK6B6ktmh2I PemrDy0PbNQLN/K3pbdU9i1RwoMy/ijtOvbjTwnNfUwkx8OyjLqgKLgVB48GQIYASSNs qgFs/Kir8i1d7S4n+jOwmCLL0UxeBtD7btbI0r7yLEXdBIHtvKrnZfYuDUdsuhqMjzpx BKw1pLH5389e54Pojb3NpTlD1gsnDpqbQNkPffRqRQpkkWsY51Z1vApEg/meWO1f9rXJ taxgfhQQIkWzK/kGyK+68rvjqAcRPP7koxMT2bBanrVarITVXOMw2LlyeH8YWMvpOjcY b8vQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HpUrA7qL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l33-v6si6082080pgm.350.2018.07.19.10.12.17; Thu, 19 Jul 2018 10:12:32 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HpUrA7qL; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1732136AbeGSRzB (ORCPT + 99 others); Thu, 19 Jul 2018 13:55:01 -0400 Received: from mail-pg1-f196.google.com ([209.85.215.196]:44411 "EHLO mail-pg1-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731828AbeGSRzB (ORCPT ); Thu, 19 Jul 2018 13:55:01 -0400 Received: by mail-pg1-f196.google.com with SMTP id r1-v6so4326079pgp.11; Thu, 19 Jul 2018 10:10:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=7pBPBWIoYEv6A7Xqcfh3h50W3c3O7LVp6eQHXg3DHxE=; b=HpUrA7qLd285Ey3unqTFuLWBEX7qvmMFI5CWRW2cJnEjMW2gr7WzlCQaLfg4SIOq7l 2QNAaQ+ynUEuE24JdYwSGpsdCfiU+U7IC+uLFOgPFGqC7phZjxgPKjEYtmDRDDceCxVG yxP0PrGq6aMBb1uX2n3tWYFiJlwQi8NtoiYVPlqvDeKYu/BKR0rBw6d9fysjeuiLel8d nCrbBnjatNDXqLBNwUX+VXRUb/J2HCOA4AQYRpeO1KBYpmiNXyN0c1dwi7nqr7v4uRtS jYylvjBDm2wNd1ff5I85pmNs3JnWW4yT9mwPAA5z9ltroSJPx23iGHVc3qmVmrmaE4oF 5Ejw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=7pBPBWIoYEv6A7Xqcfh3h50W3c3O7LVp6eQHXg3DHxE=; b=YrsX1jx0o6bKwRB6Fmuz0HE1a09JFWjrLHTigp0aksdIYEXVc46rKf2U8grwJfzmqy jMlUNg1DnAHIKohe+NszbX3HlLOBt8PWbbdcdiJ3tiXIa1ZfxA259xWMWVl/jOngQ1N0 qZtEZIIg4P/rdP6c4dWHPutI1QUYywHQ9+jnvfztN2P7v9W2d+zWearc0N0dt3JD96Eb D50PKdd+yUJ6fKbKC4doU/8jLLF37Vjx6UcBUiwgZQS4FEMs7vsR1Vkd/uYEDsJyOtv/ JTg+cRDswE3Dw31pXYNrnX7EtCLTAw5Bdm1sgYS0UQZ6olXdItP9RRFIo3ypg+rkfdl/ Kzug== X-Gm-Message-State: AOUpUlF1BaV+TBs/LnLdHtWkO85iQ49I3WHIEB1jmFpHg7MoF27LExU+ gim6lRZQv9Bk/4Sm6eqEIFOGwZz9tqVN8YOWiAQ= X-Received: by 2002:a62:4c0f:: with SMTP id z15-v6mr10290673pfa.110.1532020255742; Thu, 19 Jul 2018 10:10:55 -0700 (PDT) MIME-Version: 1.0 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> In-Reply-To: <28c30574-391c-b4bd-c337-51d3040d901a@gmail.com> From: Cong Wang Date: Thu, 19 Jul 2018 10:12:23 -0700 Message-ID: Subject: Re: [PATCH RFC/RFT net-next 00/17] net: Convert neighbor tables to per-namespace To: David Ahern Cc: 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 Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Jul 19, 2018 at 9:16 AM David Ahern wrote: > > Chatting with Nikolay about this and he brought up a good corollary - ip > fragmentation. It really is a similar problem in that memory is consumed > as a result of packets received from an external entity. The ipfrag > sysctls are per namespace with a limit that non-init_net namespaces can > not set high_thresh > the current value of init_net. Potential memory > consumed by fragments scales with the number of namespaces which is the > primary concern with making neighbor tables per namespace. Nothing new, already discussed: https://marc.info/?l=linux-netdev&m=140391416215988&w=2 :)