From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Paul E. McKenney" Subject: Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default Date: Mon, 7 Nov 2016 10:05:13 -0800 Message-ID: <20161107180513.GQ24166@linux.vnet.ibm.com> References: <20161016112846.GR29518@linux.vnet.ibm.com> <20161031173852.a3ji7hhgjis5l3u4@linutronix.de> <20161031181543.GN3716@linux.vnet.ibm.com> <20161102163002.igni3zdnid535nou@linutronix.de> <20161103162228.GG3716@linux.vnet.ibm.com> <20161103163326.jkjbncoz7a5oriy5@linutronix.de> <20161103165931.GJ3716@linux.vnet.ibm.com> <20161107121939.7346923f@gandalf.local.home> <20161107173029.caktxw4piluk5atu@linutronix.de> <20161107173546.t7aokzncidauio43@x> Reply-To: paulmck@linux.vnet.ibm.com Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Sebastian Andrzej Siewior , Steven Rostedt , "Michael S. Tsirkin" , Julia Cartwright , Luiz Capitulino , linux-rt-users@vger.kernel.org, Mathieu Desnoyers , Lai Jiangshan , linux-kernel@vger.kernel.org To: Josh Triplett Return-path: Content-Disposition: inline In-Reply-To: <20161107173546.t7aokzncidauio43@x> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-rt-users.vger.kernel.org On Mon, Nov 07, 2016 at 09:35:46AM -0800, Josh Triplett wrote: > On Mon, Nov 07, 2016 at 06:30:30PM +0100, Sebastian Andrzej Siewior wrote: > > On 2016-11-07 12:19:39 [-0500], Steven Rostedt wrote: > > > I agree, but if this creates a boot time regression in large machines, > > > it may not be warranted. > > > > > > I know Linus usually doesn't like options with default y, but this may > > > be one of those exceptions. Perhaps we should make it on by default and > > > say in the config "if you have a machine with 100s or 1000s of CPUs, > > > you may want to disable this". > > > > The default could change if we know where the limit is. I have access to > > a box with approx 140 CPUs so I could check there if it is already bad. > > But everything above that / in the 1000 range is a different story. > > Right; if we can characterize what machines it benefits and what > machines it hurts, we can automatically detect and run the appropriate > case with no configuration option needed. I very much like this approach! Anyone have access to large systems on which this experiment could be carried out? In the absence of new data, I would just set the cutoff at 256 CPUs, as I have done in the past. Thanx, Paul