Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55884 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 33660 invoked from network); 21 Oct 2011 17:56:24 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2011 17:56:24 -0000 Authentication-Results: pb1.pair.com header.from=lester@lsces.co.uk; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=lester@lsces.co.uk; spf=permerror; sender-id=unknown Received-SPF: error (pb1.pair.com: domain lsces.co.uk from 213.123.20.127 cause and error) X-PHP-List-Original-Sender: lester@lsces.co.uk X-Host-Fingerprint: 213.123.20.127 c2bthomr09.btconnect.com Received: from [213.123.20.127] ([213.123.20.127:5716] helo=mail.btconnect.com) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 24/F1-22928-242B1AE4 for ; Fri, 21 Oct 2011 13:56:18 -0400 Received: from host81-138-11-136.in-addr.btopenworld.com (EHLO _10.0.0.4_) ([81.138.11.136]) by c2bthomr09.btconnect.com with ESMTP id EXO56436; Fri, 21 Oct 2011 18:56:14 +0100 (BST) Message-ID: <4EA1B23D.90904@lsces.co.uk> Date: Fri, 21 Oct 2011 18:56:13 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:6.0.2) Gecko/20110907 Firefox/6.0.2 SeaMonkey/2.3.3 MIME-Version: 1.0 To: PHP internals References: <4E9EA80F.8030607@lsces.co.uk> <4E9FD2C2.7070707@lsces.co.uk> <4EA150BC.7030107@lsces.co.uk> <4EA1A77E.9040009@sugarcrm.com> In-Reply-To: <4EA1A77E.9040009@sugarcrm.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Mirapoint-IP-Reputation: reputation=Fair-1, source=Queried, refid=tid=0001.0A0B0301.4EA1B23E.000A, actions=tag X-Junkmail-Premium-Raw: score=7/50, refid=2.7.2:2011.10.21.163914:17:7.586, ip=81.138.11.136, rules=__MOZILLA_MSGID, __HAS_MSGID, __SANE_MSGID, __USER_AGENT, __MIME_VERSION, __TO_MALFORMED_2, __BOUNCE_CHALLENGE_SUBJ, __BOUNCE_NDR_SUBJ_EXEMPT, __CT, __CT_TEXT_PLAIN, __CTE, __ANY_URI, __URI_NO_MAILTO, __CP_URI_IN_BODY, BODY_SIZE_1500_1599, BODYTEXTP_SIZE_3000_LESS, __MIME_TEXT_ONLY, RDNS_GENERIC_POOLED, BODY_SIZE_5000_LESS, RDNS_SUSP_GENERIC, RDNS_SUSP, BODY_SIZE_2000_LESS, BODY_SIZE_7000_LESS X-Junkmail-Status: score=10/50, host=c2bthomr09.btconnect.com X-Junkmail-Signature-Raw: score=unknown, refid=str=0001.0A0B0204.4EA1B23F.0099:SCFSTAT14830815,ss=1,fgs=0, ip=0.0.0.0, so=2010-07-22 22:03:31, dmn=2009-09-10 00:05:08, mode=multiengine X-Junkmail-IWF: false Subject: Re: [PHP-DEV] Benchmarking ... From: lester@lsces.co.uk (Lester Caine) Stas Malyshev wrote: >> So I suppose the question I have to ask is what the f**k am I doing wrong on the >> windows setup? I've always known that linux was faster, but 4 times faster on >> the same hardware? My main development machine is giving 27.750 seconds which is >> even nicer, > > CPU-bound ops should be roughly the same speed on Windows and Linux since the > code is basically the same. If they're not I guess the best way would be to > profile it. File ops on windows are significantly slower because Windows FS is > slower than Linux one. > The difference can also be in compiler options - whci optimizations are chosen, > etc.. The x86 build of PHP is direct off the windows.php web site, and the Linux on is via SUSE package handler. When I get some time I will try a 'command line' run to avoid Apache and see if that is getting in the way. The slower spec Vista box is running a bit faster than on Windows 7, but I need to update to 5.3.8 on that ... again I'll do an x86 install before the x64 and benchmark both if only for my own information. That machine needs updating to W7, but I still have a remote site that 'needs' vista to access it's VPN software :( -- Lester Caine - G8HFL ----------------------------- Contact - http://lsces.co.uk/wiki/?page=contact L.S.Caine Electronic Services - http://lsces.co.uk EnquirySolve - http://enquirysolve.com/ Model Engineers Digital Workshop - http://medw.co.uk// Firebird - http://www.firebirdsql.org/index.php