πŸŽ“ BookMCQ
← Back to 30. Quality of Service

πŸ“ IntServ limitations and problems (10 MCQs)

Per-Flow State Creates a Scaling Challenge

IntServ can provide explicit per-flow service objectives, but its design creates operational and scaling challenges in large networks. Routers maintain reservation state for individual flows and must process signalling, classification and admission decisions. As the number of concurrent flows grows, memory, processing and refresh-message overhead can become substantial, particularly in high-speed network cores. These costs rise as the number of sessions grows.

Router Memory, Processing and Signalling Overhead

Each admitted flow may require stored traffic parameters, filters, resource accounting and scheduler treatment. RSVP messages must establish and refresh state, while routing changes can require reservations to be installed on new paths. Administrative policies and service support must also be coordinated among domains for consistent end-to-end behavior. This includes timers and status records.

Maintaining Reservations Across Changing Network Paths

When a new flow starts, signalling reaches the routers on its route and triggers per-flow checks. Each node stores state if the request succeeds and later processes refresh or teardown messages. A large number of short-lived flows can produce frequent setup and removal activity, increasing control-plane work beyond ordinary packet forwarding.

Example: A Core Router with Many Active Flows

Imagine a core router carrying 500,000 active application flows. If it maintains separate reservation and filter state for every flow, memory and update processing become demanding. An aggregate-based approach can reduce that burden by grouping packets into classes, although it provides less explicit per-flow reservation information inside the core. The figure represents a simultaneous active load.

Operational Complexity Across Multiple Administrative Domains

IntServ's operational demands explain why DiffServ is often preferred for large backbones, where aggregate treatment is more scalable. IntServ remains useful in controlled networks or selected access segments where explicit per-flow requirements justify the state. Interworking also requires care when a path includes devices that do not support the requested service.

Limitations Do Not Mean IntServ Cannot Provide QoS

'IntServ cannot provide real QoS' is incorrect because it defines explicit service models. 'The only limitation is bandwidth' ignores router state, signalling and administration. 'DiffServ guarantees the same per-flow details' is false because DiffServ generally treats aggregates using per-hop behaviors rather than maintaining reservation state for every microflow. This distinction matters at scale.

IntServ Scalability and Deployment Trade-Offs

Explain the source of IntServ state and signalling overhead, and compare it with DiffServ aggregation. In scenario questions, identify when per-flow guarantees justify the complexity and when a large number of flows makes aggregate treatment more practical. Avoid claiming that IntServ is technically incapable; its main difficulty is deployment scale.

IntServ Scalability and Deployment Terms

  • Per-flow state - Router information maintained for each admitted flow.
  • Scalability - Ability to handle growth in network size.
  • Signalling overhead - Control traffic used to establish and refresh state.
  • Microflow - Individual application-to-application packet flow.
  • Aggregation - Combining flows for shared network treatment.
  • Control plane - Network functions managing routing and service state.
3
Easy
5
Medium
2
Hard

πŸ“ All IntServ limitations and problems MCQs

Q1. In the Chord protocol, when a node N fails, what immediate change occurs to the successor pointer of its predecessor node?

A.The predecessor's successor pointer is updated to point to N's former successor. βœ…
B.The predecessor loses its successor pointer and must discover a new one.
C.Only the predecessor's finger table entries become invalid.
D.There is no immediate effect on the predecessor.
πŸ’‘ Difficulty: easy | βœ… Correct: A

πŸ“– Explanation: When a node crashes, its immediate predecessor learns of the failure during the next stabilization round. It then replaces the lost successor with the failed node's own successor, preserving the ring continuity. This update is localized to the predecessor and does not require global knowledge, ensuring quick recovery of the pointer.

Q2. With identifier space size m=5m = 5 (i.e., 25=322^{5}=32 identifiers), node N=7N = 7 builds its finger table. What is the target key for the 3rd entry (i=3i = 3)?

A.9
B.10
C.11 βœ…
D.12
πŸ’‘ Difficulty: medium | βœ… Correct: C

πŸ“– Explanation: The target key for entry ii is calculated as N+2iβˆ’1N + 2^{i-1} modulo 2m2^{m}. Substituting N=7N = 7 and i=3i = 3 gives 7+22=7+4=117 + 2^{2} = 7 + 4 = 11. Since 11 is less than 32, the modulo operation does not change the value, so the correct target key is 11.

Q3. How does the size of Chord's finger table compare to Kademlia's routing table for the same identifier length mm?

A.Chord's table grows logarithmically, Kademlia's grows linearly.
B.Both grow logarithmically, but Kademlia stores more contacts per bucket.
C.Chord's table is fixed at mm entries, while Kademlia's has mm buckets each potentially holding multiple nodes. βœ…
D.Kademlia uses a finger table identical to Chord's.
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: Chord maintains exactly mm finger entries, each pointing to the first node that succeeds N+2iβˆ’1N + 2^{i-1}. Kademlia, on the other hand, defines mm buckets based on XOR distance; each bucket may contain several nodes, providing redundancy and faster lookups. Therefore, while both structures have mm logical positions, Kademlia's routing table can hold many more contacts.

Q4. If the identifier length mm is increased, what is the expected effect on the average number of hops required for a lookup in Chord?

A.Hops increase linearly with mm.
B.Hops stay constant because routing uses successor lists.
C.Hops decrease because more nodes are available.
D.Hops increase logarithmically with the number of nodes, which grows with 2m2^{m}. βœ…
πŸ’‘ Difficulty: medium | βœ… Correct: D

πŸ“– Explanation: Chord’s lookup algorithm follows a logarithmic progression: each hop roughly halves the distance to the target identifier. Raising mm expands the identifier space exponentially, which typically adds more nodes. The average hop count therefore grows as log⁑2N\log_2 N, where NN is the number of nodes, leading to a logarithmic increase relative to the larger space.

Q5. In Chord, a node stores a key-value pair \(k, v)\ where \k \ is the hash of a data item and \v \ is the address of the peer that actually holds the data. What does this separation imply?

A.The node responsible for \k \ may be different from the node that stores the actual file. βœ…
B.All data must be stored on the same node that holds the key.
C.The value \v \ is redundant and never used.
D.Keys and values are always stored on the same physical machine.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: Chord decouples responsibility for a key from the location of the data itself. The node whose identifier succeeds \k \ (the successor) holds the \(k, v)\ pair, but \v \ can point to any other peer that hosts the actual file. This design enables load balancing and flexible data placement while preserving deterministic lookup via the successor.

Q6. A series of node departures partitions the Chord ring into two disjoint segments. Which strategy best restores a consistent view of the identifier space?

A.Ignore the partition and let lookups fail.
B.Run a stabilization protocol that updates successor and predecessor pointers across the partition boundary. βœ…
C.Rehash all keys to a new identifier space.
D.Increase the finger table size temporarily.
πŸ’‘ Difficulty: hard | βœ… Correct: B

πŸ“– Explanation: When a partition occurs, the ring’s continuity is broken, causing incorrect routing. The standard stabilization process periodically checks and corrects successor and predecessor links. By forcing nodes at the partition edges to exchange updated pointers, the ring can be re‑joined without global rehashing, restoring a single coherent identifier circle.

Q7. Given node 14 with key \(110.34.56.20, 5200)\ and its successor listed as 80.201.52.40, which sequence of hops will a lookup for key 5200 from node 14 most likely follow?

A.Directly to 80.201.52.40 because it is the successor. βœ…
B.Through node 14’s finger table entry for \N+2^{0} \.
C.It will first query its predecessor before reaching the successor.
D.The lookup fails because the key is stored locally.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: In Chord, a node forwards a query to its immediate successor when that successor is responsible for the target key. Since node 14’s successor is 80.201.52.40 and the key 5200 falls within the range that the successor owns, the lookup is resolved in a single hop directly to that successor.

Q8. Treating a node failure as a 'departure' versus a 'crash' influences Chord's stabilization. Which of the following best describes the impact of treating failures as departures?

A.Stabilization messages are suppressed, leading to slower recovery.
B.Successor lists are not updated, causing stale pointers.
C.The protocol assumes the node will rejoin, so it does not remove references promptly.
D.The departure model triggers immediate finger table repairs, improving resilience. βœ…
πŸ’‘ Difficulty: hard | βœ… Correct: D

πŸ“– Explanation: When a failure is interpreted as a departure, the protocol follows the normal leave procedure: successors and predecessors are updated, and finger tables are repaired during the next stabilization round. This proactive handling removes stale references quickly, ensuring that routing information remains accurate and that the system can tolerate further churn.

Q9. Why does Chord use modulo \2^{m} \ arithmetic for its identifier space?

A.To avoid collisions between keys.
B.To ensure identifiers are prime numbers.
C.To wrap around the circular identifier space, allowing continuous successor lookup. βœ…
D.To simplify hash function computation.
πŸ’‘ Difficulty: easy | βœ… Correct: C

πŸ“– Explanation: Modulo \2^{m} \ arithmetic creates a closed ring where the highest identifier wraps back to zero. This circular arrangement enables each node to define a successor as the next identifier clockwise, guaranteeing that any key has a well‑defined owner and that lookups can traverse the ring without encountering gaps.

Q10. In Chord terminology, what is the 'successor' of a key \k \?

A.The first node whose identifier is greater than or equal to \k \ when moving clockwise on the identifier circle. βœ…
B.The node with the smallest identifier in the entire ring.
C.The node that originally inserted the key into the DHT.
D.The node that stores the value \v \ associated with \k \.
πŸ’‘ Difficulty: medium | βœ… Correct: A

πŸ“– Explanation: The successor of a key is defined as the node encountered first when moving clockwise from \k \ around the identifier circle whose identifier meets or exceeds \k \. This node is responsible for storing the \(k, v)\ pair, ensuring that every possible key maps to a unique location in the distributed hash table.

πŸ”— Related Topics (MCQs)