Assignment5 w2010 Solutions

Download as pdf or txt
Download as pdf or txt
You are on page 1of 3

Winter 2010 CSE3213 Communication Networks

Assignment # 5
Instructor: Foroohar Foroozan

Review sections 6.1-6.4 Garcia before attempting the assignment.

1. Suppose that the ALOHA protocol is used to share a 56 kbps satellite channel. Suppose that frames are 1000 bits
long. Find the maximum throughput of the system in frames/second.

Solution:
Maximum throughput for ALOHA = 0.184

Maximum throughput in frames/sec = (56000 bits/sec) x (1 frame/1000 bits) x 0.184 = 10.304

The maximum throughput is approximately 10 frames/sec.

2. Let G be the total rate at which frames are transmitted in a slotted ALOHA system. What proportion of slots goes
empty in this system? What proportion of slots go empty when the system is operating at its maximum throughput?

Solution:
0 −G −G
Proportion of empty slots = P[0 transmission] = [G /0!]e = e
Maximum throughput = 0.368; Gmt = 1
−1
Proportion of empty slots at maximum throughput = e = 0.368
-1
Any attempt to decrease the proportion of empty slots below e is counterproductive as this action will push the
throughput below its maximum value.

3. In a LAN, which MAC protocol has a higher efficiency: ALOHA or CSMA-CD? What about in a WAN?

Solution:
The maximum efficiency achieved by the Slotted ALOHA is 0.368. The efficiency of CSMA-CD is given by 1/(1 +
6.4a), and is sensitive to a = tpropR/L, the ratio between delay-bandwidth product and frame length.
In a LAN environment, the end-to-end distance is around 100m and the transmission rates are typically 10Mbps,
100Mbps and 1Gbps (See Table 6.1). An Ethernet frame has a maximum length of 1500 bytes = 12,000 bits.
The table shows the efficiency of CSMA-CD at various transmission rates. Assume L = 12,000 bits and propagation
8
speed of 3 x 10 .

 
Note however that if shorter frame sizes predominate, e.g. 64 byte frames, then a increases by a factor of about 20.
According to the above formula the efficiency of CSMA-CD at 1 Gbps then drops to about 0.7. The situation
however is worse in that the minimum frame size at 1 Gbps needs to be extended to 512 bytes, as discussed in page
436 of the text.
3
In a WAN environment d is larger. Assuming 100 Km, a is larger by a factor of 10 resulting in an efficiency of
0.36, 0.05, and 0.005 respectively for 10 Mbps, 100 Mbps, and 1 Gbps transmission rates. In the case of 10 Mbps
transmission rate the efficiency of CSMA-CD is close to the efficiency of ALOHA but in the other two cases it is
much less than ALOHA.

4. M terminals are attached by a dedicated pair of lines to a hub in a star topology. The distance from each terminal
to the hub is d meters, the speed of the transmission lines is R bits/second, all frames are of length 12500 bytes, and
8
the signal propagates on the line at a speed of 2.5 (10 ) meters/second. For the four combinations of the following
parameters {d = 25 meters or d = 2500 meters; R = 10 Mbps or R = 10 Gbps}, compare the maximum network
throughput achievable when the hub is implementing: Slotted ALOHA; CSMA/CD.
Solution:
8
L = 12500 x 8 bits, tprop = d / (2.5 x 10 meters/sec), a = tprop R/L

Values for a:

R/d

Maximum Throughput for Slotted ALOHA:


R/d

Maximum throughput for CSMA-CD:

 
5. A token-ring LAN network interconnects M stations using a star topology in the following way. All the input and
output lines of the token-ring station interfaces are connected to a cabinet where the actual ring is placed. Suppose
that the distance from each station to the cabinet is 100 meters and that the ring latency per station is eight bits.
Assume that frames are 1250 bytes and that the ring speed is 25 Mbps.

Solutions follow questions:


d = 100 m from each station to the cabinet
8
v = 2 x 10 m/sec
b = 8 bits
L = 1250 bytes = 10000 bits
R = 25 Mbps

a. What is the maximum possible arrival rate that can be supported if stations are allowed to transmit an
unlimited number of frames/token?

When all stations are allowed to transmit an unlimited number of frames/token, ρmax = 1 and ρ = λX.

b. What is the maximum possible arrival rate that can be supported if stations are allowed to transmit 1
frame/token using single-frame operation?

You might also like