![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
28 Feb
2014
28 Feb
'14
9:52 a.m.
Hi, Sergey! On Feb 27, Sergey Vojtovich wrote:
Hi Sergei,
do you know if we ship any binaries with fast mutex (-DMY_PTHREAD_FASTMUTEX) enabled or officially suggest it? What was it's intention and what loads it was supposed to make faster?
As far as I understand, we built with fastmutex on Linux. See cmake/build_configurations/mysql_release.cmake
I'm trying to understand if fastmutex is worth fixing. It looks like duplication of PTHREAD_MUTEX_ADAPTIVE_NP, so we have double spinning when they're enabled. According to my recent benchmarks it shown worst performance.
Disable it then :) Regards, Sergei