[PATCH v2] Make bindresvport() function to multithread-safe
Peng Haitao
penght@cn.fujitsu.com
Tue Oct 16 05:32:00 GMT 2012
On 09/28/2012 10:23 PM, Carlos O'Donell wrote:
>> Performance counter stats for './bindresvport_mul_test' (100 runs):
>>
>> 116,481,478 instructions # 0.00 insns per cycle ( +- 0.25% )
>>
>> 0.023839225 seconds time elapsed ( +- 2.04% )
>>
>> Performance counter stats for './bindresvport_mul_test' (100 runs):
>>
>> 124,069,053 instructions # 0.00 insns per cycle ( +- 0.32% )
>>
>> 0.021486935 seconds time elapsed ( +- 0.84% )
>>
>
> How do you justify the performance gain?
>
After test many times, the performance goes a little down.
Please refer to URL:
http://sourceware.org/ml/libc-alpha/2012-10/msg00416.html
Thanks.
--
Best Regards,
Peng
More information about the Libc-alpha
mailing list