httpd-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Yann Ylavic <ylavic....@gmail.com>
Subject Re: httpd 2.4.25, mpm_event, ssl: segfaults
Date Thu, 16 Feb 2017 11:22:41 GMT
On Thu, Feb 16, 2017 at 11:48 AM, Niklas Edmundsson <nikke@acc.umu.se> wrote:
> On Thu, 16 Feb 2017, Yann Ylavic wrote:
>
>> Here are some SSL/core_write outputs (sizes) for me, with 2.4.x.
>> This is with a GET for a 2MB file, on localhost...
>>
>> Please note that "EnableMMap on" avoids EnableSendfile (i.e.
>> "EnableMMap on" => "EnableSendfile off"), which is relevant only in
>> the http (non-ssl) case anyway.
>>
>> Outputs (and the patch to produce them) attached.
>>
>> TL;DR:
>> - http  +  EnableMMap                    => single write
>> - http  + !EnableMMap +  EnableSendfile  => single write
>> - http  + !EnableMMap + !EnableSendfile  => 125KB writes
>> - https +  EnableMMap                    => 16KB writes
>> - https + !EnableMMap                    => 8KB writes
>
>
> If you try larger filesizes you should start seeing things being broken into
> chunks even for mmap/sendfile. For example we have
> #define AP_MAX_SENDFILE 16777216  /* 2^24 */
> which is unneccessarily low IMHO.

Here I am, localhost still, 21GB file (client wget -qO- [url] &>/dev/null).
Output attached.

Mime
View raw message