[PHP-DEV] PHP 6 Bug Summary Report

2008-08-18 Thread internals
PHP 6 Bug Database summary - http://bugs.php.net/ Num Status Summary (66 total -- which includes 28 feature requests) ===[*General Issues]== 26771 Suspended register_tick_funtions crash under threaded webservers

[PHP-DEV] CVS Account Request: pinkcrow

2008-08-18 Thread Valeriu Buzila
Improvement of performance -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] CVS Account Request: pinkcrow

2008-08-18 Thread Antony Dovgal
On 18.08.2008 15:06, Valeriu Buzila wrote: Improvement of performance You don't need a CVS account to start preparing patches and working with the community. -- Wbr, Antony Dovgal -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-18 Thread Dmitry Stogov
Hi Arnaud, The patch looks very interesting. I think it may be committed to the HEAD in the nearest future. I don't have time to look into all details in the moment. Could you explain why --with-tsrm-full-__thread-tls doesn't work with dlopen() however --with-tsrm-__thread-tls does? Did you

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-18 Thread Stanislav Malyshev
Hi! The following patch caches each global address in a native TLS variable so that accessing a global is as simple as global_name-member. This removes the requirement of passing the tls pointer across function calls, so that the two major overheads of ZTS builds are avoided. I think it

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-18 Thread Arnaud Le Blanc
Hi, On Monday 18 August 2008 19:46:46 Dmitry Stogov wrote: Hi Arnaud, The patch looks very interesting. I think it may be committed to the HEAD in the nearest future. I don't have time to look into all details in the moment. Could you explain why --with-tsrm-full-__thread-tls doesn't

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-18 Thread Arnaud Le Blanc
Hi, On Monday 18 August 2008 22:26:20 Stanislav Malyshev wrote: Hi! The following patch caches each global address in a native TLS variable so that accessing a global is as simple as global_name-member. This removes the requirement of passing the tls pointer across function calls, so

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-18 Thread Stanislav Malyshev
Hi! I'm agree with you, but actually TSRM does more that just allocating and storing globals. For instance it keeps track of constructors and destructors so that it can call them automatically when a new thread starts or stops. It also allows to retrieve the globals of an other thread, etc.

RE: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-18 Thread Andi Gutmans
Hi Arnaud, I remember that at the time we looked at thread local storage and there were some real issues with it. I can't remember what as it was about 7+ years ago. I will ask Zeev if he remembers and if not search my archives (don't have years prior to 2007 indexed :'( ). Andi

Re: [PHP-DEV] [PATCH] ZTS as fast as non-ZTS

2008-08-18 Thread Arnaud Le Blanc
Hi, Yes, I have looked for the issue with --with-tsrm-full-__thread-tls and there are effectively some issues. When building PIC code, the used TLS model is a static model which does not allow modules to be loaded at run-time. glibc's dlopen() sometimes allow such code to be loaded at runtime