Re: Tuning net.inet.tcp.sendbuf_max

2015-01-22 Thread K. Macy
TCP host cache? See netinet/tcp_hostcache.c for any fiddling that needs doing. Let me know if there are any values that should be exported as sysctls. -K SYSCTL_INT(_net_inet_tcp_hostcache, OID_AUTO, expire, CTLFLAG_VNET | CTLFLAG_RW, &VNET_NAME(tcp_hostcache.expire), 0, "Expire time of

Tuning net.inet.tcp.sendbuf_max

2015-01-21 Thread javocado
System: FreeBSD 8.3 amd64 I've been trying to tune my system to a long route (RTT 180ms) and I've made 2 modifications and seeing some results which I cannot explain or understand. 1. kern.ipc.maxsockbuf: 262144 -> 4194304 Speed improves from 85 Mbps -> 100 Mbps I can run the test: iperf -c tse