Home > Networking Tips > > Networks are like onions
Networking Tips:
EMAIL THIS
 TIPS & NEWSLETTERS TOPICS 


Networks are like onions


Loki Jorgenson
08.19.2005
Rating: -5.00- (out of 5)


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


Your network is like an onion -- a series of concentric bottlenecks, located at different components and at different Layers, along the end-to-end path. To improve your application performance, you need to identify the "narrowest" bottleneck that defines the end-to-end performance and remove it. And then remove the next one. And the one after that, until finally you achieve optimal network performance.

Your current end-to-end performance on any given network path, for a particular application, is a function of the "narrowest" bottleneck. It may be the Ethernet capacity -- and limited by design. Or it may be some sort of network dysfunction that keeps the path from reaching its optimal functionality -- such as duplex conflict. Or it may be an unanticipated consequence of a very large latency and TCP slow start (e.g. bandwidth-delay product).

Each network path may have a different pre-dominant bottleneck. Or it may be the same bottleneck that is shared by many paths. Regardless, once that bottleneck is identified and removed, the end-to-end performance will increase until it reaches the next bottleneck.

Let's consider a really simple example where the only limiter is the Layer 2 capacity -- suppose it is the 10 Mbps of an Ethernet link that defines how quickly an FTP transfer takes place. So identified, that link can be upgraded to Fast Ethernet, and thus the transfers will jump nearly 10-fold in performance. And then removing that limit might mean going to Gigabit Ethernet.

In the real world, there are many different types of bottlenecks and we know that it is rarely as simple as bandwidth. In fact, bandwidth is almost never the problem although it is most often suggested as the solution to a performance issue. Performance bottlenecks are usually found elsewhere in the path or at another layer.

Here are a few likely causes:

  • Deliberate rate-limiting: Cisco's Committed Access Rate (CAR) rate-limiting mechanism limits the maximum rate that packets can be forwarded in the mid-path. It was one of their earliest rate-limiting mechanisms and is still in wide use today. It assumes a Reno-style TCP stack controls the rate of transmission of a particular stream and starts to drop packets whenever the stream exceeds a specific instantaneous rate – dropped packets signals congestion to the application and it should slow down. Sometimes CAR drops according to bytes per second or number of packets per second. Talk to your ISP about whether it should be in use in your network.

  • Interrupt limiting: At Gigabit Ethernet rates, when relatively small packets are used (much smaller than 1500 bytes), the rate of arrival of Layer 3 packet headers can overwhelm a NIC to the point that it begins to drop packets. This is not overflow due to overall payload but a limit on the processing of the individual headers. Larger packets may arrive more quickly with no loss at all. Avoid use of small packets and/or consider jumbo packets.

  • NIC buffers: NIC tuning is sometimes required in order to avoid cases where packets overwhelm the send and receive buffers at the NIC. Particularly when attempting to achieve full 1000 Mbps capacity on Gigabit, the buffers must be increased to 3-5 Mbs. Your mileage may vary but this is the typical GigE bottleneck at Layer 2/3.

  • Bandwidth-Delay product: Even though the capacity is known to be relatively high, you may experience quite low overall throughput over WAN links. This is a consequence of the TCP behavior interacting with the available bandwidth at large latencies. This is a typical Layer 4 bottleneck on very long links. Increasing the TCP buffer is the best solution.

  • NIC and driver: Often a newly installed system offers down-level drivers. In some cases, they can limit how quickly they put packets on the wire. For example, the NIC may say 100 Mbps but the application can at best see 70 Mbps. Upgrading the driver often solves this problem.

  • Disk I/O: If the application using the end-to-end path is data intensive, transferring off and on the disk may be the limiting factor. In this case, the correct definition of "end-to-end" should include the disk array. Instead of pumping the network full of more bandwidth, the best solution will be to find faster disks and/or a better RAID configuration.

  • Dysfunctions: There are endless, unforeseen problems that can plague a network and reduce performance -- duplex conflicts, pMTU issues, cable problems, and route flapping are just a few possibilities. These all need to be identified and resolved -- they just shouldn't exist in a healthy network of any sort.




When you start to think in terms of an onion, you can see that peeling away your bottlenecks one at a time can quickly get you to the level of performance you designed into your network. The obvious problems just aren't the usual suspects. The weakest link in the chain -- the pre-dominant bottleneck -- is the most important thing to find and remove and it may not be where you think it is.

Think onions -- the jump in network performance will bring tears to your eyes…

References:
TCP Tuning


NetworkingChief Scientist for Apparent Networks, Loki Jorgenson, PhD, has been active in computation, physics and mathematics, scientific visualization, and simulation for over 18 years. Trained in computational physics at Queen's and McGill universities, he has published in areas as diverse as philosophy, graphics, educational technologies, statistical mechanics, logic and number theory. Also, he acts as Adjunct Professor of Mathematics at Simon Fraser University where he co-founded the Center for Experimental and Constructive Mathematics (CECM). He has headed research in numerous academic projects from high-performance computing to digital publishing, working closely with private sector partners and government. At Apparent Networks Inc., Jorgenson leads network research in high performance, wireless, VoIP and other application performance, typically through practical collaboration with academic organizations and other thought leaders such as BCnet, Texas A&M, CANARIE, and Internet2. www.apparentnetworks.com

Rate this Tip
To rate tips, you must be a member of SearchNetworking.com.
Register now to start rating these tips. Log in if you are already a member.




Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
Network Monitoring
University tackles large-scale 802.11n wireless network management
Meru reinvents wireless LAN troubleshooting and management
Green enterprise: Three networking investments that make a difference
Network device management overload: Engineers managing too many boxes
What preventative maintenance procedures for network devices exist?
WLAN QoS and SLA monitoring with 7/24 Wireless Quality Assurance costs
How important are network infrastructure maps for engineers or admins?
Understand Windows tracert output to troubleshoot network connectivity
Network management and monitoring market remains crowded, fragmented
When do applications suffer from poor network performance?
Network Monitoring Research

Network Performance Management
Web gateway helps Texas manufacturer develop network user management
Desktop virtualization network challenges: A primer
Green enterprise: Three networking investments that make a difference
Storage area networks change management primer
CA-NetQoS deal: Network management = application performance
Virtualization change and configuration management primer
Network change and configuration management primer
Distributed network management means no more hard NOCs
WLAN QoS and SLA monitoring with 7/24 Wireless Quality Assurance costs
Network management from a service-based perspective

RELATED GLOSSARY TERMS
Terms from Whatis.com − the technology online dictionary
10-high-day busy period  (SearchNetworking.com)
ACK  (SearchNetworking.com)
baseboard management controller  (SearchNetworking.com)
call failure rate  (SearchNetworking.com)
jam  (SearchNetworking.com)
Jini  (SearchNetworking.com)
maximum segment size  (SearchNetworking.com)
maximum transmission unit  (SearchNetworking.com)
netstat  (SearchNetworking.com)
network tracking tool  (SearchNetworking.com)

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary

DISCLAIMER: Our Tips Exchange is a forum for you to share technical advice and expertise with your peers and to learn from other enterprise IT professionals. TechTarget provides the infrastructure to facilitate this sharing of information. However, we cannot guarantee the accuracy or validity of the material submitted. You agree that your use of the Ask The Expert services and your reliance on any questions, answers, information or other materials received through this Web site is at your own risk.



Networking Solutions for Business

Alcatel-Lucent Network Business Communications Solutions

About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2000 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts