Re: [PHP] Re: Linux vs. Windows

2003-06-08 Thread AzFLSite
Ok the results are in heh :) With W2k the times were
faster than on .NET but varied a lot. Ranging as low
as .9 to as high as 2 full seconds. Ouch! So I got
Mandrake 9 back up and with php 4.2.3 and mysql 4 I am
back to the faster times. Heck even getting .007 on a
regular bases. I still need to install Zend or ZPC.
Anyone have any input on which is better to install?
Zend or APC that is.

Thanks
Silly


--- DvDmanDT [EMAIL PROTECTED] wrote:
 Thanks, this sorta draws my intrest now... Also, I'm
 a bit outdated on the
 microsoft front... Has windows gone opensource?
 
 
 Azflsite [EMAIL PROTECTED] skrev i meddelandet

news:[EMAIL PROTECTED]
  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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] skrev i
 meddelandet
  
 

news:[EMAIL PROTECTED]
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
 
 
 
 -- 
 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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



[PHP] Re: Linux vs. Windows

2003-06-06 Thread DvDmanDT
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 [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
 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



Re: [PHP] Re: Linux vs. Windows

2003-06-06 Thread AzFLSite
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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] skrev i meddelandet

news:[EMAIL PROTECTED]
  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

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Re: [PHP] Re: Linux vs. Windows

2003-06-06 Thread DvDmanDT
Thanks, this sorta draws my intrest now... Also, I'm a bit outdated on the
microsoft front... Has windows gone opensource?


Azflsite [EMAIL PROTECTED] skrev i meddelandet
news:[EMAIL PROTECTED]
 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 [EMAIL PROTECTED] 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 [EMAIL PROTECTED] skrev i meddelandet
 
 news:[EMAIL PROTECTED]
   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



-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php