Scheduling with Bounded Information: Correctness, Progress, and Near-Optimal Performance in DTA
Authors/Creators
Description
Every practical distributed scheduler makes placement decisions with an incomplete, purely local view of system state: no worker can afford to observe every peer's queue before deciding where to route a task, so observed information is inherently bounded and stale. This paper studies how much can be guaranteed --- correctness, progress, and near-optimal makespan --- from a scheduler that deliberately restricts itself to such bounded information, and quantifies the price of that restriction against schedulers (e.g.\ work-stealing) that acquire more information per decision. We use the \textsc{DTA} distributed task scheduler ($N$ workers, SPSC mailboxes, Vyukov MPMC warehouse, hop-bounded deflection) as the concrete vehicle for this study: DTA routes tasks using only local queue occupancy and a bounded-hop deflection rule, never a global or neighbourhood queue scan.
Using a second-quantisation Fock-space algebra and kinetic theory, we establish six main results. (I) Four correctness theorems (task conservation, deadlock and livelock freedom, linearizability), generalized to a continuity law that accounts for task creation and cancellation as explicit source and sink terms rather than assuming a fixed task population. (II) Bounded waiting time with an explicit, distribution-free ceiling $W_{\max}(N,L,C_W,K,\delta)$ and $k$-bounded fairness. (III) Quantitative performance bounds including mean-field load balance ($O(1/\sqrt{N})$ imbalance), an explicit BBGKY Level-2 pair- and triplet-correlator closure ($O(1/N)$ and $O(1/N^2)$, in closed form rather than order alone), a three-line makespan bound (deterministic, Gumbel fluctuation, and a Cram\'er-type exponential tail sharper than either), a four-level stability ladder, fork-join DAG bounds via a sequential-nucleation kinetic equation with an analogous exact finite-size correlator, and a closed-form extension of the load-balance analysis to Markov-modulated (bursty) arrivals.
With correctness and progress established and performance characterised, we turn to how the restriction compares against alternatives and what it costs to lift. (IV) Competitive analysis with an adversarial BoT bound $\rho_c^{\mathrm{DTA,worst}} \leq 1 + N\lfloor N/2\rfloor\delta_{\mathrm{hop}}/W \to 1$. (V) Empirical validation against the real, unmodified scheduler (not a simulation): the bounded-wait, $k$-fairness, and batch-makespan bounds hold at the paper's own published parameters, while the fork-join and information-acquisition-cost predictions are directionally but not quantitatively confirmed, a gap discussed openly rather than fitted away. (VI) An information-theoretic cost framework that decomposes the achieved-to-oracle makespan ratio into an information gap $\eta_{\mathrm{info}}$ and a utilisation ratio $\eta_{\mathrm{util}}$, proves both tend to $1$ for DTA as total work $W \to \infty$ (so DTA is heavy-traffic information-optimal, matching the fully-informed offline oracle to leading order), and shows that at any fixed, moderate system scale DTA's information-\emph{acquisition} cost is $\Omega(\log N)$ lower than work-stealing's on NUMA topologies, with a concrete crossover analysis for dual-socket systems.
Taken together, these results show that bounded-information scheduling is not merely a practical compromise but can be made \emph{provably near-optimal}: DTA loses essentially nothing to schedulers with a wider information window in the heavy-traffic limit, while paying a strictly lower and asymptotically smaller acquisition cost at any fixed scale.
Files
main.pdf
Additional details
Related works
- References
- Software: 10.5281/zenodo.20002105 (DOI)
Dates
- Available
-
2026-10-18
- Created
-
2026-06-28
- Submitted
-
2026-10-18
- Copyrighted
-
2026-06-28
Software
References
- Umut A. Acar, Guy E. Blelloch, and Robert D. Blumofe. The data locality of work stealing. Theory of Computing Systems, 35(3):321–347, 2002.
- Apich-Organization. DTA distributed task scheduler — source code. https://github.com/Apich-Organization/dtact/, 2026. Hash routing implementation in src/dta_scheduler.rs.
- Apich-Organization. DTA GitHub actions benchmark run #28292910228. https://github.com/Apich-Organization/dtact/actions/runs/28292910228, 2026.
- Apich-Organization. Dtact: DTA distributed task scheduler. https://github.com/Apich-Organization/dtact/, 2026.
- Nimar S. Arora, Robert D. Blumofe, and C. Greg Plaxton. Thread scheduling for multiprogrammed multiprocessors. Theory of Computing Systems, 34(2):115–144, 2001.
- Yossi Azar, Andrei Z. Broder, Anna R. Karlin, and Eli Upfal. Balanced allocations. SIAM Journal on Computing, 29(1):180–200, 1999.
- Robert D. Blumofe and Charles E. Leiserson. Scheduling multithreaded computations by work stealing. Journal of the ACM, 46(5):720–748, 1999.
- Hans-J. Boehm and Sarita V. Adve. Foundations of the C++ concurrency memory model. In Proceedings of the 29th ACM SIGPLAN Conference on Programming Language Design and Implementation (PLDI), pages 68–78, New York, NY, 2008. ACM.
- Nikolai N. Bogoliubov. Kinetic equations. Journal of Physics USSR, 10:265–274, 1946.
- Ludwig Boltzmann. Weitere Studien über das Wärmegleichgewicht unter Gasmolekülen. Wiener Berichte, 66:275–370, 1872.
- Max Born and Herbert S. Green. A General Kinetic Theory of Liquids. Cambridge University Press, Cambridge, UK, 1949.
- Allan Borodin and Ran El-Yaniv. Online Computation and Competitive Analysis. Cambridge University Press, Cambridge, UK, 1998.
- Allan Borodin, Jon Kleinberg, Prabhakar Raghavan, Madhu Sudan, and David P. Williamson. Adversarial queuing theory. In Proceedings of the 28th Annual ACM Symposium on Theory of Computing (STOC), pages 376–385, 1996.
- Brook Brook and Jorge Bogner. Criterion.rs: Statistics-driven micro-benchmarking for Rust. https://github.com/bheisler/criterion.rs, 2025.
- Carlo Cercignani. The Boltzmann Equation and Its Applications. Springer-Verlag, New York, 1988.
- Sydney Chapman and Thomas G. Cowling. The Mathematical Theory of Non-Uniform Gases. Cambridge University Press, Cambridge, UK, 3rd edition, 1970.
- David Chase and Yossi Lev. Dynamic circular work-stealing deque. In Proceedings of the 17th Annual ACM Symposium on Parallel Algorithms and Architectures (SPAA), pages 21–28, New York, NY, 2005. ACM.
- Jeff Cheeger. A lower bound for the smallest eigenvalue of the Laplacian. In Robert C. Gunning, editor, Problems in Analysis: A Symposium in Honor of Salomon Bochner, pages 195–199. Princeton University Press, 1970.
- Edward G. Coffman and Ronald L. Graham. Optimal scheduling for two-processor systems. Acta Informatica, 1(3):200–213, 1972.
- Thomas M. Cover and Joy A. Thomas. Elements of Information Theory. Wiley-Interscience, Hoboken, NJ, 2nd edition, 2006.
- Bernard Derrida. Non-equilibrium steady states: Fluctuations and large deviations of the density and of the current. Journal of Statistical Mechanics: Theory and Experiment, 2007(07):P07023, 2007.
- Persi Diaconis and Daniel Stroock. Geometric bounds for eigenvalues of Markov chains. Annals of Applied Probability, 1(1):36–61, 1991.
- Paul A. M. Dirac. The quantum theory of the emission and absorption of radiation. Proceedings of the Royal Society of London Series A, 114(767):243–265, 1927.
- Richard P. Feynman, Robert B. Leighton, and Matthew Sands. The Feynman Lectures on Physics, Vol. II: Mainly Electromagnetism and Matter. Addison-Wesley, Reading, MA, 1964.
- Richard P. Feynman, Robert B. Leighton, and Matthew Sands. The Feynman Lectures on Physics, Vol. III: Quantum Mechanics. Addison-Wesley, Reading, MA, 1965.
- James Allen Fill. Eigenvalue bounds on convergence to stationarity for nonreversible Markov chains, with an application to the exclusion process. Annals of Applied Probability, 1(1):62–87, 1991.
- Ronald A. Fisher and Leonard H. C. Tippett. Limiting forms of the frequency distribution of the largest or smallest member of a sample. Mathematical Proceedings of the Cambridge Philosophical Society, 24(2):180–190, 1928.
- Vladimir A. Fock. Konfigurationsraum und zweite Quantelung. Zeitschrift für Physik, 75(9–10):622–647, 1932.
- Fredrick G. Foster. On the stochastic matrices associated with certain queuing processes. Annals of Mathematical Statistics, 24(3):355–360, 1953.
- Crispin W. Gardiner. Handbook of Stochastic Methods. Springer-Verlag, Berlin, 3rd edition, 2004.
- Ronald L. Graham. Bounds on multiprocessing timing anomalies. SIAM Journal on Applied Mathematics, 17(2):416–429, 1969.
- Emil J. Gumbel. Statistics of Extremes. Columbia University Press, New York, 1958.
- Andreas Haas, Thomas Hütter, Christoph M. Kirsch, Michael Lippautz, Hannes Payer, Ana Sokolova, and Andrea Zwick. Distributed queues in shared memory: Multicore performance and scalability through quantitative relaxation. In Proceedings of the ACM International Conference on Computing Frontiers (CF), pages 1–9, New York, NY, 2015. ACM.
- Maurice Herlihy and Nir Shavit. The Art of Multiprocessor Programming. Morgan Kaufmann, Burlington, MA, 2008.
- Maurice P. Herlihy and Jeannette M. Wing. Linearizability: A correctness condition for concurrent objects. ACM Transactions on Programming Languages and Systems, 12(3):463–492, 1990.
- Haye Hinrichsen. Non-equilibrium critical phenomena and phase transitions into absorbing states. Advances in Physics, 49(7):815–958, 2000.
- Pascual Jordan and Eugene P. Wigner. Über das Paulische Äquivalenzverbot. Zeitschrift für Physik, 47(9–10):631–651, 1928.
- Mark Kac. Foundations of kinetic theory. In Proceedings of the Third Berkeley Symposium on Mathematical Statistics and Probability, volume 3, pages 171–197, Berkeley, CA, 1956. University of California Press.
- Frank P. Kelly. Reversibility and Stochastic Networks. Wiley, Chichester, 1979.
- John G. Kirkwood. The statistical mechanical theory of transport processes I. The Journal of Chemical Physics, 14(3):180–201, 1946.
- Leonard Kleinrock. Queueing Systems, Volume 1: Theory. Wiley-Interscience, New York, 1975.
- Lev D. Landau and Evgeny M. Lifshitz. The Classical Theory of Fields, volume 2 of Course of Theoretical Physics. Butterworth-Heinemann, Oxford, 4th edition, 1975.
- Lev D. Landau and Evgeny M. Lifshitz. Quantum Mechanics (Non-Relativistic Theory), volume 3 of Course of Theoretical Physics. Butterworth-Heinemann, Oxford, 3rd edition, 1977.
- Lev D. Landau and Evgeny M. Lifshitz. Statistical Physics, Part 1, volume 5 of Course of Theoretical Physics. Butterworth-Heinemann, Oxford, 3rd edition, 1980.
- Malcolm R. Leadbetter, Georg Lindgren, and Holger Rootzén. Extremes and Related Properties of Random Sequences and Processes. Springer-Verlag, New York, 1983.
- Jan K. Lenstra and Alexander H. G. Rinnooy Kan. Complexity of machine scheduling problems. Annals of Discrete Mathematics, 1:343–362, 1977. See also: Lenstra & Rinnooy Kan, Oper. Res. 26(1):22–35, 1978.
- Evgeny M. Lifshitz and Lev P. Pitaevskii. Physical Kinetics, volume 10 of Course of Theoretical Physics. Butterworth-Heinemann, Oxford, 1981.
- John D. C. Little. A proof for the queuing formula: L = λW . Operations Research, 9(3):383–387, 1961.
- Jr. McKean, Henry P. Propagation of chaos for a class of non-linear parabolic equations. In Stochastic Differential Equations, volume 7 of Lecture Series in Differential Equations, pages 41–57. Catholic University of America, Washington, DC, 1967.
- Sean P. Meyn and Richard L. Tweedie. Markov Chains and Stochastic Stability. Cambridge University Press, Cambridge, UK, 2nd edition, 2009.
- Michael Mitzenmacher. The power of two choices in randomized load balancing. IEEE Transactions on Parallel and Distributed Systems, 12(10):1094–1104, 2001.
- Michael Mitzenmacher and Eli Upfal. Probability and Computing: Randomization and Probabilistic Techniques in Algorithms and Data Analysis. Cambridge University Press, Cambridge, UK, 2nd edition, 2017.
- James R. Norris. Markov Chains. Cambridge University Press, Cambridge, UK, 1997.
- Gunter M. Schütz. Exactly solvable models for many-body systems far from equilibrium. In Cyril Domb and Joel L. Lebowitz, editors, Phase Transitions and Critical Phenomena, volume 19, pages 1–251. Academic Press, London, 2001.
- Claude E. Shannon. A mathematical theory of communication. The Bell System Technical Journal, 27:379–423, 623–656, 1948.
- Daniel D. Sleator and Robert E. Tarjan. Amortized efficiency of list update and paging rules. Communications of the ACM, 28(2):202–208, 1985.
- Jr. Stidham, Shaler. Optimal control of admission to a queueing system. IEEE Transactions on Automatic Control, 30(8):705–713, 1985.
- Alain-Sol Sznitman. Topics in propagation of chaos. In École d'Été de Probabilités de Saint-Flour XIX, volume 1464 of Lecture Notes in Mathematics. Springer, Berlin, 1991.
- Tokio Contributors. Loom: Permutation testing for concurrent Rust code. https://github.com/tokio-rs/loom, 2024. Concurrency model checker for lock-free data structures.
- Tokio Contributors. Tokio: An asynchronous Rust runtime. https://github.com/tokio-rs/tokio, 2026. Version 1.x; multi_thread scheduler with work-stealing deque.
- R. Kent Treiber. Systems programming: Coping with parallelism. Technical Report RJ 5118, IBM Almaden Research Center, 1986.
- Nikita D. Vvedenskaya, Roland L. Dobrushin, and Fridrikh I. Karpelevich. Queueing system with selection of the shortest of two queues: An asymptotic approach. Problems of Information Transmission, 32(1):15–27, 1996.
- Dmitry Vyukov. Bounded MPMC queue. https://www.1024cores.net/home/lock-free-algorithms/queues/bounded-mpmc-queue, 2010.
- Richard R. Weber and Gideon Weiss. On an index policy for restless bandits. Journal of Applied Probability, 27(3):637–648, 1990.
- Jacques Yvon. La Théorie Statistique des Fluides et l'Équation d'État. Hermann, Paris, 1935.
- Masao Doi. Second quantization representation for classical many-particle system. Journal of Physics A: Mathematical and General, 9(9):1465–1477, 1976.
- Luca Peliti. Path integral approach to birth-death processes on a lattice. Journal de Physique, 46(9):1469–1483, 1985.
- Marcel F. Neuts. Matrix-Geometric Solutions in Stochastic Models: An Algorithmic Approach. Johns Hopkins University Press, Baltimore, 1981.
- Guy Latouche and Vaidyanathan Ramaswami. Introduction to Matrix Analytic Methods in Stochastic Modeling. SIAM, Philadelphia, 1999.
- T. E. Harris. A correlation inequality for markov processes in partially ordered state spaces. The Annals of Probability, 5(3):451–454, 1977.
- Uwe C. T¨auber, Martin Howard, and Benjamin P. Vollmayr-Lee. Applications of field-theoretic renormalization group methods to reaction-diffusion problems. Journal of Physics A: Mathematical and General, 38(17):R79–R131, 2005.
- Harald Cram´er. Sur un nouveau th´eor`eme-limite de la th´eorie des probabilit´es. Actualit´es Scientifiques et Industrielles, 736:5–23, 1938.
- Amir Dembo and Ofer Zeitouni. Large Deviations Techniques and Applications. Springer, New York, 2nd edition, 1998.
- C. M. Fortuin, P. W. Kasteleyn, and J. Ginibre. Correlation inequalities on some partially ordered sets. Communications in Mathematical Physics, 22(2):89–103, 1971.
- Wolfgang Fischer and Kathleen Meier-Hellstern. The Markov-Modulated Poisson process (MMPP) cookbook. Performance Evaluation, 18(2):149–171, 1993.
- Arnold O. Allen. Probability, Statistics, and Queueing Theory: With Computer Science Applications. Academic Press, Boston, 2nd edition, 1990.
- Maged M. Michael. Hazard pointers: Safe memory reclamation for lock-free objects. IEEE Transactions on Parallel and Distributed Systems, 15(6):491–504, 2004.