Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:32939 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 45880 invoked by uid 1010); 23 Oct 2007 21:37:10 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 45865 invoked from network); 23 Oct 2007 21:37:10 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 23 Oct 2007 21:37:10 -0000 Authentication-Results: pb1.pair.com smtp.mail=rasmus@lerdorf.com; spf=permerror; sender-id=unknown Authentication-Results: pb1.pair.com header.from=rasmus@lerdorf.com; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lerdorf.com from 204.11.219.139 cause and error) X-PHP-List-Original-Sender: rasmus@lerdorf.com X-Host-Fingerprint: 204.11.219.139 mail.lerdorf.com Received: from [204.11.219.139] ([204.11.219.139:39313] helo=mail.lerdorf.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id D7/AE-03376-4896E174 for ; Tue, 23 Oct 2007 17:37:10 -0400 Received: from [192.168.2.10] (CPE00131063dcac-CM0011aec551ea.cpe.net.cable.rogers.com [74.113.168.92]) (authenticated bits=0) by mail.lerdorf.com (8.14.1/8.14.1/Debian-11) with ESMTP id l9NLb4PH024597 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT); Tue, 23 Oct 2007 14:37:05 -0700 Message-ID: <471E6985.4090601@lerdorf.com> Date: Tue, 23 Oct 2007 17:37:09 -0400 User-Agent: Thunderbird 2.0.0.6 (Macintosh/20070728) MIME-Version: 1.0 To: "Markus L." CC: internals@lists.php.net References: <41.5D.03376.B6F5E174@pb1.pair.com> In-Reply-To: <41.5D.03376.B6F5E174@pb1.pair.com> X-Enigmail-Version: 0.95.3 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit X-Virus-Scanned: ClamAV 0.91.2/4575/Tue Oct 23 12:23:08 2007 on colo.lerdorf.com X-Virus-Status: Clean Subject: Re: [PHP-DEV] Better multicore cpu support in PHP 6 From: rasmus@lerdorf.com (Rasmus Lerdorf) Markus L. wrote: > What's the chance that there will be a better multicore cpu > support throught a better fork functionality in PHP 6? > Today pcntl_fork is available only on Unix/Linux cgi versions. This question makes very little sense to me. How is pcntl_fork related to multicore cpu usage? It's not like you only run 1 web server process, so presumably your operating system is already efficiently scheduling things across multiple cpus and multiple cores. Forking the web server process from PHP isn't the right answer to any problem I can think of. -Rasmus