Network Tuning
Packet loss between a data transfer client and server is one of the leading causes of poor transfer performance. When TCP sees loss, it cuts its sending rate and then ramps back up, and the higher the round-trip time (RTT, the time for a packet to go out and back), the longer that recovery takes. That's why a network can look fine to nearby sites but perform terribly across the country: low latency hides problems like undersized switch buffers, marginal optics, or dirty fiber. The causes range from failing hardware to misconfigured network equipment, and good network design and configuration can eliminate most of them.
One caution: some advice here, such as deep output queues and large buffers, applies to fast networks (10 Gbps and up). On slower links, extra buffering can cause "buffer bloat" (excess latency from oversized queues), so match the advice to your network.
Where to start:
- TCP Issues Explained: Start here if your transfers are fast to nearby sites but slow to distant ones. It explains how packet loss, latency, and buffer/window size interact, and why bursts from large TCP windows can overflow small buffers in routers, switches, and firewalls.
- Router/Switch Buffer Size Issues: Read this if you suspect loss is happening inside the network, especially where a fast link feeds a slower one, such as a 100G uplink feeding a 10G host. It explains why high-speed science flows need deeper output queues than typical vendor defaults, with a rule of thumb of about 50 ms of line-rate buffering (roughly 60 MB for a 10G interface). It's written for network engineers.
- Router Tuning: This is a checklist for choosing and configuring network devices. It covers Ethernet flow control, how much buffering different device types (access, core, data center, and HPC) need, and how to verify that a device can forward at line rate. It also points to vendor-specific hints for Cisco, Juniper, and Brocade.
- MTU Issues: Look here if you want a big throughput gain or are chasing mysterious failures. Jumbo frames (Ethernet frames larger than the standard 1500 bytes) can improve throughput by 2x or more and speed up recovery from loss, but a mismatched MTU setting or blocked ICMP can silently break transfers. It shows how to verify your path MTU and suggests putting high-speed hosts on their own jumbo-frame subnet.
- Buffer Bloat: This short page explains why buffer bloat is mainly a concern on networks at 1 Gbps or slower, and why much of the tuning advice on this site could make it worse on a slower network.
Science DMZ: Network Components
When building a Science DMZ, it is important to use networking equipment (routers and switches) that is capable of supporting the level of performance needed for high-speed data transfers. It is vitally important that the equipment which makes up the Science DMZ does not cause packet loss for traffic permitted by policy. The following are important considerations when choosing a router or switch… Read More
TCP Performance Explained
My performance is fine to nearby sites, but terrible across the country. Why? Read More
Router/Switch Buffer Size Issues
How much buffer space do you need in your switches/routers? Read More

