Brian Pane wrote: . > I can do some profiling--probably this weekend--if someone can describe > a good test case.
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. --Brian