Do you NEED to run IIS? Why don't you try Apache? It's free, and it runs on
WinNT too...

HTH,
  Madruga

-----Original Message-----
From: Eric L.. Edberg [mailto:[EMAIL PROTECTED]]
Sent: sexta-feira, 23 de Março de 2001 14:06
To: [EMAIL PROTECTED]; Joel Roller
Subject: [PHP-WIN] Re: [PHP-WINDOWS] Windows is Slow...


Did anyone ever come up with a solution to this issue?

I have a similar problem I've just started researching on this
newsgroup.

My existing ASP scripts work fine and download quickly.

After executing some PHP scripts the download bit transfer rate
drops down to a slow crawl.  It appears to recover and begin to
download quickly again after some timeout period (5 minutes or so?)

The system repeats this scenario periodically.

I have spent numerous hour looking at performance (CPU, MEMORY, etc)
and discovered no contention.

The problem did not really appear in php3.

There appears to be a resource contention problem or sharing issue
somewhere.

I am using Access with IIS & PHP4.04pl1 on an NT IIS SP6a.

This issue has been driving me crazy....

Eric Edberg
Network Engineering Manager
Lucent Technologies
630-713-5231
[EMAIL PROTECTED]

Joel Roller wrote:

> The parser seems incredibly slow on my Windows NT/IIS4 machine.
>
> I have been running simple tests with apachebench, to try to get a good
> view of the problem. Here are some numbers:
>
> 100k html, no php: 18 seconds
> 50k html, no php: 9 seconds
> 25k html, no php: 4.8 seconds
> 100k php comment: 5 seconds
> 50k php comment: 2.8 seconds
> 25k php comment: 1.7 seconds
>
> html above meaning that the .php file didn't actually include any <?php
> ?>
> tags. It seems the php engine running through html is actually slower
> than
> compiling php code.
>
> As for network speeds, the transfer rate I get for the straight html
> .php
> files is 6kB/sec, while ftp to the server gets 900kB/sec.
>
> Now, what could I be doing wrong here? The same 100k file with the CGI
> php3 takes 0.3 seconds to load.  Eh?   php 3 I said!   Does it make
> sense that
> php3 is 10-20 times FASTER than php4?
>
> The CGI version of php4 is not much slower than the ISAPI module
> (I'm sure its easy to loose the difference
> when it takes 10 seconds to load a page). I wast starting to believe
> that all the new optimizations were slowing down the bulk moving of html
>
> across the wire, so I tried the same tests on linux/apache/mod_php4,
> and couldn't get the page to load any slower than 0.02 seconds.
> Unfortunately, I can't run this stuff on linux at the moment, as it
> depends on a couple dlls that are currently only available with NT.
>
> I've tried other machines with the same results.  The 'optimized' php
> file is
> just as slow.
>
>  Can anyone reproduce my  results?   Is not sending 50k
> of html through the server a common thing?
> I can't believe others are not complaining about this.
>
> -joel
>
> --
> PHP Windows Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]


--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to