Computer/Embedded Technology


10 issues to consider before installing Ethernet - Part IV

10 September 2002 Computer/Embedded Technology

Half-duplex or full-duplex?

Full-duplex links are the key to extending the maximum network diameter of Fast (100 Mbps) Ethernet. Full-duplex requires separate receive and transmit paths (link segments consisting of no more than two devices). These devices can be Ethernet adapters or switching hub ports. Notice that we did not mention repeating hub ports. A repeating hub is part of the collision domain and reinforces collisions received on any of its other ports. A repeating hub is not capable of full-duplex operation. Although it is possible to have just two Ethernet adapters configured for full-duplex, expansion beyond two adapters requires a switching hub capable of supporting full-duplex operation.

Half-duplex means transmitting and receiving over the same medium but not at the same time. Full-duplex allows for simultaneous sending and receiving. Coaxial-based transceivers such as 10Base-5 and 10Base-2 are not able to invoke full-duplex since they do not have separate receive and transmit paths. However, 10Base-T and 10Base-FL do have separate switching hubs. If these interfaces are configured for half-duplex, then the simultaneous detection of receive and transmit activity will trigger collision detection. These same interfaces configured for full-duplex would disable this collision detection logic since full-duplex does not follow the CSMA/CD rules of shared Ethernet.

It is very important that a full-duplex link be configured properly. A station or switching hub port will send out frames at will, ignoring the CSMA/CD protocol of shared Ethernet, if it is configured for full-duplex. If the other end is configured for half-duplex, it will incorrectly detect collisions and take actions that could cause late collisions which are not automatically re-sent) and CRC errors. The result is a general slowdown of the network negating the benefits of migrating to Fast Ethernet.

As mentioned before, at 100 Mbps the maximum network diameter is short because of the limited collision domain at this speed. This is not a problem with twisted-pair link segments and switch ports because the maximum twisted-pair segment length is 100 m which is within the collision domain limit. The problem is with fibre-optic ports which allow segment lengths of 2 km for multimode operation and 15 km or greater for single-mode operation. Under the rules for half-duplex CSMA/CD Ethernet, our point-to-point fibre-optic segment is limited by the collision domain to 412 m. However, with full-duplex operation, which ignores the CSMA/CD algorithm, fibre-optic segments can be extended to their limit.

With Fast Ethernet, the use of switch technology is recommended. When using Fast Ethernet over fibre-optic cabling, full-duplex operation is recommended.

Auto-negotiation

With the proliferation of Fast Ethernet and the similarity of the cabling components to conventional Ethernet, a means was proposed in IEEE 802.3u to automatically configure Fast Ethernet ports to work with either legacy Ethernet ports or other Fast Ethernet ports. This configuration protocol was based upon National Semiconductor's NWay standard. There is a way for twisted-pair links to automatically configure compatible formats in order for links to begin communicating. This scheme was intended for twisted-pair links and not coaxial buses. Coaxial cable is a legacy 10 Mbps standard that is not in the plans for evolving Ethernet. Fibre optics is a different story. Although fibre-optics is very much in the plans for evolving Ethernet, there is no simple way for two fibre-optic devices to auto-negotiate data rates since a 10Base-FL device operates at 850 nm while a 100Base-FX device operates at 1300 nm. These devices will not interoperate. However, there is nothing in the Auto Negotiation protocol to prevent two fibre-optic devices to auto-negotiate if communication is possible. Recognising this, the 100Base-SX standard was recently introduced which incorporates 850 nm fibre-optic components that can function at either 10 or 100 Mbps. At 100 Mbps, these devices are limited to 300 m segment lengths. Therefore, it is important that the installer fully understands the capabilities of the fibre-optic equipment. Frequently with fibre optics, the data rate is fixed and not negotiated. The auto-negotiation protocol functions best on twisted-pair links.

The benefit of auto-negotiation is to provide hands-free configuration of the two devices attached to the link segment. At connection time, each of the two devices will advertise all their technical abilities. These abilities have been ranked by the standard as shown in Table 1. The lowest possible ranking is 10Base-T which assumes half-duplex or shared Ethernet operation. The very next ranking is 10BaseT full-duplex indicating that full-duplex has higher performance than half-duplex. Finally, the highest ranking is 1000Base-T full-duplex. This ranking scheme has been provided for completeness. It is not assumed that a particular adapter can handle all technologies. In fact, some of these technologies may not have been commercialised. However, they are all listed consistent with the IEEE 802.3 standard.

Table 1. Auto-negotiation assumes a ranking of priorities. 10Base-T is at the bottom

1000Base-T full-duplex

1000ase-T

100Base-T2 full-duplex

100Base-TX full-duplex

100ase-T2

100Base-T4

100Base-TX

10Base-T full-duplex

10Base-T

Each device examines each other's technical abilities and determines the lowest common denominator. For example, if an Ethernet adapter can only handle 10Base-T while a switch port can handle either 10Base-T or 100Base-TX, 10Base-T will be chosen by both. If two Ethernet adapters connect, one only advertising 10Base-T and the other only advertising 100Base-TX, there will be no subsequent communication since no compatibility exists.

Auto-negotiation can be very helpful or it can be a source of problems especially in the area of half, full-duplex selection since it is difficult to ascertain what was selected. Usually a switching hub and adapters have indicators that will denote Fast Ethernet selection; however, there is usually no indication for half, full-duplex operation.

Part V will continue this discussion and look at the Transport Layer Protocols.

For more information: Jaap Willemse, Electronic Products Design, 012 665 9700, [email protected]



Credit(s)



Share this article:
Share via emailShare via LinkedInPrint this page

Further reading:

Microsoft Windows IoT on ARM
Altron Arrow Computer/Embedded Technology
This expansion means that the Windows IoT ecosystem can now harness the power of ARM processors, known for their energy efficiency and versatility.

Read more...
Hardened-grade network switches
CST Electronics Computer/Embedded Technology
Lantronix’s hardened switches provide Layer 2 or Layer 3 networking, and are available as Power-over-Ethernet (PoE) or Power-over-Ethernet Plus (PoE+).

Read more...
Switched mezzanine card for enhanced Ethernet connectivity
Rugged Interconnect Technologies Computer/Embedded Technology
The TXMC897 sets a new standard in high-speed Ethernet communication, with advanced features and flexibility.

Read more...
Ryzen V3000 computer on module
Altron Arrow Computer/Embedded Technology
SolidRun has recently announced the launch of its new Ryzen V3000 CX7 Com module, configurable with the eight-core/16-thread Ryzen Embedded V3C48 processor.

Read more...
1.6T Ethernet IP solution to drive AI and hyperscale data centre chips
Computer/Embedded Technology
As artificial intelligence (AI) workloads continue to grow exponentially, and hyperscale data centres become the backbone of our digital infrastructure, the need for faster and more efficient communication technologies becomes imperative. 1.6T Ethernet will rapidly be replacing 400G and 800G Ethernet as the backbone of hyperscale data centres.

Read more...
Maximising edge computing
Computer/Embedded Technology
Senao Networks has announced its launch of its SX904 SmartNIC based on the Intel NetSec Accelerator Reference Design.

Read more...
Duxbury unveils next-gen solar-powered switches
Computer/Embedded Technology
These powerful solar-powered switches are ideal for any environment requiring reliable Power-over-Ethernet (PoE) capabilities.

Read more...
UFS Ver. 4.0 embedded Flash memory devices
EBV Electrolink Computer/Embedded Technology
KIOXIA Europe has announced sampling of the industry’s first Universal Flash Storage (UFS) version 4.0 embedded Flash memory devices designed for automotive applications.

Read more...
Powering factory automation into the future
Rugged Interconnect Technologies Computer/Embedded Technology
Powered by the newest 13th Gen Intel processors, ADLINK Technology’s COM-HPC-cRLS module is a future-proof edge AI solution.

Read more...
Linux OS with immutable file system
Computer/Embedded Technology
What really sets VanillaOS apart from others, however, is in security, where it takes a new approach to computing by using an immutable file system for improved security and stability.

Read more...