On 02/22/2017 12:00 AM, Stefan Eissing wrote:
Just so I do not misunderstand:
you increased BUCKET_BUFF_SIZE in APR from 8000 to 64K? That is what you are
testing?
Essentially, yes, *and* turn off mmap and sendfile. My hope is to
disable the mmap-optimization by default while still improving overall
performance for most users.
Technically, Yann's patch doesn't redefine APR_BUCKET_BUFF_SIZE, it just
defines a new buffer size for use with the file bucket. It's a little
less than 64K, I assume to make room for an allocation header:
#define FILE_BUCKET_BUFF_SIZE (64 * 1024 - 64)
--Jacob