This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: Performance of global access versus thread local
- From: Florian Weimer <fweimer at redhat dot com>
- To: Will Newton <will dot newton at linaro dot org>, Roland McGrath <roland at hack dot frob dot com>
- Cc: libc-alpha <libc-alpha at sourceware dot org>
- Date: Fri, 18 Oct 2013 14:19:39 +0200
- Subject: Re: Performance of global access versus thread local
- Authentication-results: sourceware.org; auth=none
- References: <CANu=DmgX9dFaMyWr6g6Mh5C4OMn3C_T8gpb-FdNTJcPLQc8hAw at mail dot gmail dot com> <20130925213802 dot 380F92C07C at topped-with-meat dot com> <CANu=Dmh3jOB2x74NNCK2z4VdSQ_29dNmBju9O3rx7DFj0OkTtg at mail dot gmail dot com>
On 09/26/2013 09:38 AM, Will Newton wrote:
The numbers I get now are more as expected, although I am still not
sure why the x86_64 TLS version is faster:
It's not faster for me:
TLS ticks per 1000 loops: 0.0000019132
Global ticks per 1000 loops: 0.0000017771
This is an "Intel(R) Core(TM) i7-2620M CPU @ 2.70GHz" running in 64 bit
mode.
I wonder if this tells us anything for the stack protector.
--
Florian Weimer / Red Hat Product Security Team