PORA: Predictive Offloading and Resource Allocation in Dynamic Fog Computing Systems

Xin Gao, Xi Huang, Simeng Bian, Ziyu Shao, Yang Yang2019

TL;DR

This paper introduces PORA, a novel predictive offloading and resource allocation scheme for multi-tiered fog computing systems. PORA leverages future workload predictions to dynamically balance power consumption and latency, achieving near-optimal performance and significant latency reductions even with imperfect predictions.

What Problem Does This Paper Address?

The proliferation of real-time IoT applications demands low-latency processing, which fog computing aims to provide by bringing computation closer to data sources. In multi-tiered fog systems, devices can offload tasks to nearby fog nodes, which can then further offload to higher-tier fog nodes or the cloud. While this hierarchical offloading promises reduced latency, it introduces challenges: the trade-off between power consumption and latency, the dynamic nature of wireless environments, and the difficulty of making optimal decisions in real-time. Existing solutions often struggle with these uncertainties or don't fully explore the benefits of predictive offloading. This paper addresses the need for an efficient, online, and predictive approach to manage workload offloading and resource allocation in these complex, dynamic fog environments.

Methods

The authors propose PORA (Predictive Offloading and Resource Allocation), an efficient and distributed scheme that operates on a time-slot basis. PORA formulates the problem as a stochastic network optimization problem, aiming to minimize long-term average power consumption while guaranteeing queue stability.

Key methodological contributions include:

  • Fine-grained Queueing Model: A detailed model is developed to capture the dynamics of multi-tiered fog systems, including prediction queues, arrival queues, local processing queues, and offloading queues at both edge fog nodes (EFNs) and central fog nodes (CFNs).
  • Lyapunov Optimization: This technique is used to transform the complex, long-term optimization problem into a series of manageable, per-time-slot subproblems.
  • Predictive Offloading: PORA explicitly incorporates a prediction window to anticipate future workload arrivals. This allows for proactive resource allocation and offloading decisions.
  • Distributed Decision Making: The algorithm is designed to be distributed, with each fog node making its own offloading, CPU frequency, and transmit power decisions based on local queue states and predictions.
  • Water-Filling Algorithm: Used for optimal transmit power allocation for EFNs.
  • Bisection Method: Employed to efficiently find optimal CPU frequencies and transmit power allocation parameters.

Datasets

Not discussed in the paper. The authors mention using "previous measurements [26]" for average flow arrival rates and flow sizes to simulate realistic traffic patterns.

Key Insights and Ideas

  • Predictive Offloading is Key: The paper strongly advocates for predictive offloading, demonstrating that even "mild-value of predictive information" can significantly reduce latency without substantial performance degradation.
  • Tunable Power-Latency Tradeoff: PORA offers a tunable tradeoff between power consumption and latency, controlled by a parameter 'V'. A higher 'V' prioritizes lower power consumption at the cost of higher latency, and vice-versa.
  • Robustness to Prediction Errors: PORA shows remarkable resilience to prediction errors (false alarms and missed detections). While errors do cause some performance degradation, this effect diminishes significantly as the 'V' parameter increases, suggesting a way to achieve robustness.
  • Network Topology Matters: The paper highlights how network topology (specifically, the out-degree of fog nodes) impacts performance. Denser connectivity allows for better offloading decisions and improved latency-power tradeoffs.
  • Decoupling for Efficiency: The use of Lyapunov optimization and a non-trivial transformation allows the complex problem to be decomposed into simpler, solvable subproblems, making the online decision-making computationally feasible.

Key Results

  • Latency Reduction: PORA effectively shortens average queueing latencies, particularly on EFN arrival queues, achieving near-zero latency with moderate prediction window sizes (e.g., W=20).
  • Near-Optimal Power Consumption: Theoretical analysis and simulations show that PORA achieves near-optimal power consumption with queue stability guarantees.
  • Performance vs. 'V': Increasing 'V' leads to lower power consumption but higher queue backlogs (and thus latency). Conversely, decreasing 'V' increases power consumption but reduces backlogs.
  • Performance vs. Prediction Window (W): Increasing 'W' generally improves latency reduction, but the gains diminish as 'W' becomes very large.
  • Comparison to Baselines: PORA significantly outperforms baseline schemes (No Offloading, Offload to CFT, Offload to Cloud, Random) in terms of queue backlog size, especially when 'V' is set appropriately. For instance, PORA (with V=10^9) reduced queue backlog by 96% compared to NOL and RANDOM.
  • PORA-d Variant: A variant, PORA-d, is introduced to reduce sampling overheads by probing fewer CFNs. It achieves similar power consumption to PORA with slightly increased backlog, offering a practical trade-off.

Limitations and Future Work

  • Assumptions: The model assumes that workload processing within a time slot is completed by the end of that slot and that transmission latencies between fog tiers are negligible. It also assumes that wireless channel states are known at the moment of decision-making.
  • Future Work: The authors suggest extending the model to more general settings, such as unknown instant wireless channel states or non-stationary system dynamics. They also propose exploring more advanced machine learning techniques for workload prediction.

Summary updated

Abstract

Fog computing is a promising paradigm that enables Internet-of-Things (IoT) applications with ultra-low latency and intensive computation. However, it is challenging to make efficient online decisions under varying system dynamics and intertwined power-latency tradeoffs. Moreover, the fundamental limits and benefits of predictive offloading in fog computing systems still remain unknown. In this paper, we study the problem of dynamic workload offloading and resource allocation in multi-tiered fog computing systems. By developing a fine-grained queue model and formulate a stochastic network optimization problem, we propose PORA, an efficient scheme that exploits predictive information to solve the problem. Results from our theoretical analysis and simulations show that PORA achieves a near-optimal power consumption with low latencies. Furthermore, PORA effectively reduces latencies with only mild-value of predictive information and it's robust against prediction errors.
BibTeX
@misc{gao2019pora,
  author = {Xin Gao and Xi Huang and Simeng Bian and Ziyu Shao and Yang Yang},
  title = {{PORA: Predictive Offloading and Resource Allocation in Dynamic Fog Computing Systems}},
  year = {2019},
  doi = {10.1109/icc.2019.8762031},
}
Figure