[RFC] Native TLS for globals in ZTS
| From: | Arnaud Le Blanc | Date: | Sun, 24 Aug 2008 16:37:09 +0000 |
| Subject: | [RFC] Native TLS for globals in ZTS | ||
| Groups: | php.internals | ||
| Request: | Send a blank email to internals+get-40075@lists.php.net to get a copy of this message | ||
Hi,
I have written a RFC about my patch at http://wiki.php.net/rfc/tls
The goal of this patch is to reduce the performance overhead of ZTS builds.
Since the initial patch I made more research on various implementations of
TLS: Linux, FreeBSD, Solaris, Windows. Based on what I found I wrote a new
patch to avoid the problems of the initial one and the results on bench.php
are as follows:
non-ZTS
3.7s
ZTS unpatched
5.2s
ZTS-patched, native TLS disabled
5.0s
ZTS-patched, native TLS enabled
4.2s
Regards,
Arnaud