<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: How to Calculate TCP throughput for long distance WAN links</title>
	<atom:link href="http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/feed/" rel="self" type="application/rss+xml" />
	<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/</link>
	<description>Studies in Data Center Networking, Virtualization, Computing</description>
	<lastBuildDate>Thu, 29 Jul 2010 06:32:26 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Brad Hedlund</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1322</link>
		<dc:creator>Brad Hedlund</dc:creator>
		<pubDate>Fri, 16 Jul 2010 01:49:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1322</guid>
		<description>Mina,
The throughput calculations will tell you the &lt;strong&gt;maximum possible throughput&lt;/strong&gt;.  If your DSL line is much slower than what your calculation says, well, of course your actual throughput will be limited to your link speed.
If your link speed is much faster than the result of your calculations, you will not transmit any faster than what your calculation states, because that is the maximum possible throughput.  This is the entire point this article tries to make.

Cheers,
Brad</description>
		<content:encoded><![CDATA[<p>Mina,<br />
The throughput calculations will tell you the <strong>maximum possible throughput</strong>.  If your DSL line is much slower than what your calculation says, well, of course your actual throughput will be limited to your link speed.<br />
If your link speed is much faster than the result of your calculations, you will not transmit any faster than what your calculation states, because that is the maximum possible throughput.  This is the entire point this article tries to make.</p>
<p>Cheers,<br />
Brad</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mina</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1310</link>
		<dc:creator>mina</dc:creator>
		<pubDate>Wed, 14 Jul 2010 10:10:04 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1310</guid>
		<description>Dear Brad ..
any Update?</description>
		<content:encoded><![CDATA[<p>Dear Brad ..<br />
any Update?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mina</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1282</link>
		<dc:creator>mina</dc:creator>
		<pubDate>Sun, 11 Jul 2010 00:00:51 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1282</guid>
		<description>any update please??</description>
		<content:encoded><![CDATA[<p>any update please??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brady</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1260</link>
		<dc:creator>Brady</dc:creator>
		<pubDate>Thu, 08 Jul 2010 03:47:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1260</guid>
		<description>My only commnet would be, Be careful when looking at TCP window sizes, and assuming one size fits all. Stating that all applications will operate with the same throughput is not neccessarily accurate.

Technologies in the middle can and do have an impact on the overall TCP window size. For instance , if you were to look at an &quot;legacy&quot; implemantation of site to site VPN across a 6500 using a VPN IPSEC module you would most certainly find tcp window/mtu manipulation on the router that will impact Windows Servers and clients. This will also without a doubt be application dependent. For instance don&#039;t assume that all applications operate under the same conditions with windows sizes, etc. Your browser may operate a certain throughput and MS outlook at another throughput level.
 
If you are using MPLS to connect your site don&#039;t always assume that all the carrier gear is setup the same way to handle a particular MTU size from end to end. For instance Carrier &quot;X&quot; may have legacy devices that do in fact impact the MTU size and therefore TCP stack is impacted indirectly.

Granted I am not stating that IP MTU and TCP window sizes are the same animal. But what you will find is there is a very close relationship and the MTU will in fact impact TCP applications.
Most the Cisco VPN Documentation will refer to this a MSS size , but a closer look will revel it&#039;s window sizing. 

I would just caution that you need to look at the underlying technologies that connect the locations and see if they could potentially impact tcp windows size, througput , etc.

I would highly suggest you get a software package that tests throughput from end to end on server/client before suggesting results. As over time you will see the TCP window sizes and throughput began to degrade on networks.

Thats my two cents.
Regards,</description>
		<content:encoded><![CDATA[<p>My only commnet would be, Be careful when looking at TCP window sizes, and assuming one size fits all. Stating that all applications will operate with the same throughput is not neccessarily accurate.</p>
<p>Technologies in the middle can and do have an impact on the overall TCP window size. For instance , if you were to look at an &#8220;legacy&#8221; implemantation of site to site VPN across a 6500 using a VPN IPSEC module you would most certainly find tcp window/mtu manipulation on the router that will impact Windows Servers and clients. This will also without a doubt be application dependent. For instance don&#8217;t assume that all applications operate under the same conditions with windows sizes, etc. Your browser may operate a certain throughput and MS outlook at another throughput level.</p>
<p>If you are using MPLS to connect your site don&#8217;t always assume that all the carrier gear is setup the same way to handle a particular MTU size from end to end. For instance Carrier &#8220;X&#8221; may have legacy devices that do in fact impact the MTU size and therefore TCP stack is impacted indirectly.</p>
<p>Granted I am not stating that IP MTU and TCP window sizes are the same animal. But what you will find is there is a very close relationship and the MTU will in fact impact TCP applications.<br />
Most the Cisco VPN Documentation will refer to this a MSS size , but a closer look will revel it&#8217;s window sizing. </p>
<p>I would just caution that you need to look at the underlying technologies that connect the locations and see if they could potentially impact tcp windows size, througput , etc.</p>
<p>I would highly suggest you get a software package that tests throughput from end to end on server/client before suggesting results. As over time you will see the TCP window sizes and throughput began to degrade on networks.</p>
<p>Thats my two cents.<br />
Regards,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mina</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1248</link>
		<dc:creator>Mina</dc:creator>
		<pubDate>Tue, 06 Jul 2010 11:05:53 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1248</guid>
		<description>dear Brad ,
thanks a lot for your great effot
my question related to CP question which was :

=====================
THROUGHPUT from BDP:
======================

What’s my throughput then,

RWIN (66,780 bytes) / RTT (.032) = 2,086,875 bytes (or 16.7Mbps)

Umm, my DSL is only up to 2Mbps, so that is NOT my throughput nor correct

so my questions are :
1- is it really that server sense that i can download with 16 M , but i will drop the rest as my physical speed is 2M ( that means i will drop 14 M)?

2- what about if my speed was 24 M , is that means my max peed will be 16 M ??

i hope that i could elaborated my questions correctly

thanks again for your effor , 
Mina</description>
		<content:encoded><![CDATA[<p>dear Brad ,<br />
thanks a lot for your great effot<br />
my question related to CP question which was :</p>
<p>=====================<br />
THROUGHPUT from BDP:<br />
======================</p>
<p>What’s my throughput then,</p>
<p>RWIN (66,780 bytes) / RTT (.032) = 2,086,875 bytes (or 16.7Mbps)</p>
<p>Umm, my DSL is only up to 2Mbps, so that is NOT my throughput nor correct</p>
<p>so my questions are :<br />
1- is it really that server sense that i can download with 16 M , but i will drop the rest as my physical speed is 2M ( that means i will drop 14 M)?</p>
<p>2- what about if my speed was 24 M , is that means my max peed will be 16 M ??</p>
<p>i hope that i could elaborated my questions correctly</p>
<p>thanks again for your effor ,<br />
Mina</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Hedlund</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1224</link>
		<dc:creator>Brad Hedlund</dc:creator>
		<pubDate>Sat, 03 Jul 2010 13:18:38 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1224</guid>
		<description>Ashwin,

1) The routers are operating at Layer 3 of the OSI model and therefore pass IP packets paying no attention the upper layer TCP information.  A standard router never changes window sizes etc.  TCP windowing is managed by the end hosts participating in the TCP exchange.

2) Correct.  The TCP throughput calculations discussed in this article are for the purposes of calculating the throughput potential of an individual TCP session.  If you have multiple TCP sessions, each session would add its own bandwidth load to the link.  If the link does not have enough bandwidth to carry the potential bandwidth of all the TCP sessions, congestion will occur, packets will get dropped, TCP will detect that and dynamically scale back the window size in half, then slowly increase the window size until packet loss happens again, and the cycle repeats.  The result of this behavior is all TCP flows evenly and fairly balancing throughput on the link.</description>
		<content:encoded><![CDATA[<p>Ashwin,</p>
<p>1) The routers are operating at Layer 3 of the OSI model and therefore pass IP packets paying no attention the upper layer TCP information.  A standard router never changes window sizes etc.  TCP windowing is managed by the end hosts participating in the TCP exchange.</p>
<p>2) Correct.  The TCP throughput calculations discussed in this article are for the purposes of calculating the throughput potential of an individual TCP session.  If you have multiple TCP sessions, each session would add its own bandwidth load to the link.  If the link does not have enough bandwidth to carry the potential bandwidth of all the TCP sessions, congestion will occur, packets will get dropped, TCP will detect that and dynamically scale back the window size in half, then slowly increase the window size until packet loss happens again, and the cycle repeats.  The result of this behavior is all TCP flows evenly and fairly balancing throughput on the link.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ashwin</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1200</link>
		<dc:creator>Ashwin</dc:creator>
		<pubDate>Thu, 01 Jul 2010 04:56:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1200</guid>
		<description>Hello Brad,

1.As I understand Windows systems on the LAN uses a TCP window size of 17K+ bytes. In your example, each server has a default setting of 17K+ bytes. Now while replicating the data between the two servers in remote sites, will the TCP window size be changed by the routers to 65K ? Or will it remain to be 17K+ through the entire path ? Assume we are not using any bandwidth optimizers.

2. Assume there are two servers at the source site replicating to two servers at the remote site via a common router pair. Each replication context will then constitue a seperate stream and hence we will get double the bandwidth over the WAN link [assuming the WAN link to be a fat pipe]. Is my understanding correct ?

Ashwin</description>
		<content:encoded><![CDATA[<p>Hello Brad,</p>
<p>1.As I understand Windows systems on the LAN uses a TCP window size of 17K+ bytes. In your example, each server has a default setting of 17K+ bytes. Now while replicating the data between the two servers in remote sites, will the TCP window size be changed by the routers to 65K ? Or will it remain to be 17K+ through the entire path ? Assume we are not using any bandwidth optimizers.</p>
<p>2. Assume there are two servers at the source site replicating to two servers at the remote site via a common router pair. Each replication context will then constitue a seperate stream and hence we will get double the bandwidth over the WAN link [assuming the WAN link to be a fat pipe]. Is my understanding correct ?</p>
<p>Ashwin</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brad Hedlund</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1147</link>
		<dc:creator>Brad Hedlund</dc:creator>
		<pubDate>Mon, 21 Jun 2010 17:19:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1147</guid>
		<description>No, since UDP does not require round-trip acknowledgements, these formulas do not apply to UDP.</description>
		<content:encoded><![CDATA[<p>No, since UDP does not require round-trip acknowledgements, these formulas do not apply to UDP.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vince</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-1142</link>
		<dc:creator>vince</dc:creator>
		<pubDate>Mon, 21 Jun 2010 09:15:11 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-1142</guid>
		<description>how about udp throughpout, do you use the same formula.</description>
		<content:encoded><![CDATA[<p>how about udp throughpout, do you use the same formula.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: slimer</title>
		<link>http://bradhedlund.com/2008/12/19/how-to-calculate-tcp-throughput-for-long-distance-links/comment-page-1/#comment-685</link>
		<dc:creator>slimer</dc:creator>
		<pubDate>Tue, 26 Jan 2010 21:07:07 +0000</pubDate>
		<guid isPermaLink="false">http://www.bradhedlund.com/?p=74#comment-685</guid>
		<description>Brad,

Thanks for the very interesting explanation here! I have a question and hope you can help.

We want to perform a data consolidation for some of our application whereby we already know the number of server and we will be able to get the volume of traffic. However, we are not sure how much WAN bandwidth needed in the data center that we will do the data consolidation.

Let&#039;s say, I have the following parameters:
- 120GB of aggregated traffic over the LAN (this is the server/client traffic)
- WAN latency is 75ms (RTD-150ms)

Objective: To know the WAN bandwidth to be used

Thanks...Slimer</description>
		<content:encoded><![CDATA[<p>Brad,</p>
<p>Thanks for the very interesting explanation here! I have a question and hope you can help.</p>
<p>We want to perform a data consolidation for some of our application whereby we already know the number of server and we will be able to get the volume of traffic. However, we are not sure how much WAN bandwidth needed in the data center that we will do the data consolidation.</p>
<p>Let&#8217;s say, I have the following parameters:<br />
- 120GB of aggregated traffic over the LAN (this is the server/client traffic)<br />
- WAN latency is 75ms (RTD-150ms)</p>
<p>Objective: To know the WAN bandwidth to be used</p>
<p>Thanks&#8230;Slimer</p>
]]></content:encoded>
	</item>
</channel>
</rss>
