CS FundamentalsHardGATE CS
A 12 Mbps link uses weighted fair queueing with weights 3, 2 and 1 for classes X, Y and Z. What rate does each class get when all three are backlogged, and what do X and Y get when Z has nothing to send?
- A. 6, 4, 2 Mbps; then 7.2 and 4.8 Mbps
- B. 4, 4, 4 Mbps; then 6 and 6 Mbps
- C. 6, 4, 2 Mbps; then 8 and 4 Mbps
- D. 6, 4, 2 Mbps; then 6 and 4 Mbps
Correct answer: A. 6, 4, 2 Mbps; then 7.2 and 4.8 Mbps
Backlogged classes share by weight: 12 × 3/6, 2/6 and 1/6 give 6, 4 and 2 Mbps. WFQ is work-conserving, so Z's share is redistributed in the ratio 3 : 2, giving 7.2 and 4.8 Mbps; 6 and 4 Mbps would waste capacity.
More Computer Networks questions
- For how many prefix lengths from /20 to /30 (inclusive) is 10.17.83.191 the directed broadcast address of its subnet?
- A load-test client makes 500 short TCP connections per second to one server IP and port, and the client closes each first. Its TIMEWAIT…
- A SEC-DED memory code adds one overall parity bit to a Hamming code. On a read, the Hamming syndrome is non-zero but the overall parity…
- On an office LAN, users suddenly receive addresses with an unknown gateway, while the real DHCP server logs that its pool is exhausted…
- An attacker floods a switch with frames from thousands of random source MAC addresses. What happens, and which feature limits the damage?
- An NTP client sends a request at t1 = 100 ms (client clock); the server receives it at t2 = 150 ms and replies at t3 = 152 ms (server…