httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bill Stoddard" <b...@wstoddard.com>
Subject Re: core_output_filter buffering for keepalives? Re: Apache 2.0 Numbers
Date Mon, 24 Jun 2002 05:59:58 GMT


> Bill Stoddard wrote:
> .....
>
> >So changing the AP_MIN_BYTES_TO_WRITE just moves the relative postion of the write()
and
> >the check pipeline read.
> >
>
> It has one other side-effect, though, and that's what's bothering me:
> In the case where core_output_filter() decides to buffer a response because
> it's smaller than 8KB, the end result is to turn:
>     sendfile
> into:
>     mmap
>     memcpy
>     munmap
>     ... buffer some more requests' output until we have 8KB ...
>     writev
>
> ...
>

Yack... just noticed this too. This renders the fd cache (in mod_mem_cache) virtually
useless.  Not sure why we cannot setaside a fd.

Bill


Mime
View raw message