httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Greg Ames <grega...@raleigh.ibm.com>
Subject Re: cvs commit: apache-2.0/src/main http_core.c http_protocol.c
Date Fri, 29 Sep 2000 19:08:42 GMT
Tony Finch wrote:

> stoddard@locus.apache.org wrote:
> >
> >First cut at a filter to buffer/coalesce multiple small buckets into
> >a single large bucket.
>
> I'm sure this is the wrong approach to solving the problem. The whole
> point of buckets is to avoid copying, so whe should re-do the ap_rput
> stuff so that copying isn't needed in the first place and re-do
> mod_autoindex so that it uses buckets directly.

The purpose of copy avoidance is to save CPU cycles.  But if the data is
sufficiently small, it is cheaper to just copy it than to incur the
overhead of managing iovecs, bucket lists, etc.

Greg


Mime
View raw message