#22758 [Opn->Fbk]: performance problem with apache2 handler
| From: | iliaa@php.net | Date: | Tue, 25 Mar 2003 14:35:24 +0000 |
| Subject: | #22758 [Opn->Fbk]: performance problem with apache2 handler | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-36392@lists.php.net to get a copy of this message | ||
ID: 22758
Updated by: iliaa@php.net
Reported By: bibifoc23 at yahoo dot fr
-Status: Open
+Status: Feedback
Bug Type: Apache2 related
Operating System: Linux 2.4
PHP Version: 4.3.2RC1
New Comment:
Which ap2 model are you using, worker or prefork?
Previous Comments:
------------------------------------------------------------------------
[2003-03-21 03:13:07] bibifoc23 at yahoo dot fr
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.
------------------------------------------------------------------------
[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