Optimal resource allocation for multiqueue systems with a shared server pool

Ran Yang, Sandjai Bhulai, Rob van der MeiQueueing 2011

Abstract

In modern computing environments, such as real-time biometric identification and Grid systems, meeting strict delay constraints is paramount. This paper investigates the optimal dynamic allocation of a shared server pool across multiple service facilities. By modeling the system as a Markov Decision Process (MDP), we characterize the optimal policy as a multidimensional step function. Our results demonstrate that while resource sharing significantly reduces hardware requirements, the incremental benefit of mid-job flexibility is marginal compared to simpler sharing models.

Introduction

High-stakes, real-time environments—ranging from iris scan processing to fingerprint matching—require jobs to be completed within a specific Quality of Service (QoS) window. System administrators face a fundamental economic challenge: over-provisioning leads to high idle costs, while under-provisioning results in queue overflows and violated QoS constraints. This research addresses the "Goldilocks" problem of resource allocation: what is the minimum number of servers required to satisfy average sojourn-time (wait time plus processing time) constraints at the lowest possible cost?

System Modeling and Methodology

The study employs Markov Decision Processes (MDPs) to analyze three distinct operational scenarios:

  1. Model I (Dedicated Resources): Each facility operates with a fixed, non-sharable set of servers.
  2. Model II (Limited Sharing): Servers can be reassigned between facilities, but only upon the completion of a job.
  3. Model III (Full Flexibility): Servers can be reassigned instantaneously, even during active job processing (preemption).

To solve the constrained optimization problem, the authors utilize Lagrange multipliers to integrate sojourn-time constraints into a cost-minimization framework. The core of the paper involves a rigorous mathematical proof using induction on the relative value function of the dynamic program. By establishing structural properties such as convexity and submodularity, the authors are able to define the precise nature of the optimal control policy.

The Optimality of Step Functions

A primary theoretical contribution of this work is the proof that the optimal resource allocation policy follows a multidimensional non-decreasing step function. In practical terms, this means that for any given queue, there exist specific "threshold" lengths. When a queue reaches a threshold, the controller should logically allocate an additional server from the shared pool. This provides a clear, rule-based framework for automated resource management.

The Impact of Resource Sharing

The research highlights a significant "pooling effect." By moving from dedicated resources (Model I) to a shared pool (Model II), systems can achieve the same QoS with substantially fewer total processors.

Interestingly, the study finds that the transition from Model II (sharing at job completion) to Model III (full mid-job flexibility) yields only marginal efficiency gains. For system architects, this is a crucial insight: the technical complexity and overhead associated with implementing mid-job preemption may not be justified by the minor performance improvements it offers. The model also accounts for sublinear service rates, acknowledging that doubling servers does not always double processing speed due to communication overhead.

Numerical Results and Validation

Extensive numerical experiments were conducted to validate the theoretical proofs using synthetic parameters for arrival and service rates. In one representative scenario with strict QoS constraints:

  • A dedicated system required 20 processors.
  • A limited sharing system required only 16 processors.
  • A fully flexible system required 15 processors.

These results confirm that the "step function" structure is robust across various cost functions—including linear, squared, and square root costs—making the findings applicable to a wide range of hardware and energy cost models.

Limitations and Future Directions

While the model provides a powerful framework, it relies on the assumption of Poisson arrival processes and exponential service times. Real-world network traffic often exhibits "bursty" behavior or heavy-tailed distributions, which may impact the monotonicity of the results. Furthermore, the current study focuses on average sojourn times. Future research is needed to address tail probabilities (e.g., ensuring 99% of jobs finish within a deadline), which are often more critical in mission-critical real-time systems.

Summary updated

BibTeX
@inproceedings{yang2011optimal,
  author = {Ran Yang and Sandjai Bhulai and Rob van der Mei},
  title = {{Optimal resource allocation for multiqueue systems with a shared server pool}},
  booktitle = {Queueing},
  year = {2011},
  doi = {10.1007/s11134-011-9220-7},
}
Figure