Knowledge base - Posts tagged with: gigabit ethernet


Basic Linux Kernel Networking Tuning

Network Stack TCP tuning

These changes should go into /etc/sysctl.conf

The default maximum for buffers allocated to TCP are totally insane. While the most optimal numbers need to be calculated for specific environments the following settings are a good start:

net.core.rmem_max = 16777216
net.core.wmem_max = 16777216

Increase Linux auto-tuning TCP buffer limits:

net.ipv4.tcp_rmem = 4096 87380 16777216
net.ipv4.tcp_wmem = 4096 65536 16777216

Use robust congestion control:

net.ipv4.tcp_congestion_control=htcp

Don't cache ssthresh from previous connection - well, duh:

net.ipv4.tcp_no_metrics_save = 1
net.ipv4.tcp_moderate_rcvbuf = 1

Pretend we always have a gigabit ethernet, even if we only have fast ethernet:

net.core.netdev_max_backlog = 2500

Interface Transmit Queue Size

The default setting is idiotic. Change it to something sane:

Offer Spotlight

Colocation
Rapidcolo - Quarter Rack + 30M
Colocation service in 401 N. Broad St., Philadelphia

Space: 1/4 Standard 19" rack/cabinet
Power: 10A @ 110V
Network ports: 1x 10/100/1000 port
Bandwidth: 30 Mbit/sec, flat rate
Routing: Static or BGP-4

Other configurations available
$499.99
/ 30 days
Setup: $399.99