Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1516356

Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default

From Steven Rostedt <rostedt@goodmis.org>
Newsgroups linux.kernel
Subject Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default
Date 2016-11-07 18:30 +0100
Message-ID <sAVU5-6hX-9@gated-at.bofh.it> (permalink)
References (6 earlier) <sz6JZ-gg-57@gated-at.bofh.it> <sz6JZ-gg-37@gated-at.bofh.it> <szt3Q-6jb-21@gated-at.bofh.it> <sztdv-6nD-21@gated-at.bofh.it> <sztGy-6N2-33@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Thu, 3 Nov 2016 09:59:31 -0700
"Paul E. McKenney" <paulmck@linux.vnet.ibm.com> wrote:

> On Thu, Nov 03, 2016 at 05:33:27PM +0100, Sebastian Andrzej Siewior wrote:
> > On 2016-11-03 09:22:28 [-0700], Paul E. McKenney wrote:  
> > > On Wed, Nov 02, 2016 at 05:30:02PM +0100, Sebastian Andrzej Siewior wrote:  
> > > > RCU_EXPEDITE_BOOT should speed up the boot process by enforcing
> > > > synchronize_rcu_expedited() instead of synchronize_rcu() during the boot
> > > > process. There should be no reason why one does not want this and there
> > > > is no need worry about real time latency at this point.
> > > > Therefore make it default.
> > > > 
> > > > Signed-off-by: Sebastian Andrzej Siewior <bigeasy@linutronix.de>  
> > > 
> > > Well, it has been awhile since I removed a Kconfig parameter.
> > > 
> > > So why could this be a bad thing?
> > > 
> > > 1.	Very large systems might see scalability issues with unconditional
> > > 	expediting at boot.  But if we don't try it, we won't know.  
> > 
> > You mean we would make the boot process slower for them instead of
> > faster?  
> 
> For really bit systems, quite possibly, where "really big" means
> many hundreds or (more likely) thousands of CPUs.
> 
> But there are things that I can do to fix this when and if.
> 
> > > 2.	People bringing up new hardware might not want quite so many
> > > 	IPIs.  But they can just set rcu_normal to prevent that.  
> > 
> > I wanted to make things simple and not complicated…  
> 
> I know that feeling.  ;-)
> 

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".

-- Steve

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH] rcu: update: make RCU_EXPEDITE_BOOT default Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-02 17:40 +0100
  Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-11-03 17:30 +0100
    Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-03 17:40 +0100
      Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-11-03 18:10 +0100
        Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default Steven Rostedt <rostedt@goodmis.org> - 2016-11-07 18:30 +0100
          Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default Sebastian Andrzej Siewior <bigeasy@linutronix.de> - 2016-11-07 18:40 +0100
            Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default Josh Triplett <josh@joshtriplett.org> - 2016-11-07 18:50 +0100
              Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default Josh Triplett <josh@joshtriplett.org> - 2016-11-07 19:10 +0100
                Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-11-07 20:10 +0100
              Re: [PATCH] rcu: update: make RCU_EXPEDITE_BOOT default "Paul E. McKenney" <paulmck@linux.vnet.ibm.com> - 2016-11-07 19:40 +0100

csiph-web