Home


Sometimes, we are feeling slow Internet connection, but don't know how we can measure the speed and what is right speed, download speed, TCP throughput, I can expect. Measuring and calculating TCP throughput is not that hard. See below famous TCP throughput formula.

RCV buffer size / RTT = Max TCP throughput = ? bps
** Buffer size is normally 65Kbps

ex) (64Kbyte x 8bit) / 0.17 = 3011764 bps = 3Mbps, (RTT=170ms)

To learn more about Internet Speed Issue, please check our article series within cisconet.com

 

RCV Buffer size / TCP receive window size

- RCV buffer size is denoted as TCP receive window size. Window systems have 64Kbyte of window size as default (Window NT and Millennium have 8Kbytes of window size).  The TCP/IP standard allows for a receive window up to 65,535 bytes in size, which is the maximum value that can be specified in the 16-bit TCP window size field. Why 65Kbytes? Well, more accurate expression will be  65,535 = (2^16)-1. To improve TCP throughput, speed, performance whatever you called, in high speed connection or high delay network, you can increase TCP window size(reference RFC 1323). However, if transport link is not stable, it might give you worse performance. Packet loss or bottleneck in the network is the most likely factors that are leading to the TCP throughput reductions.

Optimal TCP window size

 - Optimal RCV buffer size is considered to be 2 x BDP, where BDP is the Bandwidth*Delay Product

ex) RTT is 20 ms, and connection speed is 10 Mbps.
  2 x (10Mbps/8 * .020s) = 50Kbytes

Well, default window size 65kbytes is not adequate for today's network. In these days, most of network is 100Mbps or higher.

Round Trip Time(RTT)

 - If you are not using TCP window scaling option (RFC 1323), TCP window size will be used as 64Kbytes. If then, Round Trip Time(RTT) is the main factor to decide TCP throughput between locations. 

RTT 10 ms => TCP throughput = 52428000 bps = 52Mbps
RTT 20 ms => TCP throughput = 26214000 bps = 26Mbps
RTT 50 ms => TCP throughput = 10485600 bps = 10Mbps
RTT 100 ms => TCP throughput = 5242800 bps = 5.2Mbps
RTT 150 ms => TCP throughput = 3495200 bps = 4.3Mbps
RTT 200 ms => TCP throughput = 2621400 bps = 2.5Mbps
RTT 300 ms => TCP throughput = 1747600 bps = 1.7Mbps
RTT 500 ms => TCP throughput = 1048560 bps = 1Mbps

** Used maximum TCP window size  = 65Kbytes = 65535

You can see the deficiency with the greater RTT.

 

Last Updated (Monday, 04 January 2010 18:14)

 

Here is brief information about ip helper-address. If your DHCP server is located remotely, your local DHCP client might not get IP address due to broadcasting traffic is blocked by router.
By default, routers drop all broadcast packets sent through them. Because DHCP clients use BOOTP packets, which are broadcasted to all hosts (255.255.255.255), they will be dropped by router. The “ip helper-address” command enables the router to forward these BOOTP broadcast packets to a specific host, as specified by the address following the “ip helper-address” command. Note that this command must be placed on the router’s interface that is receiving the broadcast packets from the hosts, which is Ethernet(FastEthernet or GigabitEthernet Interface) of the router.

To see more detailed about IP helper-address with DHCP Server testing scenario on TCP/IP > DHCP on main menu option or click below article.

"How to use IP helper-address to connect remote DHCP server"

Last Updated (Thursday, 09 July 2009 00:10)

 

Welcome to Visit CiscoNet.com.

I hope everyone take a piece of tips, knowledge, information, expertise and whatever you need it for today.

Like our slogan, "Sharing Expertise", we want to share all the technical knowledge in Internet Technology fields. Our website domain is implicated a word 'Cisco' which is one of famous networking vendor. However, this website doesn't have any business relationship with the company at all. Also, no relationship with any other vendors mentioned on this website. All articles and information on this website are written by our volunteers with hand-on experience or some of information is collected from Internet for convenience purpose for visitors. We tried to put a source of information if the information is not origin from our website. Some of information would be outdated or not correctly posted. If you found one, please let us know ASAP, then we will correct it in timely manner or remove it if necessary. Please read our term of use and privacy policy on footer area.


 

 

  • Diverse Topics, solutions and expertise in IT fields!
  • Time Saver!
  • Target technical level! 

Last Updated (Tuesday, 09 June 2009 13:02)

Read more...

 
Smart Link
Search
Statistics
Content View Hits : 2200516
Polls
Highly recommended firewall vendor?
 
Google Translation
English Arabic Chinese (Simplified) Czech Dutch French German Italian Korean Portuguese Russian Spanish Filipino Vietnamese Thai Turkish
BGP routing issue?
Banner
World Route Servers
Banner
Who's Online
We have 50 guests online