Re: [PATCH v7 1/4] spinlock: A new lockref structure for locklessupdate of refcount

From: Sedat Dilek
Date: Tue Sep 03 2013 - 18:41:39 EST


On Tue, Sep 3, 2013 at 5:14 PM, Waiman Long <waiman.long@xxxxxx> wrote:
> On 09/03/2013 02:01 AM, Ingo Molnar wrote:
>>
>> * Waiman Long<waiman.long@xxxxxx> wrote:
>>
>>> Yes, that patch worked. It eliminated the lglock as a bottleneck in the
>>> AIM7 workload. The lg_global_lock did not show up in the perf profile,
>>> whereas the lg_local_lock was only 0.07%.
>>
>> Just curious: what's the worst bottleneck now in the optimized kernel? :-)
>>
>> Thanks,
>>
>> Ingo
>
> With the following patches on v3.11:
> 1. Linus's version of lockref patch
> 2. Al's lglock patch
> 3. My preliminary patch to convert prepend_path under RCU
>

With no reference where to get those patches, it's a bit hard to follow.

I will try some perf benchmarking with the attached patch against
Linux "WfW" edition.

- Sedat -

Attachment: 3.11.0-1-lockref-small.patch
Description: Binary data