Re: [LKP] [futex] 76835b0ebf8: -12.1% will-it-scale.per_process_ops

From: Davidlohr Bueso
Date: Sun Oct 26 2014 - 22:26:17 EST


On Mon, 2014-10-27 at 10:18 +0800, kernel test robot wrote:
> FYI, we noticed the below changes on
>
> commit 76835b0ebf8a7fe85beb03c75121419a7dec52f0 ("futex: Ensure get_futex_key_refs() always implies a barrier")

fwiw I was also able to reproduce similar results, with the hashing
costing (unsurprisingly) around an extra ~10% with the new barrier, not
much we can do about that. In any case these are pretty low level
measurements so shouldn't impact too much. Additionally, any user that
cares about performance will try to avoid incurring futex calls into
kernel space.

--
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/