GATE / CS ARCHIVE

GATE CSE 2009 / QUESTION 47

Minimum sequence-number progression

Computer Networks · Transport, Congestion Control & Traffic Shaping · Full GATE CSE 2009 paper

GATE 2009, Q47 2 marks · MCQ
Report issue

Transport, Congestion Control & Traffic Shaping

Question 47, GATE 2009: TCP initial sequence numbers use the low 32 bits of a persistent time-of-day counter incremented once per millisecond. Maximum packet lifetime 64 s. The source asks the minimum permissible rate of sequence-number increase in a connection. Choices A 0.015/s; B 0.064/s; C 0.135/s; D 0.327/s. Connection duration is not specified; the listed-result derivation requires an explicit extra model.
Tap to enlarge
Your answer
Answer & solution

Answer: A (no official key was published)

Let S=232, clock rate C=1000/s, packet lifetime M=64 s, and a constant-rate connection start at time 0 with initial sequence number 0, so its sequence trajectory is q(t)=rt. For r<C, the next occurrence of this sequence value on the returning clock trajectory is at time (S+rt)/C. To let a packet sent at t expire before that clock reuse, require (S+rt)/C−t≥M, equivalently (C−r)t≤S−CM. Requiring this throughout a connection of duration D therefore gives r≥C−(S−CM)/D (with nonnegative rates understood). If the intended duration is one clock cycle, D=S/C, this becomes r≥C²M/S=1000²×64/232=0.0149011612/s, closest to A, 0.015/s. This is an exact conditional derivation under the stated constant-rate, returning-clock model. The question does not actually specify D: the tiny minimum is therefore conditional on the one-clock-cycle interpretation, not a universal minimum. In particular, every r<C eventually reaches the returning forbidden strip if the connection continues indefinitely. The original 1/M shortcut is unjustified and is not used. Conceptual reference: Tanenbaum, Computer Networks, 5th edition, Figure 6-10 (clock-based forbidden regions); https://csc-knu.github.io/sys-prog/books/Andrew%20S.%20Tanenbaum%20-%20Computer%20Networks.pdf .

Do not infer a universal rate from 64 seconds alone:1/64 is not derived from the supplied 32-bit clock. Under a constant-rate trajectory and a connection lasting exactly one clock wrap, substitution yields r≥1000²·64/2³²≈0.014901/s, nearest A. The baseline derives the time-to-reuse inequality and shows where that extra duration enters. For an indefinitely long connection, any rate below the clock slope eventually meets the returning forbidden region. Thus the numeric choice is conditional; absent the duration/model assumption, the prompt does not uniquely define that minimum.

Original paper, page 11