09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

<strong>the</strong> operating rate of <strong>the</strong> MAC increases, <strong>the</strong> bit-period is reduced in actual time. For<br />

example, with standard 10Mbps E<strong>the</strong>rnet, it takes 1MHz or 1,000 nanoseconds <strong>to</strong><br />

move 1 bit of data across <strong>the</strong> transmission medium. Therefore, for standard<br />

E<strong>the</strong>rnet, which operates using a 10MHz bandwidth, a bit-period is 0.1 µsec or 100<br />

nanoseconds. The concept of time and its proper interpretation is vitally important<br />

for all data transmission pro<strong>to</strong>cols, in particular, those that use collision detection<br />

for transmission medium access. In order for <strong>the</strong> E<strong>the</strong>rnet collision detection<br />

mechanism <strong>to</strong> work correctly, each 802.3 MAC implementation has defined three<br />

"time periods" for managing access <strong>to</strong> <strong>the</strong> transmission medium. These time periods<br />

are slot-time, InterFrame Gap (IFG), and jam-period.<br />

Slot-time represents <strong>the</strong> minimum period of time that a transmitting station needs<br />

access <strong>to</strong> <strong>the</strong> transmission medium <strong>to</strong> send <strong>the</strong> smallest legal frame size. Under <strong>the</strong><br />

E<strong>the</strong>rnet CSMA/CD rules, all end-stations connected <strong>to</strong> <strong>the</strong> medium segment<br />

"listen" <strong>to</strong> all <strong>the</strong> frame transmissions on <strong>the</strong> wire, but only <strong>the</strong> destination accepts<br />

<strong>the</strong> packet. After <strong>the</strong> destination receives <strong>the</strong> packet, it checks it for errors, and if<br />

<strong>the</strong>re are none, <strong>the</strong> data is handed <strong>to</strong> <strong>the</strong> ULP for fur<strong>the</strong>r processing. If <strong>the</strong> frame is<br />

corrupt, it is discarded. When an end-station wants access <strong>to</strong> <strong>the</strong> media <strong>to</strong> transmit<br />

a frame, it listens <strong>to</strong> <strong>the</strong> wire for a period of one slot-time for carrier signal or active<br />

frame transmission. If no carrier signal is heard after this period, <strong>the</strong> wire is<br />

considered clear and <strong>the</strong> station can begin its transmission. The original IEEE 802.3<br />

standard states that all E<strong>the</strong>rnet MACs have a 512 bit-period slot-time. When<br />

Gigabit E<strong>the</strong>rnet was introduced, <strong>the</strong> slot-time was extended <strong>to</strong> 4,096 bit-periods <strong>to</strong><br />

accommodate for <strong>the</strong> increased transmission rate. MAC implementation's slot-time<br />

is also <strong>the</strong> basis for determining <strong>the</strong> physical size of <strong>the</strong> collision domain. Under<br />

E<strong>the</strong>rnet's CSMA/CD implementation, all stations on <strong>the</strong> segments must be able <strong>to</strong><br />

"hear" <strong>the</strong> frame transmission before it is completed, in order <strong>to</strong> avoid a collision.<br />

To ensure that <strong>the</strong> transmitted frames are distinguishable from one ano<strong>the</strong>r,<br />

E<strong>the</strong>rnet's CSMA/CD implementation enforces a manda<strong>to</strong>ry "dead time" between<br />

each frame called <strong>the</strong> IFG. The IFG is a 96 bit-period "space" of inactivity on <strong>the</strong> wire<br />

between each transmitted frame. Depending on <strong>the</strong> E<strong>the</strong>rnet NIC implementation,<br />

after <strong>the</strong> end-station has detected a "clear" wire, <strong>the</strong> end-station needs <strong>to</strong> wait an<br />

additional 96 bit-periods <strong>to</strong> ensure <strong>the</strong> wire is clear, effectively increasing <strong>the</strong><br />

slot-time an additional 96 bit-times. The IFG period is also <strong>the</strong> basis for "defer time"<br />

clock used by <strong>the</strong> NIC when a station, after <strong>the</strong> slot-time has elapsed, still detects a<br />

carrier signal on <strong>the</strong> wire. The IFG, although not technically part of <strong>the</strong> E<strong>the</strong>rnet<br />

frame, needs <strong>to</strong> be accounted for as a percentage of <strong>the</strong> utilized bandwidth on <strong>the</strong><br />

transmission segment. When determining <strong>the</strong> segment's effective utilization, each<br />

IFG represents a finite period of transmission inactivity on <strong>the</strong> medium, which<br />

detracts from <strong>the</strong> <strong>to</strong>tal available bandwidth used <strong>to</strong> transmit E<strong>the</strong>rnet frames. For<br />

this reason, when looking at segment Frames Per Second (FPS) rates, <strong>the</strong> IFG is<br />

added <strong>to</strong> each frame transmitted.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!