views:

36

answers:

2

Theoretical question here -- the [general] Ethernet protocol uses an 8 byte preamble with an (almost) all 10101010 bit pattern, save for the very last byte. One purpose of this is for sender/receiver synchronization.

Since Manchester Encoding can inherently sync the sender and receiver, do you think that the preamble is necessary or redundant overhead? I would argue that it is redundant, but that it may be important to indicate the start / end of frames.

+1  A: 

The Manchester Encoding will synch things up at the bit level, but you also need to get higher level synchronization in place too. In particular, you need byte level and frame level synch: bytes because then you can actually transfer data that can be understood at all, and frames because then you can comprehend the overall message. By having that header, it gives the Ethernet hardware enough time to start listening for the real message that follows and to correctly determine where that message starts; it doesn't have to capture the first bit of the preamble to work, and so is more reliable. Reliability is Good.

Donal Fellows
Well put. They aren't really interchangeable. Manchester Encoding can sync data on a bit level while the preamble can sync the data on a frame level. Thanks.
Brian D
I should have also stated that without bit level synch, none of the rest of everything could possibly work. All the pieces are required, really.
Donal Fellows
It was understood, but the explicit clarification is always welcome :)
Brian D
+1  A: 

The original Ethernet has been totally? replaced by 802.3 which accounts for the difference in the 8th octet (SFD). The purpose of the preamble is to get the sender and receiver in sync, before the data arrives. Without it the first few bytes of the data could use the inherent clock in Manchester Encoding to get in sync, but they might be lost.

Based on the current state of the art, a shorter preamble could likely be used. For that matter we don't really need collision detection in modern wired networks either.

But as they say, if it ain't broke don't fix it.

dbasnett