LAN & WAN
LAN & WAN Tutorial
When Flow Control is not a Good Thing | When Flow Control is not a Good Thing |
|
|
| Tim Higgins | |
| November 07, 2007 | |
IntroductionJudging from some of the feedback in the gigabit switch reviews we've published this year—8 Port Gigabit Switch Roundup | $250 Gigabit Smart Switch Roundup—some readers are having problems getting the boost in performance they expected from upgrading to a gigabit LAN. The problems usually arise when there is a mixture of gigabit and Fast Ethernet (100 Mbps) clients. The problem scenario usually involves simultaneous transfers from a single gigabit-equipped client to a mix of gigabit and Fast Ethernet clients. Figure 1 illustrates the troublesome setup. (The Netgear switch is just used for illustration. The problem is common to virtually all non-managed gigabit switches.)
Figure 1: Flow Control test setupThe expected behavior in this configuration is for the sender's gigabit bandwidth to be divided between the two receivers. Each receiver would lose some throughput due to the overhead of the simultaneous tranfers. But both would still function at speeds near those experienced when running solo. But what readers have reported are instances of gigabit links being forced to Fast Ethernet speeds. One reader said that merely plugging a NIC running at 100 Mbps into a gigabit switch was enough to force all gigabit links to 100 Mbps speed. But the more common scenario requires simultaneous transfers from a single gigabit machine to a mix of gigabit and 100 Mbps computers. The Culprit - Flow ControlOnce a helpful reader (thanks, Walken!) provided a detailed description of the problem and some links to supporting documentation, the reason for this behavior made sense. The problem is caused by 802.3x Flow Control. Flow control was intended to handle the situation where a transmitting computer is sending data faster than a receiving machine can handle it. The IEEE 802.3x standard specifies a PAUSE flow control mechanism communicated via MAC Control frames in full duplex Ethernet link segments. Like jumbo frames, the PAUSE mechanism requires all device in the data flow path to support it, which includes the switch. Unfortunately, it seems (at least in small networks) that 802.3x does more harm than good. This may be partly because it duplicates the loss-based flow control mechanism already built into the TCP protocol. But whatever, the reason, I was able to confirm that the throughput loss that some people were attributing to "defective" or "low performance" switches, was in fact, due to Flow Control. Comments (21)
![]() Write comment
Related Articles:Slideshow - Trendnet TEG-160WS Web-smart switchSlideshow - Netgear GS716T ProSafe 16 Port Gigabit Smart Switch Slideshow - D-Link DGS1216T Web Smart 16-Port 10/100/1000+2 combo SFP Linksys intros small biz managed switches, RAID BYOD NASes Linksys SLM2008 8-port 10/100/1000 Gigabit Smart Switch Review |
|
You could win this D-Link Draft 11n Router and Card |
| NAS Performance Charts: Netgear ReadyNAS Duo |
| Router Performance Charts: Belkin N Wireless |
Is Z-Wave Secure? Ask the Expert
GE Z-Wave Wireless Lighting Dimmer Switch Review
Danish Company Offers Z-Wave Based Tools to Monitor Energy Use