Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:9695 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 99428 invoked by uid 1010); 6 May 2004 22:15:00 -0000 Delivered-To: ezmlm-scan-internals@lists.php.net Delivered-To: ezmlm-internals@lists.php.net Received: (qmail 98860 invoked from network); 6 May 2004 22:14:57 -0000 Received: from unknown (HELO mail.mbobo.org) (213.133.123.182) by pb1.pair.com with SMTP; 6 May 2004 22:14:57 -0000 Received: from localhost (localhost [127.0.0.1]) by mail.mbobo.org (Postfix) with ESMTP id F1EBD5770A7; Fri, 7 May 2004 00:14:55 +0200 (CEST) Received: from mail.mbobo.org ([127.0.0.1]) by localhost (debian [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 05283-03; Fri, 7 May 2004 00:14:55 +0200 (CEST) Received: from [192.168.254.101] (dsl-082-082-033-214.arcor-ip.net [82.82.33.214]) by mail.mbobo.org (Postfix) with ESMTP id C99C8576B48; Fri, 7 May 2004 00:14:54 +0200 (CEST) In-Reply-To: <30884B45CCC6714B800F6F294BEC0A9901D98716@MSGEXS11.tf1.groupetf1.fr> References: <30884B45CCC6714B800F6F294BEC0A9901D98716@MSGEXS11.tf1.groupetf1.fr> Mime-Version: 1.0 (Apple Message framework v613) Content-Type: text/plain; charset=ISO-8859-1; format=flowed Message-ID: Content-Transfer-Encoding: quoted-printable Cc: Date: Fri, 7 May 2004 00:14:54 +0200 To: "BUSTARRET, Jean-Francois" X-Mailer: Apple Mail (2.613) X-Virus-Scanned: by amavisd-new-20030616-p5 (Debian) at mbobo.org Subject: Re: [PHP-DEV] [PATCH] suppressing realpath() with APC + tiny patches From: sterling@php.net (Sterling Hughes) the first thing you would optimize is your code location - not your php=20= installation... On May 6, 2004, at 6:46 PM, BUSTARRET, Jean-Francois wrote: > > > I just did a quick stress test of the patch. > > My config is : Xeon 2GHz/512MB/IDE drive, apache 1/PHP 4.2.3/APC = 2.0.3. > I did change the patch in order to apply it on PHP 4.2.3. > > The test template is : > for ($i =3D 1; $i <=3D 20; $i++) { > include_once("include/include$i.php"); > echo "-"; > } > ?> > It is located on a NFS server and is 5 directories deep (2 local/3=20 > NFS). > > The include/include$1.php template only does an echo. > > Here are the results : > > plain PHP : 296 req/s (TTFB : 260ms) > + APC : 355 req/s (TTFB : 33ms) > + delayed write : 766 req/s (TTFB : 21ms) > > Looks good ! > > I can forward the 4.2.3 patches if someone's interested. > > Jean-Fran=E7ois Bustarret > eTF1 - Architecte > > ------------------------------------- > Le present message (y compris tous les elements attaches) est=20 > confidentiel et est destine a ses seuls destinataires. Si vous > l'avez recu par erreur, merci de l'indiquer a son expediteur par=20 > retour et de proceder a sa destruction dans vos systemes. > Toute utilisation ou diffusion non autorisee de son contenu, en=20 > totalite ou en partie, est strictement interdite. Les idees et > opinions presentees dans ce message sont celles de son auteur, et ne=20= > representent pas necessairement celles de TF1 (et/ou des > entites membres du Groupe TF1). > > This message (including any attachments) is confidential and may be=20 > privileged. If you have received it by mistake please notify > the sender by return email and delete this message from your system.=20= > Any unauthorised use or dissemination of this message in > whole or in part is strictly prohibited. Any views or opinions=20 > presented are solely those of its author and do not necessarily > represent those of TF1 (and/or its group companies). > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >