On Friday, October 18, 2013 16:53 CEST, Frederic URBAN <frederic.ur...@ircad.fr> wrote: > Hello guys, > > Since 4.9, there is a auto-scaling tcp buffer size, good functionnality > but i've a question. I'm using a pair of OpenBSD servers as squid > proxies. Our internet bandwidth is 1Gb/s so we are able to download @ 90 > Mbytes /s if needed. > > When I was using OpenBSD 4.8, i was tuning kernel parameters > (net.inet.tcp.recv/sendbuffer) to allow faster downloads through the > proxy but with 5.1 and now 5.3 i'm not able to download faster than 3.5 > Mbytes/s, any idea how i could achieve that with 5.3/5.4 ?
you may fiddle around with SB_MAX values on both ends in /cvs/src/sys/sys/socketvar.h and recompile kernel, or you want to try the patch I sent 25.12.2011 to tech@ with subject: Re: raise max value for tcp autosizing buffer this adds a sysctl to allow you to do that. Note: use at your own risk Sebastian > > Fred !