httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Aaron Bannert <>
Subject Re: PHP profiling results under 2.0.37 Re: Performance of Apache 2.0 Filter
Date Fri, 07 Jun 2002 16:12:58 GMT
On Fri, Jun 07, 2002 at 12:05:31AM -0700, Brian Pane wrote:
> Here's the first problem I found:
> PHP-generated pages appear to be doing writes in very small chunks
> (at least in php-4.2.1 running within httpd-2.0.37).
> I just profiled the delivery of a .php file consisting of
> 10KB of static text, and it took 25 writev calls of 400 bytes
> each.
> The function php_apache_sapi_ub_write() is inserting a flush bucket
> after each bucket of data that it adds to the output brigade.

Unfortunately, I think this is what the sapi was intending to happen
in the meat of the ub_write() function, since "ub" means "unbuffered".
How does it behave when that flush bucket is removed (effectively
allowing better downstream buffering in the output filters)?


View raw message