This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v2] Make bindresvport() function to multithread-safe


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]