Received: by 2002:a25:ad19:0:0:0:0:0 with SMTP id y25csp1593190ybi; Sat, 27 Jul 2019 13:25:35 -0700 (PDT) X-Google-Smtp-Source: APXvYqzDBVfcF3PgrngfzmMiXWK+s4f7/f4bQ7cSct6oebYUR/a4QgOrLHb5sWr+/gjOSAOJv6UT X-Received: by 2002:aa7:8ad0:: with SMTP id b16mr27015517pfd.45.1564259135232; Sat, 27 Jul 2019 13:25:35 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564259135; cv=none; d=google.com; s=arc-20160816; b=JWZ4j3D9pBdbVkLi9/XzcdRUPj8uko0v7eWDMT105mMBxWnURFHmK61WsKjQYautBz uvFADQcNblsLPNa9bOubYilL2pYJHzXfiztl/ugBWJE/XGw1e1SA96D8B+KGhY6eRrd3 pwcxJbN2UXaReJfURRbOh/lMH7uT2gWBnnHctYrexAHiXZIWRJJPrus+EIODsTbA/ZSh c8RDz7EBsat9qVrKFxEAHupV91XY8a8GimBxJl65yfO98eon3LQ7BdudEaGMXZcnYnG0 Ihvs27aRjZjC8zvINOQ7NnBqbv+keoMrcbpKTfllpHeOUicfnF+sNKBwLpr74ZoFgh5i sMrw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:from:subject:cc:to:message-id:date; bh=Wv4qjDfYv2j6kA3K3KETaRpRC03L6bznpPq0nzeKufk=; b=ZRNJDsBCho2lYZuSDB3QcmAO1K6zEYE+SP0tiCM1v8kVbBbmAB8di9OfhZCMGEdEqZ DhkL95OaB17a90d0XMZEzOGV94nsw7zWNjpSq0AL7jzQnhGBePr8fLthA6ys+esYa9rb olld4j9TXSdd+1PESzpJAYcguD81o49NFWhkF9il8583O8V50u9KvECAVh5JxyYNjP/s M0VyFeQy9PP0Oqdrvj/Jztea1Z4f8Sdz97c4OqOms2wEivXyzQp1NDl2fRcXoP5Tlyt6 dKVwvH60A4PrSRqktoT46rfmGvnuPqFSsPc4624zpGwg+aqyVzlxZB3jOhc1uyRsCsn/ 4m8Q== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3si21309782plr.131.2019.07.27.13.25.19; Sat, 27 Jul 2019 13:25:35 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2388339AbfG0USu (ORCPT + 99 others); Sat, 27 Jul 2019 16:18:50 -0400 Received: from shards.monkeyblade.net ([23.128.96.9]:39698 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387841AbfG0USt (ORCPT ); Sat, 27 Jul 2019 16:18:49 -0400 Received: from localhost (unknown [IPv6:2601:601:9f80:35cd::d71]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (Client did not present a certificate) (Authenticated sender: davem-davemloft) by shards.monkeyblade.net (Postfix) with ESMTPSA id E73D11533D862; Sat, 27 Jul 2019 13:18:48 -0700 (PDT) Date: Sat, 27 Jul 2019 13:18:48 -0700 (PDT) Message-Id: <20190727.131848.1034715270924665758.davem@davemloft.net> To: brodie.greenfield@alliedtelesis.co.nz Cc: stephen@networkplumber.org, kuznet@ms2.inr.ac.ru, yoshfuji@linux-ipv6.org, netdev@vger.kernel.org, linux-kernel@vger.kernel.org, chris.packham@alliedtelesis.co.nz, luuk.paulussen@alliedtelesis.co.nz Subject: Re: [PATCH 0/2] Make ipmr queue length configurable From: David Miller In-Reply-To: <20190725204230.12229-1-brodie.greenfield@alliedtelesis.co.nz> References: <20190725204230.12229-1-brodie.greenfield@alliedtelesis.co.nz> X-Mailer: Mew version 6.8 on Emacs 26.1 Mime-Version: 1.0 Content-Type: Text/Plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.5.12 (shards.monkeyblade.net [149.20.54.216]); Sat, 27 Jul 2019 13:18:49 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Brodie Greenfield Date: Fri, 26 Jul 2019 08:42:28 +1200 > We want to have some more space in our queue for processing incoming > multicast packets, so we can process more of them without dropping > them prematurely. It is useful to be able to increase this limit on > higher-spec platforms that can handle more items. > > For the particular use case here at Allied Telesis, we have linux > running on our switches and routers, with support for the number of > multicast groups being increased. Basically, this queue length affects > the time taken to fully learn all of the multicast streams. > > Changes in v3: > - Corrected a v4 to v6 typo. As others have voiced, I think it's dangerous to let every netns increase this so readily. We need to either put in a non-initns limit or simply not allow non-init namespaces to change this. But really socket queue limits are a better place to enforce this.