Re: Re: Linux vs. Windows
| From: | AzFLSite | Date: | Fri, 06 Jun 2003 20:14:20 +0000 |
| Subject: | Re: Re: Linux vs. Windows | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150543@lists.php.net to get a copy of this message | ||
Thanks everyone for your replies.
I did test on the same server. I had .NET installed
and tested. Then installed Linux on same box. The box
is a p4 1.7 gig with 512 ddr with a 30 gig 7200rpm hdd
Im going to drop to win2k and see the results. I will
post results here if anyone cares.
Silly
--- DvDmanDT <dvdmandt@telia.com> wrote:
> It's quite suprising how fast my PHP (and Perl) is
> under WinME/Apache
> 1.3.27/PHP 4.3.2... It's unstable as F though so not
> way to recommended...
>
> I was intrested in your server specs? How much RAM?
> And so on... And was the
> tests on the same server or did I missunderstand
> something?
> "Azflsite" <azflsite@yahoo.com> skrev i meddelandet
>
news:20030606143217.56994.qmail@web10108.mail.yahoo.com...
> > Thought I throw in my post from the forums into
> this
> > mailing list:
> >
> > Just wanted to give my results on this test I did.
> > First the story. I will be hosting sites on my
> server
> > and decided to go with .NET/Win2003, with IIS.
> Well
> > most sites are php based or perl with mysql
> backend.
> > After configuring everything I gave it a test from
> > another system externally. i did that and noticed
> it
> > was slow. Slower compared to the linux box I
> currently
> > have the site on for testing purposes on another
> > provider. Heck even while statements without
> hitting
> > the DB were giving delays that were over 10
> seconds!
> >
> > Wooa I couldnt believe it. So I decided to add a
> code
> > snippet to get the seconds of script execution. I
> did
> > this off a query with 12 results that echoed out
> into
> > html. Now with Linux I came up with numbers like:
> >
> > 0.0163360
> >
> >
> > The above number was pretty consistent. Now onto
> > Windows 2003 .NET. On the same page with the same
> > output:
> >
> > 2.6936080
> > 0.9500151
> > 4.9112860
> > 0.6226690
> > 0.6032619
> >
> > Wooa!! But this cant be true. I have had Win2k
> host
> > php sites before and it seemed faster then .NET.
> But
> > these are the results so far. So with this my
> thoughts
> > of cause are:
> >
> > a) Windows just plain sucks with open source
> > b) .NET doesnt seem to allow cgi, only ISAPI.
> Perhaps
> > ISAPI is slowing it down
> > c) In Linux Im using Apache, where in Windows Im
> using
> > IIS
> > d) The .NET OS is a beta and that could be the
> issue
> > e) My code just sucks. But why would it be faster
> on
> > Linux then?
> >
> > Any thoughts on the possibilities I have shown
> here?
> >
> > The Chaos
> >
> > __________________________________
> > Do you Yahoo!?
> > Yahoo! Calendar - Free online calendar with sync
> to Outlook(TM).
> > http://calendar.yahoo.com
>
>
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
>
__________________________________
Do you Yahoo!?
Yahoo! Calendar - Free online calendar with sync to Outlook(TM).
http://calendar.yahoo.com