Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:39058 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 14829 invoked from network); 17 Jul 2008 15:48:21 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 17 Jul 2008 15:48:21 -0000 Authentication-Results: pb1.pair.com header.from=andi@zend.com; sender-id=pass Authentication-Results: pb1.pair.com smtp.mail=andi@zend.com; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain zend.com designates 212.25.124.163 as permitted sender) X-PHP-List-Original-Sender: andi@zend.com X-Host-Fingerprint: 212.25.124.163 il-gw1.zend.com Windows 2000 SP4, XP SP1 Received: from [212.25.124.163] ([212.25.124.163:16530] helo=il-gw1.zend.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id CE/18-08057-3C96F784 for ; Thu, 17 Jul 2008 11:48:20 -0400 Received: from us-ex1.zend.com ([192.168.16.5]) by il-gw1.zend.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 17 Jul 2008 18:48:47 +0300 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable X-MimeOLE: Produced By Microsoft Exchange V6.5 Date: Thu, 17 Jul 2008 08:48:40 -0700 Message-ID: <698DE66518E7CA45812BD18E807866CE01CA23DE@us-ex1.zend.net> In-Reply-To: <487F6853.2080003@zend.com> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: [PHP-DEV] PHP vs PHP NTS benackmark (win32) Thread-Index: AcjoI8kF/9I+qJttTTuzQ7VcR3IuBgAAJ+wQ References: <3B058FC38F54184DB97A62574F17828302E47F8F@magdeburg2.nasa30.com> <487F1E1C.8000002@iamjochem.com> <487F6853.2080003@zend.com> To: "Stas Malyshev" , "Jochem Maas" Cc: X-OriginalArrivalTime: 17 Jul 2008 15:48:47.0623 (UTC) FILETIME=[99C32970:01C8E824] Subject: RE: [PHP-DEV] PHP vs PHP NTS benackmark (win32) From: andi@zend.com ("Andi Gutmans") There are some things I mention in this blog entry re: why I think multi-process architecture is not a bad thing even with where CPUs are going: http://tinyurl.com/3eyfth This was obviously a heated discussion and I'd appreciate if you have flames/comments to send them to me directly and/or on the blog and not to this list. Just sending it though as it answers some of these concerns. Andi > -----Original Message----- > From: Stanislav Malyshev [mailto:stas@zend.com] > Sent: Thursday, July 17, 2008 8:42 AM > To: Jochem Maas > Cc: 'internals@lists.php.net' > Subject: Re: [PHP-DEV] PHP vs PHP NTS benackmark (win32) >=20 > Hi! >=20 > > a, what are the ramifications of having to run php without threading > > when we live in a world that's increasingly moving towards > > multi-core/multi- CPU systems? >=20 > I'd say next to none, since multi-CPU systems are perfectly capable of > running multiple processes and PHP lives in the context of the web > server where multiple processes are just fine. >=20 > > b, Is php not missing out here big time? >=20 > Not really, even though some cool stuff may be done, but that's > probably > outside standard threading model. >=20 > > d, Will threads ever become recommended in/for php? >=20 > Unless some serious change happens, I don't see it likely. "Shared > nothing" works not too bad. >=20 > > e, If threads become the norm, will php code have to be written > > differently to account for threads? >=20 > too hypothetical for me :) >=20 > > f, are there things I can/should be doing to my [production] > > systems/software-stacks to leverage extra performance for my php > > code from CPUs with multiple cores (and/or machines with multiple > > CPUs)? >=20 > Have Apache with bigger MaxClients? ;) > -- > Stanislav Malyshev, Zend Software Architect > stas@zend.com http://www.zend.com/ > (408)253-8829 MSN: stas@zend.com >=20 > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php