Re: [PATCH] Doc: lockdep: add information about performance impact

From: Lukasz Luba
Date: Tue Oct 09 2018 - 12:06:39 EST


Hi Peter,

On 10/09/2018 05:43 PM, Peter Zijlstra wrote:
> On Tue, Oct 09, 2018 at 05:39:27PM +0200, Lukasz Luba wrote:
>> This patch add some warning related to performance drop.
>> It should be mentioned that this is not for free
>> and the platfrom resources (cache, bus interconnect, etc.)
>> will be used more frequently.
>
> To me this reads a bit like: water is wet.
>
> Is this really needed?
>
>
Well, it would be good to know what is the performance drop
(10% or 20% or x3 times) when you are enabling different debug options.
I have spent some time analyzing these cache and bus strange behavior.
Now the developers would know that LOCKDEP might cause constant trashing
of your cache in some use cases.

Regards,
Lukasz Luba