httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Stefan Fritsch ...@sfritsch.de>
Subject Re: mod_cache: store_body() bites off more than it can chew
Date Mon, 06 Sep 2010 19:10:10 GMT
On Monday 06 September 2010, Paul Fee wrote:
> Currently headers and data are in separate files.  If they were in
> a single  file, the operating system is given more indication that
> these two items are tightly coupled.  For example, when the
> headers are read in, the O/S can readahead and buffer part of the
> body.

I think it would be better to use posix_fadvise() to give the OS hints 
to improve read-ahead. But this probably needs some profiling, it 
could have a negative effect on memory constrained systems.

Mime
View raw message