Class
Of Marketing
|
|
|
|
|
| 56 Kbps | 4.3 seconds | 200 milliseconds |
| T1 (1.544 Mbps) | 156 milliseconds | 8 milliseconds |
| Ethernet | 24 milliseconds | 1.3 milliseconds |
| Fast Ethernet | 2.4 milliseconds | 130 microseconds |
| Gigabit Ethernet | 240 microseconds | 13 microseconds |
For interactive applications, users usually start to become aware of delays over about 200 milliseconds. Since the latency without CoS per switch is about 2.4 milliseconds with Fast Ethernet links, I would have to be going through almost 100 Fast Ethernet Switches, arriving behind 20 maximum-sized Ethernet frames at each, before I would even start to perceive a slight increase in latency or benefit from the CoS features of my switches.
This example focused on an interactive user application, but I could have provided an analysis of file transfer application throughput vs. latency or an analysis of a real-time application where latency variation is more important than absolute latency and arrived at exactly the same conclusion:
Hoov's CoS Rule #1: The higher the speed of the links, the lesser the importance of CoS.
CoS can help to reduce the probability of dropping packets for critical applications, but I like to approach this situation in a different way:
Hoov's CoS Rule #2: Congestion avoidance is almost always better than congestion behavior management.
TCP Rate Shaping (TRS) is the art of reducing congestion by controlling the rate at which end systems communicate. TRS is a form of Quality-of-Service (QoS), but better. Why better? To explain this, let me digress into a discussion on QoS.
QoS functions, initially introduced to the mass market related to ATM, are oriented towards providing a guaranteed level of service across a network for selected applications or users. Such guarantees are implemented by setting aside resources on every switch and every trunk between the sender and the receiver. Resources can be CPU cycles, buffers (queues), memory bandwidth, trunk bandwidth, or other technical factors which influence the rate at which a cell passes through a switch. Such guarantees could be configured into every switch for every application flow, but the administrative cost of doing that would be enormous. So to enable usable QoS, signaling schemes have been invented that allow end-station applications to "negotiate" with the network for a specific level of service (usually bandwidth). In the IP world, RSVP (Resource Reservation Protocol) has been created to emulate similar capabilities without the need for ATM.
In both cases (ATM and RSVP), very little use is being made of QoS in networks today and it appears to me that the implementation of QoS using these techniques will remain stalled.
Why is that?
For a fundamental reason. For ATM or RSVP to work, you need the technology to be implemented in every switch or router in the end-to-end path as well as the end systems. In networking, the technologies that get widely implemented are those that users can implement a little of and get some value, and then implement more over time. All-or-nothing never seems to take off.
So we're left with hundreds of articles and trade show sessions about QoS, millions of Engineer hours being spent figuring out how to implement QoS, and thousands of Marketing hours being spent figuring out how to position QoS that doesn't exist.
Which brings me back to TCP Rate Shaping (TRS). TRS is something that can be bought and used today to solve some real problems.
TRS is when you interdict TCP traffic flows between two end stations and modify the handshaking between them such that the end-to-end communication occurs at a desired rate (bandwidth). This becomes useful as a tool when you have a specific point of potential congestion in a network and want to implement your own policy about how you want that bandwidth utilized. For instance, let's say you have a T1 link from your site into a Frame Relay network. You know that link often becomes congested, but it is way too expensive to think about any higher speed WAN access right now. You just want to squeeze the most you can out of that T1 link.
In TRS, you identify the target bandwidth you want each flow in each Traffic Class to have available to it under periods of congestion. The sum total of all these guarantees for the identified traffic that you care about has to be equal to or less than the link speed (T1, for instance). During periods when there is excess bandwidth available, you can set policies for who gets first access to that excess bandwidth. As you head towards congestion, the TCP flows are rate shaped by slowing down the return of Acknowledgement packets and adjusting advertised window sizes, so that the end-to-end communications slows down towards the guaranteed rate. Since the sum of all the guaranteed rates is less than the link speed, no congestion occurs, just smooth slowing and acceleration of application flows as link usage ebbs and flows.
The biggest advantages of Rate Shaping are:
I believe that TRS is how QoS will really get implemented in networks because it is useful and can be implemented independently by different end users in a point-wise manner. TRS is on my list as one of the Next Big Things in networking.
As far as I know, Packeteer www.packeteer.com is the only vendor with TRS capabilities right now. There are a multitude of other vendors with various "Traffic Shaping" functions available as features on some routers, firewalls, and web server load balancers. These features generally allow you to allocate bandwidth available to specific Traffic Classes using traditional queuing and CoS techniques. The net effect is a virtual T-MUX, more flexible than allocating DS0s, but still it doesn't do anything to avoid congestion.
To determine whether a vendor supports TRS, ask them if they can adjust the rate at which clients and servers communicate with one another. If the answer is yes, and it's not just Class of Marketing, you may have found a potential source of technology to manage your WAN bandwidth, complementing a "beat'em with cheap bandwidth" strategy on the LAN.
The down side of TRS that is that the QoS influence is not global. You can manage your WAN access bandwidth extremely well, but if there is congestion within your ISP or Frame Relay network, you will still suffer performance degradation. But that's what buying Optimal Networks www.optimal.com, Visual Networks www.visualnetworks.com or Vital Signs www.vitalsigns.com software to measure Service Provider performance is all about. You get to yell at your Provider about their service problems using documented data. Don't invest in a lot of technology that doesn't really work yet anyway (e.g. RSVP) to try to solve other people's problems.
(volume 1, number 3)
|
Hoov's Musings |
![]()
Send email to
info@acuitive.com with questions or comments about this web
site.
Copyright ©1997-2001 Acuitive, Inc. All Rights Reserved