Program-Level Attained Service (PLAS)
- Program-Level Attained Service (PLAS) is a load balancing paradigm that uses the elapsed service time of the head-of-line job to inform dispatch decisions.
- It integrates coarse-grained service measurements into policies that significantly reduce mean waiting times, especially under high job size variability.
- PLAS-based approaches demonstrate up to 80% waiting time reduction with minimal overhead, validated by both mean-field analysis and simulation studies.
Program-Level Attained Service (PLAS) introduces a paradigm in load balancing for large-scale systems equipped with multiple dispatchers and FCFS servers, wherein servers report not only classical queue length but also a coarse-grained indicator of "attained service"—the elapsed service time of the head-of-line job. For workloads with high job size variability, PLAS leverages the strong empirical correlation between high attained service and large jobs to reduce blocking and mean waiting times dramatically, at minimal communication and implementation cost. By integrating this second-order metric into the dispatcher's decision logic, a spectrum of new load balancing policies surpass classical queue-length-based schemes, such as SQ(d), in both theoretical performance and simulated empirical results (Hellemans et al., 2020).
1. Definition of Attained Service and Reporting Layers
The attained service of the head-of-line job at a server at time is defined as , where is the start time of service for the head-of-line job. To reduce measurement overhead and communication cost, servers report the attained service in discrete layers determined by coarsening parameter . The reporting thresholds are for (with ). A server experiencing reports its state as being in layer . This discretization ensures practical feasibility and compresses the attained service to as few as layers, requiring merely 4 bits for transmission (Hellemans et al., 2020).
2. Classes of Load Balancing Policies Using PLAS
All PLAS-based policies fall into decision structures where the dispatcher probes servers, each reporting a tuple : is the attained-service layer, the queue length. The dispatcher computes an aversion metric for each server, dispatching the job to the server minimizing in lexicographic order.
a. Joint Queue-Length & Attained-Service Policies:
- SQ(d)-RTB (“runtime-tie-break”): Breaks queue-length ties by favouring servers with smaller head-of-line attained service: .
- SQ(d)-RE(T) (“runtime-exclusion”): Excludes servers whose attained service exceeds threshold ( for ); within non-excluded servers, dispatches to the shortest queue: .
- SQ(d)-RTB-RE(T): First eliminates servers with , then applies SQ(d)-RTB on the remainder: .
- LEW(d) (“least-expected-workload”): When the job-size distribution is known, computes expected residual workload; benchmarks proximity of distribution-unaware PLAS policies to size-aware approaches:
b. Attained-Service-Only Policies:
- LAS(d) (“least-attained-service”): Dispatches to server with lowest : .
- LAS(d)-QTB: In case of tie in , resolves using queue length: .
- RE(d,T): Equivalent to LAS(d) with , flagging jobs as "small" or "large" based on whether .
3. Analytical Framework and Mean-Field Cavity Analysis
The performance of PLAS policies is characterized through mean-field (asymptotic independence) analysis as system size . Focusing on a representative “cavity” server with state —service-phase, age , queue length —jobs arrive at a potential Poisson() rate, actually joining depending on minimal evaluation among the probed candidates. The cavity's steady-state is described by , the probability of being in layer , queue length , service phase .
- Fixed-point equations express the actual arrival rate into each as
or
where are functions of the steady-state distribution over . A coupled “queue map” then yields the steady distribution by treating the cavity as a state-dependent queue with FCFS discipline and phase-type service.
- Uniqueness and Solution: Iterating the mapping (with the fixed-point equation and the queue map) converges to a unique solution under mild technical conditions.
4. Performance Analysis and Closed-form Metrics
Performance metrics derive directly from the steady-state:
- Mean queue size:
- Mean sojourn time:
- Mean waiting time:
- Waiting-time distribution:
with the probability that an arrival sees and the sum of remaining service and queued jobs.
Simulation with , phase-type or mixed-Erlang size distributions (SCV 10–30) demonstrates:
- SQ(5)-RTB policy achieves 50% reduction in mean waiting at load .
- SQ(5)-RTB-RE(2) achieves 65%; LEW(5) achieves 70%.
- LAS(5), using only attained service, still achieves 30% improvement.
- For SCV 30, best policies reach 60–80% reduction, with joint policies approaching LEW(d) within 5%.
- Finite simulation up to 2,000 servers aligns with mean-field predictions to within 1–3% (Hellemans et al., 2020).
5. Implementation, Overhead, and Policy Robustness
PLAS requires negligible overhead. Attained-service layers can be encoded in 4 bits with suitable granularity (). The updating of attained service requires only a local clock per server; reporting incurs minimal communication overhead, as both queue length and attained-service layer are needed only during probing by the dispatcher. Policies degrade gracefully under coarse , so exact measurement is unnecessary for efficacy.
The method’s applicability extends to heterogeneous servers by tagging probes with server capacity parameters and adapting the same analytical techniques; to alternative scheduling disciplines (e.g., Processor Sharing, SRPT) by reporting attained service for all queue positions; and to stateful dispatchers, which leverage historical probe responses to reduce probe delay effects.
6. Relation to Prior Art and Theoretical Position
PLAS positions attained service as a “second-order” metric—finer than first-moment queue length (classical SQ(d)), but coarser than full workload (LL(d)), achieving near-optimal performance in systems with mixed job sizes. Unlike size-aware scheduling, it does not require any prior knowledge of the job size distribution. The mechanism functions as a lightweight extension: with minimal changes to existing FCFS infrastructure, it enables performance improvements nearly matching complex, information-rich schemes, thus effectively bridging the gap between purely agnostic and fully distribution-aware load balancing strategies (Hellemans et al., 2020).
7. Empirical Observations and Limit Behaviors
Across simulation regimes:
- PLAS policies confer 30–75% waiting time reductions for light to moderate system loads and highly variable workloads.
- All attained-service-based policies converge in low-traffic to a relative gain , with the probability a probe targets a busy server.
- Performance gains increase for higher job size SCV.
- The simulation underscores minimal sensitivity to layer granularity and validates the theoretical mean-field predictions for sizable, realistic systems.
PLAS, by combining elementary local measurement with simple policy design, offers a robust, analytically tractable, and high-impact augmentation to existing load balancing frameworks in large-scale, variable-workload systems (Hellemans et al., 2020).