#22758 [Fbk->Opn]: performance problem with apache2 handler
| From: | bibifoc23 at yahoo dot fr | Date: | Fri, 21 Mar 2003 09:13:08 +0000 |
| Subject: | #22758 [Fbk->Opn]: performance problem with apache2 handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36095@lists.php.net to get a copy of this message | ||
ID: 22758
User updated by: bibifoc23 at yahoo dot fr
Reported By: bibifoc23 at yahoo dot fr
-Status: Feedback
+Status: Open
Bug Type: Apache2 related
Operating System: Linux 2.4
PHP Version: 4.3.2RC1
New Comment:
I run test with 2 PC--> one linux 2.4 as server and w2k as client.
i use ab -n1000 -c5 http://server.toto.fr/test.php
result with handler:
60.02 req/s without failed request.
200 ko/s
cpu is 100% for the client
near 100% for the server
result with filter:
200 req/s without failed request
600 ko/s
cpu is 25% for the client
100 % for the server
the size of the html code is 3k.
Previous Comments:
------------------------------------------------------------------------
[2003-03-21 01:08:37] magnus@php.net
Set correct status.
------------------------------------------------------------------------
[2003-03-20 22:53:07] ianh@php.net
Hi.
can you give us some numbers?
also how are you running the test. you need to run on 2 seperate
machines.
Thanks
------------------------------------------------------------------------
[2003-03-18 05:13:16] bibifoc23 at yahoo dot fr
When i test the performance of the new apache2handler sapi, there is a
huge difference with apache2filter sapi.
<?php
phpinfo();
?>
or
<?php
for ($i=0; $<100;$i++)
echo $i;
?>
On Redhat 7.3 and apache 2.0.44, the apache2filter give a better result
than the apache2handler.
i compil php with the same module in both case.
Thanks
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=22758&edit=1