Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Waiman Long
On 11/05/2015 12:09 PM, Peter Zijlstra wrote: On Thu, Nov 05, 2015 at 11:59:21AM -0500, Waiman Long wrote: Mostly I just wanted to point out that it was possible; you need not change to sysfs because debugfs lacks the capability. But now that you ask, I think debugfs might be the better place,

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Peter Zijlstra
On Thu, Nov 05, 2015 at 11:59:21AM -0500, Waiman Long wrote: > >Mostly I just wanted to point out that it was possible; you need not > >change to sysfs because debugfs lacks the capability. > > > >But now that you ask, I think debugfs might be the better place, such > >statistics (and the proposed

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Waiman Long
On 11/05/2015 11:43 AM, Peter Zijlstra wrote: On Thu, Nov 05, 2015 at 11:29:29AM -0500, Waiman Long wrote: On 11/02/2015 11:40 AM, Peter Zijlstra wrote: On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: This patch enables the accumulation of kicking and waiting related PV qspinlock

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Peter Zijlstra
On Thu, Nov 05, 2015 at 11:29:29AM -0500, Waiman Long wrote: > On 11/02/2015 11:40 AM, Peter Zijlstra wrote: > >On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: > >>This patch enables the accumulation of kicking and waiting related > >>PV qspinlock statistics when the new

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Waiman Long
On 11/02/2015 11:40 AM, Peter Zijlstra wrote: On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: This patch enables the accumulation of kicking and waiting related PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration option is selected. It also enables the collection of

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Waiman Long
On 11/02/2015 11:40 AM, Peter Zijlstra wrote: On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: This patch enables the accumulation of kicking and waiting related PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration option is selected. It also enables the collection of

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Waiman Long
On 11/05/2015 11:43 AM, Peter Zijlstra wrote: On Thu, Nov 05, 2015 at 11:29:29AM -0500, Waiman Long wrote: On 11/02/2015 11:40 AM, Peter Zijlstra wrote: On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: This patch enables the accumulation of kicking and waiting related PV qspinlock

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Waiman Long
On 11/05/2015 12:09 PM, Peter Zijlstra wrote: On Thu, Nov 05, 2015 at 11:59:21AM -0500, Waiman Long wrote: Mostly I just wanted to point out that it was possible; you need not change to sysfs because debugfs lacks the capability. But now that you ask, I think debugfs might be the better place,

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Peter Zijlstra
On Thu, Nov 05, 2015 at 11:29:29AM -0500, Waiman Long wrote: > On 11/02/2015 11:40 AM, Peter Zijlstra wrote: > >On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: > >>This patch enables the accumulation of kicking and waiting related > >>PV qspinlock statistics when the new

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-05 Thread Peter Zijlstra
On Thu, Nov 05, 2015 at 11:59:21AM -0500, Waiman Long wrote: > >Mostly I just wanted to point out that it was possible; you need not > >change to sysfs because debugfs lacks the capability. > > > >But now that you ask, I think debugfs might be the better place, such > >statistics (and the proposed

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-02 Thread Peter Zijlstra
On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: > This patch enables the accumulation of kicking and waiting related > PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration > option is selected. It also enables the collection of data which > enable us to calculate the

Re: [PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-11-02 Thread Peter Zijlstra
On Fri, Oct 30, 2015 at 07:26:35PM -0400, Waiman Long wrote: > This patch enables the accumulation of kicking and waiting related > PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration > option is selected. It also enables the collection of data which > enable us to calculate the

[PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-10-30 Thread Waiman Long
This patch enables the accumulation of kicking and waiting related PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration option is selected. It also enables the collection of data which enable us to calculate the kicking and wakeup latencies which have a heavy dependency on the CPUs

[PATCH tip/locking/core v9 4/6] locking/pvqspinlock: Collect slowpath lock statistics

2015-10-30 Thread Waiman Long
This patch enables the accumulation of kicking and waiting related PV qspinlock statistics when the new QUEUED_LOCK_STAT configuration option is selected. It also enables the collection of data which enable us to calculate the kicking and wakeup latencies which have a heavy dependency on the CPUs