 |
Adjusting FreeBSD TCP Send and Receive Buffers
added 6.9.2005 -- no source information provided
|
To tweak your FreeBSD TCP performance (IP tuning), you can adjust the receive and send buffer sizes.
As root, execute the following, where 65536 can be another size you choose (such as 131072):
sysctl -w net.inet.tcp.sendspace=65536
sysctl -w net.inet.tcp.recvspace=65536
If you increase the value to 262144, you must increase kern.ipc.maxsockbuf to something larger than 262144.
For example:
sysctl -w kern.ipc.maxsockbuf=524288
Hope this helps...
|
|
|
 |