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: [PATCH] core_filter buffering
Date Thu, 28 Sep 2000 14:15:42 GMT
Tony Finch wrote:

> Tony Finch <dot@dotat.at> wrote:
> >Bill Stoddard <stoddard@raleigh.ibm.com> wrote:
> >>
> >>The patch also has an optimization to send the iovecs if the number
> >>of bytes represented by the iovecs exceeds some threshold value
> >>(8192 bytes).
>
> I was just thinking that 9000 bytes might be a better choice for the
> threshold value, since that is the size of a Gigabit Ethernet jumbo
> frame and 6 times the size of a regular frame... Anyone have any
> gigether to benchmark with?

I like your reasoning for going to at least 9000 bytes.  I'm guessing
that 8k was somewhat arbitrary or maybe based on some OS's default
socket buffer size.  But now the "LANscape" is likely to change as
people deploy GbE, so we should be ready.

Is there an existing #define constant that we can just bump up?

Greg


Mime
View raw message