Re: [PATCH 4/7] locking/pvqspinlock: Collect slowpath lock statistics

From: Peter Zijlstra
Date: Sun Jul 12 2015 - 04:22:45 EST


On Sat, Jul 11, 2015 at 04:36:55PM -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 kicking and
> wakeup latencies which have a heavy dependency on the CPUs being used.
>
> The measured latencies for different CPUs are:
>
> CPU Wakeup Kicking
> --- ------ -------
> Haswell-EX 26.4us 9.2us
> Westmere-EX 99.4US 25.5us
>
> So Haswell is much faster than Westmere.
>
> The accumulated lock statistics will be reported in debugfs under the
> pv-qspinlock directory.

You've again stuck this behind non-trivial patches :-(
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/