mxnet-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Haitao Wang" <>
Subject RE: Futex
Date Fri, 24 Nov 2017 03:32:02 GMT
Hi, Chris,

As far as I know, the mutex implementation in Linux is based on futex already.


-----Original Message-----
From: []
On Behalf Of Chris Olivier
Sent: Friday, November 24, 2017 3:02 AM
Subject: Futex

Was doing some timing with futexes (we used them a lot in a previous life in database engines)
and they're consistently about 20-30% faster than standard mutexes in Linux.

However, it seems like this is not worth making a change since mutexes don't tend to get called
so much that it would seem to make a noticeable difference, although I could be wrong -- so
far besides the queue, I am not aware of any major bottlenecks on mutexes.

Any thoughts?


View raw message