On 2017-09-14, Chris Cappuccio <chris@nmedia.net> wrote:
> -w1M works for me
> -
> Andreas Kr??ger [ak@patientsky.com] wrote:
>> I do manage to read the manual, but let me clarify this. I am not
>> allowed to set a buffer larger than 256KB with iperf:
>>
>> $ uname -a
>> OpenBSD odn1-fw-odn1-01 6.0 GENERIC.MP#0 amd64
6.0 is limited to 256K, 6.1 and newer allow up to 2MB, and by default
it will auto tune.
As well as iperf -w, here's how to hardcode it on a few other programs:
httpd/relayd "socket buffer"
tcpbench -S
rsync --sockopts=SO_SNDBUF=xxx,SO_RCVBUF=yyy
You might be interested to watch "netstat -Bn -p tcp" if you're playing
with this..
No comments:
Post a Comment