Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Moriyoshi Koizumi
Just a little addition: implicit_flush=on: php_body_write_wrapper() - php_ub_body_write_no_header() - php_apache_sapi_ub_write() - php_apache_sapi_flush() implicit_flush=off: php_body_write_wrapper() - php_ub_body_write_no_header() - php_apache_sapi_ub_write() As long as

Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Moriyoshi Koizumi
"Ilia A." <[EMAIL PROTECTED]> wrote: > On March 25, 2003 04:43 pm, [EMAIL PROTECTED] wrote: > > resend due to 30k issue. > > > > > Attached is the patch (ap2.txt) that prevents AP2 handler from constantly > > > flushing the data as soon as it is passed. As you can see in the > > > benchmarks this

Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Ilia A.
On March 25, 2003 04:43 pm, [EMAIL PROTECTED] wrote: > resend due to 30k issue. > > > Attached is the patch (ap2.txt) that prevents AP2 handler from constantly > > flushing the data as soon as it is passed. As you can see in the > > benchmarks this more the doubles the performance when many writes

RE: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Joseph Tate
ED] > Subject: Re: [PHP-DEV] Preliminary Apache 2 benchmarks > > > On March 25, 2003 04:43 pm, [EMAIL PROTECTED] wrote: > > resend due to 30k issue. > > > > > Attached is the patch (ap2.txt) that prevents AP2 handler > from constantly > > > flushing the d

Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread [EMAIL PROTECTED]
resend due to 30k issue. Attached is the patch (ap2.txt) that prevents AP2 handler from constantly flushing the data as soon as it is passed. As you can see in the benchmarks this more the doubles the performance when many writes occur. I am hoping Ian can explain the need for this flush, sinc

Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Ilia A.
On March 25, 2003 11:31 am, Ian Holsman wrote: > also.. while I've got your guys attention.. there are a lot of bugs > coming up about using a threaded version of apache2 hanging on startup > with cvs-head... I thought this was working ok on 4.3.1.. any idea on > what might have changed in TSRM ?

Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Ilia A.
After further reviews I determined that 1000 request is too small and is often affected by external factors far too much and tends to fluctuate wildly. Therefor I've made a new set of tests based on 5 run of 10,000 request each for every SAPI. The tests were ran at a 10 second interval with a 2

Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Ian Holsman
Hi Guys. just a couple of questions about the test. 1. was the code-base exactly the same except for the sapi handler (ie.. your not comparing 4.3.1 against cvs-head) I'm assuming this is true 2. how many machines were you using to run your test. if you were running the test from the same mach

Re: [PHP-DEV] Preliminary Apache 2 benchmarks

2003-03-25 Thread Rasmus Lerdorf
What are the numbers for Apache 1.3 for the same tests? On Tue, 25 Mar 2003, Ilia A. wrote: > Based on bug #22815, which talks about unsatisfactory performance of the > apache 2 sapi, I've decided to conduct several benchmarks to determine the > depth of the problem. > > Based on my tests (ran us