Re: lock's trace events can improve mutex's performance in userspace?

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
From: Xiao Guangrong
Date: Thursday, April 8, 2010 - 2:05 am

Hi Michel,

Michel Lespinasse wrote:

Great thanks for your valuable reply that makes we see the
issue more clearly.

I've do the test address your conjecture that add usleep(1) in mutex
acquisition path, the test result shows contention is reduced.

And i also do the test that does more work in mutex holding path, the
result shows optimization ratio is decreased.

Thanks,
Xiao
--
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: lock's trace events can improve mutex's performance in ..., Xiao Guangrong, (Thu Apr 8, 2:05 am)