Newsgroups: php.internals Path: news.php.net Xref: news.php.net php.internals:55887 Return-Path: Mailing-List: contact internals-help@lists.php.net; run by ezmlm Delivered-To: mailing list internals@lists.php.net Received: (qmail 47540 invoked from network); 21 Oct 2011 20:05:27 -0000 Received: from unknown (HELO lists.php.net) (127.0.0.1) by localhost with SMTP; 21 Oct 2011 20:05:27 -0000 Authentication-Results: pb1.pair.com header.from=rileyrg@googlemail.com; sender-id=unknown Authentication-Results: pb1.pair.com smtp.mail=php-php-dev@m.gmane.org; spf=pass; sender-id=pass Received-SPF: pass (pb1.pair.com: domain m.gmane.org designates 80.91.229.12 as permitted sender) X-PHP-List-Original-Sender: php-php-dev@m.gmane.org X-Host-Fingerprint: 80.91.229.12 lo.gmane.org Linux 2.6 Received: from [80.91.229.12] ([80.91.229.12:36148] helo=lo.gmane.org) by pb1.pair.com (ecelerity 2.1.1.9-wez r(12769M)) with ESMTP id 10/00-47446-480D1AE4 for ; Fri, 21 Oct 2011 16:05:26 -0400 Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1RHLJv-0005PG-BQ for internals@lists.php.net; Fri, 21 Oct 2011 22:03:59 +0200 Received: from 85.183.18.158 ([85.183.18.158]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Oct 2011 22:03:59 +0200 Received: from rileyrg by 85.183.18.158 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 21 Oct 2011 22:03:59 +0200 X-Injected-Via-Gmane: http://gmane.org/ Mail-Followup-To: internals@lists.php.net Reply-To: internals@lists.php.net To: internals@lists.php.net Date: Fri, 21 Oct 2011 22:03:48 +0200 Organization: aich tea tea pea dicky riley dot net Lines: 34 Message-ID: References: <4E9EA80F.8030607@lsces.co.uk> <4E9FD2C2.7070707@lsces.co.uk> <4EA150BC.7030107@lsces.co.uk> <4EA1A77E.9040009@sugarcrm.com> <4EA1B23D.90904@lsces.co.uk> Mime-Version: 1.0 Content-Type: text/plain X-Gmane-NNTP-Posting-Host: 85.183.18.158 Mail-Copies-To: never User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.90 (gnu/linux) Cancel-Lock: sha1:UrCAgQuHxHmIBdZidfHidPfRQuY= Subject: Re: [PHP-DEV] Benchmarking ... From: rileyrg@googlemail.com (Richard Riley) Stephen Zarkos writes: >> 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 :( >> > > Apache does tend to be slower on Windows. You have some figures to back that up? My experience is that on modern HW its about identical assuming there is spare memory in both instances and the HW is identical.