Roland's homepage

My random knot in the Web

Enlarging networking buffers

In the hope of increasing networking performance, I’ve set the following sysctls in /etc/sysctl.conf;

# Increase send/receive buffer maximums from 256KB to 16MB.
# FreeBSD 7.x and later will auto-tune the size, but only up to the max.

# Double send/receive TCP datagram memory allocation.  This defines the
# amount of memory taken up by default *per socket*.

# Enlarge buffers for BPF device.
sysctl net.bpf.bufsize=65536
sysctl net.bpf.maxbufsize=524288

←  Defining command completions for tcsh Updating to FreeBSD 8.1-RELEASE  →