From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S934118AbcJUPDh (ORCPT ); Fri, 21 Oct 2016 11:03:37 -0400 Received: from shards.monkeyblade.net ([184.105.139.130]:55908 "EHLO shards.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755445AbcJUPDf (ORCPT ); Fri, 21 Oct 2016 11:03:35 -0400 Date: Fri, 21 Oct 2016 11:03:33 -0400 (EDT) Message-Id: <20161021.110333.1897572143781385600.davem@davemloft.net> To: eric.dumazet@gmail.com Cc: jikos@kernel.org, jhs@mojatatu.com, phil@nwl.cc, xiyou.wangcong@gmail.com, daniel@iogearbox.net, linux-kernel@vger.kernel.org, netdev@vger.kernel.org Subject: Re: [PATCH] net: sched: make default fifo qdiscs appear in the dump From: David Miller In-Reply-To: <1477055663.7065.67.camel@edumazet-glaptop3.roam.corp.google.com> References: <1477049817.7065.56.camel@edumazet-glaptop3.roam.corp.google.com> <1477055663.7065.67.camel@edumazet-glaptop3.roam.corp.google.com> X-Mailer: Mew version 6.7 on Emacs 24.5 / Mule 6.0 (HANACHIRUSATO) 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]); Fri, 21 Oct 2016 08:03:35 -0700 (PDT) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Eric Dumazet Date: Fri, 21 Oct 2016 06:14:23 -0700 > On Fri, 2016-10-21 at 14:56 +0200, Jiri Kosina wrote: >> On Fri, 21 Oct 2016, Eric Dumazet wrote: >> >> > Some of us are dealing with huge HTB hierarchies, so adding default fifo >> > in the dump will add more data pumped from the kernel. >> > >> > BwE [1] for instance dumps qdisc/classes every 5 seconds. >> > >> > I guess we'll need to not pull this patch in our kernels. >> >> Okay, so I probably misunderstood you here: >> >> https://marc.info/?l=linux-kernel&m=146073234818214&w=2 >> >> as I thought that as long as we move towards the hashtable, you wouldn't >> have any issues with this. >> >> I'd really like to unhide the default qdiscs, it makes little sense to be >> inconsistent in this way. >> >> Random shot into darkness -- how about making this a >> CONFIG/sysctl-selectable? > > Oh sorry for the confusion, I believe your patch is fine. > > We could add an netlink attribute later for the users that really do not > want default fifo being dumped, but there is no hurry. If this is changing default behavior we should approach this the other way around. Keep behaving the way we do, user asks for new behavior with the attribute.