[PATCH] D50910: [sanitizer] Use private futex operations for BlockingMutex

Kostya Kortchinsky via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Sat Aug 18 10:51:39 PDT 2018


cryptoad added a comment.

In https://reviews.llvm.org/D50910#1205003, @alekseyshl wrote:

> Have you noticed any difference in performance? I tried the same back in March I have not noticed any perf gain on the couple of benchmarks. I am merely curious, I think this is a right change to make anyways.


The performance gain is noticeable with the shared TSD model for Scudo, in some of the most contentious scenario.
With rpc2-benchmark (async mode, no client/server thread limitation, 72-core machines, TSD pool size of 32) the average QPS over 10 runs jumps from 347K to 375K.
In other cases, the gains are more marginal.


Repository:
  rCRT Compiler Runtime

https://reviews.llvm.org/D50910





More information about the llvm-commits mailing list