Processing Networks XIV: Random Proportional Scheduling for Packet NetworksTextbook
Motivation
Every packet-switched network — an internet router, a data-center fabric, a wireless base station — must decide, timeslot by timeslot, which of many competing transfers to schedule under shared physical constraints (link capacities, interference between simultaneous transmissions). Walton (2015) introduced the random proportional scheduler (RPS): rather than solving a combinatorial scheduling problem exactly, RPS picks a randomized link configuration whose mean matches the proportionally-fair allocation of Kelly (1997) applied at the link level, then disaggregates the resulting transfer budget across competing packet classes by independent random selection. J. G. Dai and J. Michael Harrison's Processing Networks: Fluid Models and Stability (Cambridge University Press, forthcoming; cited here from the authors' pre-publication draft, 2020-4-2, http://spnbook.org) devotes Sections 12.6-12.7 to this policy, and closes the book with Theorem 12.28: under an explicit load condition, RPS is stable. This mission formalizes that closing result and the machinery beneath it. It is the fourteenth and final mission of a series covering the book chapter by chapter; the series as a whole runs from the equivalence of stochastic-processing-network stability and fluid-model stability (mission I, Theorem 3.5/6.2) through discrete-time, slotted packet networks (missions XII-XIV), and this mission's own goal theorem is the last numbered result the book proves.
Setting
A packet network with fixed routing (Section 12.6) has I packet classes; each class i
routes, after one hop of processing, deterministically to a single successor class or exits the
network — encoded here as a function . The K
links are indexed by , and a matrix assigns each class to the single link its next
transfer uses; denotes the classes belonging to link . At the start of a
timeslot, is the vector of class-level packet counts and the
corresponding link-level counts. The RPS algorithm (four steps, page 245 of the printed book):
(a) solve the concave program (Eq. 12.57), where is the finite set of feasible link configurations
and its convex hull; (b) randomize a link configuration with mean ;
(c) transfer packets over link ; (d) select which packets to transfer uniformly
at random from each link's queue. This makes a discrete-time
Markov chain. The function is exactly the proportionally fair (PF) allocation function
of Section 10.1, applied here with the link-level demand vector in place of the PF model's
job-class demand vector.
Formalization targets
Goal: Theorem 12.28 — the load condition implies RPS stability
Here is the vector of external arrival rates, the resulting vector of total (external plus internally routed) arrival rates into each class, and the input-output matrix determined by . The load condition (12.50) is the natural feasibility requirement — average link traffic strictly below some feasible mean capacity — and the theorem asserts it is also sufficient for stability.
Supporting milestones
Lemma 12.23 is an almost-sure convergence result for a residual process tracking the gap between RPS's actual per-class transfers and their conditional means — a bounded martingale-difference sum, hence governed by the strong law of large numbers. Theorem 12.24 is the RPS fluid equation: along any fluid limit on the event where both Lemma 12.12's arrival-process SLLN and Lemma 12.23's residual-process SLLN hold, every occupied class's departure rate is pinned to . Proposition 12.26 identifies the resulting RPS fluid model as literally a special case of the PF fluid model of Section 10.4 (one demand group per link, playing the role of the PF model's reduced allocation set), and Theorem 12.27 is this chapter's own version of the fluid-to-stochastic transfer theorem (Theorem 6.2's slotted-time analogue, restricted to RPS): fluid stability of the RPS model implies positive recurrence of .
Significance
The result itself. Theorem 12.28 closes the loop the book opens with proportional fairness in Chapter 10: PF was introduced there as a static resource-allocation rule with no queueing content; Theorem 12.28 shows that layering PF onto a genuinely dynamic, multi-hop, discrete-time packet network — RPS — inherits stability under exactly the load condition one would hope for, with no loss from the randomized disaggregation step (d) of the algorithm. Combined with Theorem 12.8 (packet-network stability implies subcriticality, mission XII) and Eq. (12.50)'s equivalence to that subcritical region under fixed routing, this makes RPS maximally stable: it is stable whenever any Markovian policy could be.
Formalizing it. A live prior-art check (GET /theorems?q=proportional+scheduling) finds no
relevant hits on the platform. This mission's genuine content is Proposition 12.26's reduction:
rather than re-deriving an entropy-Lyapunov stability argument specific to RPS, it identifies the
RPS fluid model precisely with mission IX's PF fluid model under an explicit correspondence, so
that Theorem 12.28(a) is a direct instance of mission IX's own Theorem 10.5 and Theorem 12.28(b)
a direct instance of this mission's own Theorem 12.27. This is the payoff the whole
proportional-fairness apparatus (missions IX-X) was built for.
Difficulty
The central subtlety is that Theorem 12.24's departure-rate equation is stated in terms of a
class-indexed process , while the chapter's own general fluid-equation machinery
(Theorem 12.13, mission XII) is built around an activity-indexed process — a distinction that
matters when a packet network has more service types than classes. Under Sections 12.6-12.7's own
fixed-routing model, however, the book's remark that " ... is an I-vector of actual
packet transfers by class" (page 245) collapses this distinction: each class has a single
associated activity, so the activity-indexed and class-indexed views coincide, and the RPS fluid
model can be built directly on the same class-indexed apparatus the PF fluid model (Section 10.4)
already uses. Missing this identification is the natural way to get stuck restating Proposition
12.26 as a mere analogy rather than the literal equivalence the book states. A second difficulty
is Lemma 12.23 itself: its proof cites Feller's strong law for bounded martingale-difference
sequences as an external fact rather than deriving it, so a faithful statement must commit to an
explicit representation of "martingale difference sequence" (a filtration and Mathlib's
Martingale predicate) even though no full measure-theoretic construction of the underlying
probability space is attempted.
Formalization scope
Classes and links are Fin-indexed; route : Fin I → Option (Fin I) records each class's
deterministic routing successor (none meaning exit), and the resulting input-output matrix
and routing matrix are derived from it rather than taken as independent data (this chunk
verifies , the identity Proposition 12.26's reduction to the PF model relies on).
The RPS optimization apparatus (psi, groupAggregate, the PF fluid-model predicate) is restated
verbatim from mission IX, and the general packet-network fluid equations restated from mission
XII, since concurrently-drafted chunks in this series never import one another's Lean files even
within a shared sub-namespace. The formalization does not admit a trivializing reading: the load
condition in Theorem 12.28 is a genuine strict inequality against the convex hull of feasible
configurations (not weakened to or to a single configuration), RPSFluidStable quantifies
over every solution of the RPS fluid model (not a hand-picked one), and Proposition 12.26 is
stated as a two-sided equivalence, not a one-directional inclusion that would understate "special
case." Contributions completing the five by sorry proofs are welcome, particularly Lemma 12.23's
martingale strong law (Feller 1971, Theorem 3, Section VII.8) and Theorem 12.24's fluid-limit
argument (mirroring mission XII's own Theorem 12.13 proof).
Selected references
- J. G. Dai and J. Michael Harrison, Processing Networks: Fluid Models and Stability, Cambridge University Press (forthcoming), pre-publication draft 2020-4-2. http://spnbook.org
- N. S. Walton, "Concave switching in single and multihop networks," Queueing Systems 81 (2015), 265-299.
- F. P. Kelly, "Charging and rate control for elastic traffic," European Transactions on Telecommunications 8 (1997), 33-37.
- W. Feller, An Introduction to Probability Theory and Its Applications, Volume II, 2nd edition, Wiley, 1971.