On Mon, Jan 31, 2011 at 11:33 PM, Stas Malyshev <smalys...@sugarcrm.com> wrote:

>> But I strongly believe in a threaded base solution for windows. That's
>> the only way to get anywhere close to the performance we can see on
>> other platforms (read: posix).
>
> My experience is that performance differnces between Windows and Linux has
> very little to do with server model, but much more to do with OS APIs (esp.
> filesystem, but not only). Also, threading PHP is generally slower than
> non-threading, so I don't see how threaded-base solution helps you there.

Well, let say we don't have the same experiences. And the threaded
model in php is not that good anyway (TLS will help here). I did not
say a threaded model can be the perfect solution but it is the way to
go.

The filesystem issues are mostly due to what we do in TS mode, way too
much pointless operations, even if the real cache helps a little bit
here (take this comment with a bit of salt: as in delta with the cache
between TS and NTS).

However, thinking that you can get anything close to what we have on
unix using processes is a sweet dream, which will become a nightmare
once you realized that past the little usual tricks, nothing will help
you to go further (and we are there already). Any windows developers
know that windows is not designed to perform well using processes. No
real surprise either that almost all apps able to compare with their
unix equivalent uses threads (only or in critical parts).

Cheers,
--
Pierre

@pierrejoye | http://blog.thepimp.net | http://www.libgd.org

-- 
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to