Increase BUFSIZ to 8192

Slawa Olhovchenkov slw at zxy.spb.ru
Thu May 14 16:27:31 UTC 2015


On Thu, May 14, 2015 at 08:53:05AM -0600, Ian Lepore wrote:

> At least I'm inclined to ponder it.  Apparently nobody else is.  People
> running servers with more GB of ram than grains of sand on the beach
> won't care about things like 64k buffers used by /bin/sh to read a line
> of text, and all the world is big servers now, right?

I have setups with servering tens of gigabits pers second from one
server. Default send_lowat (SO_SNDLOWAT) is 2048. Settnig to 128K
increase load. Setting to 16k slightly reduce.
Not so simple.


More information about the freebsd-current mailing list