CONTACT US    |    +1-877 - 44 - CACHE (22243)    
Wednesday, May 14th
  Home > Research > Understanding Web Performance
Research        
Latency Shootout

Solutions        
Software Downloads
Website Performance
Streaming Media
Podcasting

Product            
BestHop™ Technology
How It Works
Control Panel
ProtectServe

Quick Links
Customers
Pricing
How it Works
Control Panel Tour
Our Network

Talk To us                        
Chat Live
Contact us
sales@cachefly.com
+1-877-44-CACHE
Understanding Web Performance

Understanding Web Performance
Performance Elements
TCP Windows
Maximum Possible Transfer Rate (MPTR)
Increasing the MPTR
Conclusion

Summary
“ The only effective method for increasing performance is to reduce latency.  BestHop™ Global Traffic Management on average delivers a 65% reduction in latency when compared to single-location hosting, offering a MPTR (Maximum Possible Transfer Rate) nearly triple what traditional, single-location hosting can achieve. ”



Performance Elements

   TCP - The underlying protocol which powers most applications on the internet today, including HTTP, is a "reliable" "window-based" protocol.  When talking about web performance, we really discussing TCP performance.

   The two variables involved in calculating the maximum possible TCP performance are:

  • Round-trip latency
  • End-to-end bandwidth
   Both elements are equally important when determining the amount of data that can be on the network ("in-flight") at any given time or the MPTR (maximum possible transfer rate).

Back to top
TCP Windows

   As mentioned earlier, TCP is a "window-based" protocol. To ensure reliable data delivery, the receiver only sends one window at a time, and it will not send the next window until the receiver acknowledges it has received the previous window (Animated Example). During a TCP session, the receiving system tells the sender what it's receive window size is.

Below is a table containing the default maximum TCP window sizes for major operating systems:

Operating SystemDefault maximum TCP window size
Windows NT64 kB
Windows 98, 98SE32 kB
Windows ME32 kB
Windows 200032 kB
Windows XP32 kB
Mac OSX32 kB

Back to top

Maximum Possible Transfer Rate (MPTR)

    Multiplying the round-trip latency by the end-to-end bandwidth provides you with the MAXIMUM possible transfer that any particular TCP virtual circuit will allow, assuming perfect Network Conditions. In a complex WAN, such as the internet, it is not realistic to expect to achieve the MPTR. A reasonable real-world expectation for internet transfers is 70% of MPTR.

Calculation

   MPTR = End-To-End Bandwidth / RTT

   Example Calculation

      Average Round-trip latency for traditional, single location hosting: 100ms
      Windows XP default maximum TCP receive window: 32kB.


      MPTR = 32 / (100 / 1000)
      MPTR = 320 kiloBytes/s or (2.5 Megabits/s)


   This it the maximum possible TCP transfer rate that can be achieved, assuming there are no dropped packets, and that all routers in the path have at least 320kB/s of bandwidth available at all times. With todays saturated broadband networks, a reasonable real-world expectation is 70% of MPTR, or 224kB/s (1.8 Megabits/s) in this case.

Back to top

Increasing the MPTR

    In order to increase the MPTR, one of two things must happen: an increase in the TCP buffer size, or a reduction in latency.

   It is simply not practical to expect or request end-users to modify operating system configurations; the only viable option is to decrease the latency. This is the fundamental philosophy behind our Anycasted Content Delivery Network.

Revised Calculation

      Average Round-trip latency for CacheFly Content Delivery Network: 35ms
      Windows XP default maximum TCP receive window: 32kB.


      MPTR = 32 / (35 / 1000)
      MPTR = 914 kiloBytes/s (7.3 Megabits/s)

   Real World MPTR (70% Rule):
       640 kiloBytes/s (5.1 Megabits/s)

Comparison

Real-World Maximum Possible Transfer Rate
Traditional Hosting224kB/s1.8 Megabits/s
CacheFly640 kB/s5.1 Megabits/s
 
Performance Increase416 kB/s (286%)3.3 Megabits/s (286%)


   Decreasing latency brings a substantial performance benefit, without requiring or expecting users to perform any operating system modifications.  The TCP protocol simply does not cope well with high-latency networks such as the internet.  The answer is clear:

Change the latency component of internet.

That basic premise allows CacheFly to deliver up to 10x performance.

Back to top

Conclusion

   The MPTR is a limitation of the TCP protocol, which was designed with high-bandwidth, low latency networks in mind.  While there are many programs and registry patches available to tune the TCP window size settings, very few internet users are savvy enough to modify their TCP settings.

   The sender or receiver in these examples could be connected via DS3, Fast Ethernet, Gigabit Ethernet or even OC48; the maximum possible speed to achieve to a Windows XP machine that has a RTT of 100ms is always 320kB/s, regardless of link speed.

   The only effective method for increasing performance is to reduce latency. BestHop™ Global Traffic Management on average delivers a 65% reduction in latency when compared to single-location hosting, offering a MPTR nearly triple what traditional hosting can achieve.

Back to top
Copyright © 2005 CacheNetworks, LLC    |    Acceptable Usage Policy    |    SLA    |    Contact Us    |