|
|
TCP/IP Tuning
|
- ( Bandwidth × DelayProduct ) == ( BDP ) = Bandwidth * RTTLatency
- aka "optimum ( send and receive TCP/IP ) buffer size"
- aka "TCP window size"
- aka maximum number of packets in transit ( in flight ) between transmitter and receiver
- RTTLatency ( round trip latency ) is the number you get from ping
- To tune your gigE ( tcp/ip ) network ( of everything connected on the network )
( aka: parameters affecting network performance )
- use a wan-simulator to test some of these conditions
- adjust your tcp transmit buffer size
- adjust your tcp receive buffer size
- adjust your kernel's ethernet queue size
- adjust your MTU ( 1500 or 9000 or ??? )
- adjust your bandwidth ( traffic shaping ? )
- adjust your MSS ( maximum segment size )
- change the operating system and/or device drivers if needed
- if possible, minimize/adjust your (ping) round trip latency
- if possible, minimize/adjust your collisions
- if possible, minimize/adjust your packet jitter
- if possible, minimize/adjust your packet loss
- if possible, minimize/adjust your packet corruptions
- Your network performance will be highly dependent upon
- your method of injecting test conditions
- your method of measuring and monitoring the "effects"
- your servers, clients, gateways, firewalls and network topology
( ethernet cables, switches/hubs, nic cards, ethernet drivers, linux vs freebsd vs microsoft vs .. )
- your ability to tune the network for performance
( speed vs thruput vs reliability vs costs vs time vs ?? )
|
| Tuning
|
|
|
|