Beruflich Dokumente
Kultur Dokumente
3. A1.router
1 attached to mail server is responsible only for receiving and smoothing e-mail. The
router is equipped with the leaky-bucket traffic-shaping scheme, whereby the capacity of the grant
buffer is set on window size ‰ = 4. Packets arrive at » = 20 packets per second, and grants arrive
at g = 30 packets per second. Packet arrival during 1 /g is distributed according to Poisson. Assume
that P = 0.007.
1. Find the probability that k packets arrive during 1 /g, denoted by P X (k).
2. Find the probabilities that 0, 1, 2, and 3 grants are allocated to arriving packets.
3. Find all the transition probabilities for four states 0, 1, 2, and 3.
4. Sketch a Markov chain representing the number of grants allocated to packets for the first
four states.
4. Consider a token-bucket traffic shaper. Let the bucket size be b bits and the token arrival
rate be ½ b/s; let the maximum output data rate be z b/s.
1. Derive an equation for T b , the time consumed for a flow to be transmitted at the
maximum rate.
2. Find T b when the bucket size is b = 0.5 Mb, ½ = 10 Mb/s, and z = 100 Mb/s.
6. Derive an expression for a priority scheduler to present the mean residual service time, 𝑟𝑖 ,
used in Equation (12.10). (Hint: Use𝜇𝑖 .)
8. We want to compare the impact of an increased number of inputs on total delay in priority
schedulers. Assume that all components of a three-flow (n = 3) and a four-flow (n = 4) priority
scheduler are identical: » i = » = 0.2/ms, 1 / µ i = 1 / µ = 1/ms, and r i = r = 0.5/ms. Find the
total system delay for a packet passing queue 3 denoted by E [T 3]. Do the following
9. Suppose that four flows are processed in a router that accepts only equal-size packets.
Packets in these flows arrive at the following virtual clock times:
Flow 1: 4, 5, 6, 7, 9
Flow 2: 1, 6, 9, 12, 14
Flow 3: 1, 4, 8, 10, 12
Flow 4: 2, 4, 5, 6, 12
1. For each packet, give the virtual clock count at which it is transmitted, using fair
queueing. If the arrival times of two packets are the same, the smaller flow number is
selected.
2. Now consider weighted fair queueing, whereby flows 1, 2, 3, and 4 are given 10 percent,
20 percent, 30 percent, and 40 percent of the output capacity, respectively. For each
packet, give the virtual clock count at which it is transmitted.
13. Each output port processor unit of a router has four inputs designated to four different flows.
The unit receives the packets in the following order during a period in which the output port
is busy but all queues are empty. Give the order in which the packets are transmitted.
Flow:1, 1, 1, 1, 1, 1, 2, 2, 3, 3, 3, 4
Packet size: 110, 110, 110, 100, 100, 100, 100, 200, 200, 240, 240, 240
14. In Figure 12.16, flows A, B, C, and D are processed at one of the outputs of a router. For
each packet, the time it arrives and its label are indicated in the figure. Specify the order of
packets transmitted at this output, using the following three schedulers. All schedulers scan the
flows, starting from flow A.
Figure 12.16. Exercise 14 comparison of priority queueing, fair queueing, and weighted fair
queueing on processing of four flows
15. Figure 12.17 shows four flows (A, B, C, and D) to be processed at one of the outputs of a
router. For each packet, the time it arrives and its label are indicated in the figure. Specify the
order of packets transmitted at this output, using the following three schedulers. All schedulers
scan the flows, starting from flow A.
Figure 12.17. Exercise 15 comparison of priority queueing, fair queueing, and weighted fair
queueing on processing of four flows
1. Consider a commercial wireless mobile telephone system whose transmitter and receiver
are located 9.2 km apart. Both use isotropic antennas. The medium through which the
communication occurs is not a free space, and it creates conditions such that the path loss
is a function of d3 and not d2. Assume that the transmitter operating at the frequency of
800 MHz communicates with a mobile receiver with the received power of 10-6
microwatts.
a. Find the effective area of the receiving antenna.
b. Find the required transmission power.
3. A cellular network over 1,800 km2 supports a total of 800 radio channels. Each cell has an
area of 8 km2.
a. If the cluster size is 7, find the system capacity.
b. Find the number of times a cluster of size 7 must be replicated to approximately cover
the entire area.
c. What is the impact of the cluster size on system capacity?
4. Consider a cellular network with 128 cells and a cell radius r=3 km. Let g be 420 traffic
channels for a N = 7-channel cluster system.
a. Find the area of each hexagonal cell.
b. Find the total channel capacity.
c. Find the distance between the centers of nearest neighboring cochannel cells.
5. If cells split to smaller cells in high-traffic areas, the capacity of the cellular networks for
that region increases.
a. What would be the trade-off when the capacity of the system in a region increases as a
result of cell splitting?
b. Consider a network with 7-cell frequency reuse clustering. Each cell must preserve its
base station in its center. Construct the cell-splitting pattern in a cluster performed from
the center of the cluster.
6. We would like to simulate the mobility and handoff in cellular networks for case 4
described in this chapter. Assume 25 mph k 45 mph within city and 45 mph k 75 mph
for highway. Let db be the distance a vehicle takes to reach a cell boundary, ranging from
-10 miles to 10 miles.
a. Plot the probability of reaching a cell boundary for which a handoff is required. Discuss
why the probability of reaching a boundary decreases in an exponential manner.
b. Show that the probability of reaching a cell boundary for a vehicle that has a call in
progress is dependent on db.
c. Show the probabilities of reaching a cell boundary as a function of a vehicle's speed.
d. Discuss why the probability of reaching a cell boundary is proportional to the vehicle's
speed.