Tutorial 3 Answers Part 1
Tutorial 3 Answers Part 1
Part I - Tutorial 3
1
Q1: Ethernet: Minimum
Frame Size Requirement
A round trip signal propagation time + the
processing time is the minimum transmission
requirement for a frame transmission to ensure a
proper detection of a collision.
200 m
2
Q1: Minimum Frame Size
200 m
3
Q1: Minimum Frame Size
2us 2us
10us
>Given that signal prop. time is 1us for every
100m
Delay per segment = 200 / 100 = 2 us
>Given that the delay in each repeater = 2 us
4
Q1: Minimum Frame Size
5
Q2:Binary Exponential
Backoff (BEB)
PROBLEM: hub
Three stations involved in a
collision in an attempt to access
an Ethernet LAN. Calculate the
probability that the next event on
the channel is also a collision.
time
possible
collision retransmission time
transmissio detected (slot 0 or slot 1)
n started
A p
B q
0 1
9
Q3(i) answer
A B Probability Success?
0 0 pq
0 1 p(1-q) Yes
1 0 (1-p)q Yes
1 1 (1-p)(1-q)
p = 1/3, q = 2/3
10
Q3(ii) answer
A B Probability Success?
0 0 pq
0 1 p(1-q) Yes
1 0 (1-p)q Yes
1 1 (1-p)(1-q)
12
Q4 Answer
A frame contains 512 bits. The bit error rate is p = 10−7. The
probability of all 512 of them surviving correctly is (1 − p)512,
which is about 0.9999488. The fraction damaged is thus
about 5 × 10−5. The number of frames per second is 11 × 106 /
512 or about 21,484. Multiplying these two numbers together,
we get about 1 damaged frame per second.
Taylor expansion:
(1 − p)512 ≈ 1-p*512 = 1- 10−7 *512 = 0.9999488
13
Question 5
You are commissioned to design an experimental wireless network
for SCE to support its 100 wireless devices. You have decided to
adopt a multi-access reservation protocol (MARP) for frame
transmission in the data link layer. Specifically, each transmission
cycle consists of two phases: a reservation phase and a transmission
phase. In the reservation phase, a chosen MAC protocol is used for
transmission stations to reserve the channel; and in the transmission
phase, the station that successfully reserves the channel transmits
one frame. The data rate in the wireless channel is 1 Mbps. The
length of the data frame is 1000 bits, among which the reservation
frame carries 10 information bits.
14
Q5(i) Answer
(i) If the MAC protocol used in the reservation phase has a
utilization of 0.8, what will be the throughput of the MARP?
Phase 1: Reservation
Phase 2: Transmission
μ-v
v 1000 10
1000 s, 10 s
1mbps 1mbps
Sr=0.8
1000 1000
S 99.75%
990 10 1002.5
0.8
15
Q5(ii) Answer
(ii) Assume that the slotted Aloha protocol is used in the reservation phase.
The utilization for the slotted Aloha protocol is Ge-G, where G = np, n is the
number of stations, and p is transmission probability. Calculate an optimal
transmission probability to maximize the throughput of the MARP, and the
corresponding maximum throughput?
16