WAN-Sim.net

Network Emulators

Network Simulators

TCP Stack

TCP/IP Tuning

Network Testing

Network Monitoring

Network Sniffing



1U Rackmount Chassis

Custom-Chassis.com

Linux-1U.net

1U-ITX.net


ITX-Blades.net


Small PC cases

Mini-Box.net

Wrap-Box.net

Wrap-OS.net


Wan-Sim.net



Linux-Consulting.com

Linux-CAE.net

Linux-Sec.net

Linux-Boot.net

Linux-Backup.net

Linux-Wireless.org

Linux-Office.net

Linux-Video.net

Linux-VOIP.net

Linux-Jobs.net

Linux-Diff.net

1U-Raid5.net

Linux-Howto.net


Spam Reporting



Free Linux CDs

ISO9660.org

Distro-CD.org

Patch-CD.org




Contact



Linux is a registered trademark of
Linus Torvalds

More Linux Legalese


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


Copyright © 2000
Linux-Consulting
All Rights Reserved.
Updated: Thu Mar 8 23:08:43 2007 PDT