|
From: Aleksey K. <ale...@ma...> - 2007-04-16 20:48:53
|
"Dmitry Yemanov" <fir...@ya...> wrote in message news:f00866$28r$1...@ne...... > Roman Simakov wrote: >> >> On classic >> New version with fast mutex - 8 minutes >> Old version without fast mutex - 1 minute >> On super >> Both versions - 5 seconds!!! > > I have solved (locally so far) the performance issue in the "old version > without fast mutex", so that CS version performs your test well. > However, the new mutex code is still terribly slow. I can reproduce that > and we're already investigating the reasons. The new "fast mutex" code is incorrect and contains a race condition that leads to server's freezes. You could just use the original code from Yaffil, probably, adjusting thread priorities code. Or, better, remove priority management all together. Regards, Aleksey Karyakin |