09.11.2014 Views

Ethernet Technology

Ethernet Technology

Ethernet Technology

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Receiving a Frame<br />

Reveiving/sensing<br />

the next frame<br />

CSMA/CD<br />

(cont’d)<br />

Back-off Algorithm - Collision Recovery<br />

N<br />

Error frame<br />

More bits<br />

received ?<br />

Y<br />

Framing error<br />

Y<br />

N<br />

N<br />

Receiving<br />

completed ?<br />

Frame too short<br />

(collision) ?<br />

Address matched ?<br />

Decapsulating header/trailer<br />

Received<br />

successfully<br />

<strong>Ethernet</strong> <strong>Technology</strong> 17<br />

Y<br />

Y<br />

N<br />

CRC<br />

correct ?<br />

Y<br />

Length (if)*<br />

correct ?<br />

N<br />

Length error<br />

Y<br />

N<br />

Submit to<br />

higher layer<br />

• Collision back-off and retransmission in <strong>Ethernet</strong>s<br />

~ Truncated Binary Exponential Back-off Algorithm (BEBA)<br />

Let n = number of collisions experienced<br />

k = Min(n,10) Truncation<br />

then Retry in the r th slot-time , 1 r 2 k<br />

~ Back-off time<br />

RAND(0,2<br />

min(n,10)<br />

( n 16)<br />

• Disadvantage of BEBA unfair<br />

Last-in-First-out effect:<br />

- Stations with no or few collisions will have a better chance<br />

to transmit before stations that have waited longer.<br />

<strong>Ethernet</strong> <strong>Technology</strong> 18<br />

)<br />

15 retries, 16 attampts in total<br />

Waiting for # of slot-time<br />

• Waiting for: 0 ~ (2 k -1) slot-time<br />

Binary back-off<br />

Backoff (cont’d)<br />

Example: 10Base5 Medium Specification<br />

• Waiting for: 0 ~ (ak + b)-1 slot-time Linear back-off<br />

• Probability of successful retransmission ?<br />

collision<br />

Collide:<br />

A ~ the first time<br />

B ~ the second time<br />

slot time = 512 bit-time = 2 <br />

<br />

<br />

reattempt<br />

Randomly choose<br />

From the 2 k time slots<br />

<strong>Ethernet</strong> <strong>Technology</strong> 19<br />

• 10Mbps, Manchester encoding<br />

• Use a 50-ohm(D=10mm) coaxial cable (characteristic<br />

impedance = 50 ohm)<br />

(Impedance is a measure of how much voltage must be<br />

applied to the cable to achieve a certain signal strength)<br />

• The maximum length of a segment is 500m<br />

• The maximum length of a 10Base5 network is 2500m<br />

• The distance between any two adjacent taps being a multiple<br />

of 2.5m (Tap); A maximum of 100 taps is allowed<br />

• Slot time = 51.2 us; IFG = 9.6us<br />

• Packet size: 64 bytes (Min) ~ 1518 bytes (Max)<br />

<strong>Ethernet</strong> <strong>Technology</strong> 20

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

Saved successfully!

Ooh no, something went wrong!