Communication-Aware Scheduling of Serial Tasks for Dispersed Computing

Chien-Sheng Yang, Amir Salman Avestimehr, Ramtin Pedarsani

Dispersed computing—the practice of leveraging heterogeneous devices at the network edge, such as routers, sensors, and local servers—represents a significant shift from centralized cloud architectures. However, as computation moves closer to data sources, a critical bottleneck emerges: communication latency. This paper addresses the challenge of scheduling serial tasks in these environments, where moving data between nodes can be as time-consuming as the processing itself.

The Challenge: Communication as a First-Class Citizen

In traditional cloud computing, the high-speed interconnects between servers often allow researchers to assume that data transfer time is negligible. In dispersed computing (also known as edge or fog computing), this assumption fails. When a job consists of a sequence of tasks (e.g., Task A $\rightarrow$ Task B $\rightarrow$ Task C), a scheduler must weigh the benefits of a faster remote server against the "communication penalty" required to move the data there.

The problem is compounded by two factors:

  1. Heterogeneity: Nodes have varying processing speeds for different task types.
  2. Bandwidth Constraints: Limited network capacity between nodes can lead to congestion if too much data is offloaded.

Modeling and Methodology

The researchers model jobs as "chains" of tasks with strict precedence constraints. To solve the scheduling problem, they introduce a Virtual Queueing Network. Unlike standard models that only track jobs waiting for CPU time, this framework creates virtual queues for communication links. This allows data transfer to be treated as a scheduled service, just like computation.

Modeling serial task chains and their offloading to a dispersed computing platform.

The Max-Weight Policy

To manage these queues, the authors propose a scheduling policy based on the "Max-Weight" principle. At each time step, the scheduler evaluates the lengths of all processing and communication queues and selects actions that minimize the system's "drift." By prioritizing tasks in the most congested queues, the policy ensures that the network remains stable. Using fluid limit analysis and Lyapunov arguments, the authors mathematically prove that this policy is throughput-optimal, meaning it can handle any arrival rate within the network's theoretical capacity.

Key Results: The Impact of Communication Constraints

A central contribution of the paper is the characterization of the "Capacity Region" ($\Lambda$)—the set of all job arrival rates a network can sustain without becoming unstable. Through numerical simulations, the researchers demonstrated that ignoring communication constraints leads to a dangerous overestimation of network capacity.

Comparison of network capacity regions with and without communication constraints.

As shown in the figure above, a scheduler that is not "communication-aware" will eventually cause the network to congest and fail at arrival rates that a traditional model would deem safe. The Max-Weight policy, by contrast, successfully navigates these constraints to maintain stability.

Conclusion and Future Directions

By integrating network topology directly into the scheduling logic, this framework provides a robust foundation for dispersed computing. While the current work focuses on serial chains and broadcast-based Directed Acyclic Graphs (DAGs), future research may explore more complex routing for sparse networks. Additionally, the authors suggest that combining this communication-aware scheduling with "Coded Computing"—using mathematical redundancy to mitigate the impact of slow "straggler" nodes—could further enhance the resilience of edge networks.

Summary updated

BibTeX
@article{yang2019communication,
  author = {Chien-Sheng Yang and Amir Salman Avestimehr and Ramtin Pedarsani},
  title = {{Communication-Aware Scheduling of Serial Tasks for Dispersed Computing}},
  journal = {IEEE/ACM Trans. Networking},
  year = {2019},
  doi = {10.1109/tnet.2019.2919553},
}
Figure