Re: Win32 php4ts.dll 875k Larger in 5.1?
| From: | William A. Rowe, Jr. | Date: | Tue, 28 Jun 2005 16:55:26 +0000 |
| Subject: | Re: Win32 php4ts.dll 875k Larger in 5.1? | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-16966@lists.php.net to get a copy of this message | ||
At 01:26 AM 6/28/2005, Andrey Hristov wrote:
>Should it be named php4ts?
ewww - certainly not. Win32 has no problem with loading two modules,
e.g. php4ts and php5ts, mod_php4 and mod_php5 all in the same process.
But not if the dll names collide.
At 09:56 AM 6/28/2005, Wez Furlong wrote:
>If there are overlaps between the compiled bases, then the loader can
>relocate DLLs until it figures out the best way to fit them all into
>the address space. This step becomes more expensive and more likely
>to occur as the quantity of DLLs used by a process increases.
Yup. The most effective solution is to use the rebase command
to generate a base address list, and in the linker command, use
the construct /base:"baseref.lst",modname which will drop everything
in expected locations. All flavors of apr and apache use this.
Almost 1mb sure sounds like a candidate for unbundling from the core.
Bill