Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-06 Thread Paul E. McKenney
On Thu, Sep 06, 2012 at 08:28:21PM +0200, Peter Zijlstra wrote: > On Thu, 2012-09-06 at 10:53 -0700, Paul E. McKenney wrote: > > > > - how do I know if my workload wants a longer or shorter forced qs > > >period? > > > > Almost everyone can do just fine with the defaults. If you have more >

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-09-06 at 10:53 -0700, Paul E. McKenney wrote: > > - how do I know if my workload wants a longer or shorter forced qs > >period? > > Almost everyone can do just fine with the defaults. If you have more > than about 1,000 CPUs, you might need a longer period. Because the cost o

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-06 Thread Paul E. McKenney
On Thu, Sep 06, 2012 at 04:15:30PM +0200, Peter Zijlstra wrote: > On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > Some uses of RCU benefit from shorter grace periods, while others benefit > > more from the greater efficiency provided by longer grace

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-06 Thread Peter Zijlstra
On Thu, 2012-08-30 at 11:18 -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > Some uses of RCU benefit from shorter grace periods, while others benefit > more from the greater efficiency provided by longer grace periods. > Therefore, this commit allows the durations to be controlled f

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-03 Thread Josh Triplett
On Mon, Sep 03, 2012 at 02:30:16AM -0700, Josh Triplett wrote: > On Thu, Aug 30, 2012 at 11:18:28AM -0700, Paul E. McKenney wrote: > > From: "Paul E. McKenney" > > > > Some uses of RCU benefit from shorter grace periods, while others benefit > > more from the greater efficiency provided by longer

Re: [PATCH tip/core/rcu 13/23] rcu: Control grace-period duration from sysfs

2012-09-03 Thread Josh Triplett
On Thu, Aug 30, 2012 at 11:18:28AM -0700, Paul E. McKenney wrote: > From: "Paul E. McKenney" > > Some uses of RCU benefit from shorter grace periods, while others benefit > more from the greater efficiency provided by longer grace periods. > Therefore, this commit allows the durations to be contr