SmartFill: Optimal Scheduling Under Concave Speedups
- SmartFill is an optimal scheduling algorithm that allocates resources across parallel jobs with arbitrary concave speedup functions to minimize weighted completion times.
- It employs the Consistent Derivative Ratio (CDR) Rule to equate marginal gains between jobs, reducing the search space for optimal schedules.
- The algorithm integrates a General Water-Filling method and a recursive scheduling procedure, resulting in lower mean slowdowns and improved completion metrics.
SmartFill is an optimal scheduling algorithm for parallel jobs under general concave speedup functions. It addresses the problem of allocating a total resource budget across jobs with sizes , where allocating more resources to a job accelerates its completion but with diminishing returns, and the objective is to minimize a weighted sum of job completion times, . The algorithm is developed in the context of a previously open problem: prior work, heSRPT, solved only some specific speedup functions with an exponential form, whereas SmartFill is designed for arbitrary concave speedup functions and combines a structural optimality condition, the Consistent Derivative Ratio (CDR) Rule, with the General Water-Filling (GWF) method to compute optimal allocations (Li et al., 1 Sep 2025).
1. Problem setting and optimization objective
The SmartFill framework considers jobs with sizes , a speedup function , and a total resource budget . The speedup function is assumed to be strictly increasing, strictly concave, and smooth. At each time , the scheduler assigns a fraction to each job 0, subject to the feasibility constraint
1
The optimization target is to minimize the weighted sum of job completion times,
2
where 3 denotes the completion time of job 4 (Li et al., 1 Sep 2025).
This formulation captures the setting in which additional computation resources improve performance but only with diminishing returns. The paper positions this as a fundamental problem in cloud and edge computing systems for AI-based applications. A plausible implication is that the model is intended to cover workloads whose parallel scaling behavior is not well approximated by a single power-law or exponential family, which motivates the move from heSRPT to a method that works for arbitrary concave speedup functions.
2. Consistent Derivative Ratio rule
The central structural result underlying SmartFill is the Consistent Derivative Ratio Rule. For the optimal allocation 5, for any two active jobs 6 and 7, the ratio of the derivatives of the speedup functions remains constant in time: 8 for some constant 9, over all times at which both jobs receive a positive allocation. The associated corollary states that there exist constants 0 such that
1
In words, the relative marginal gain of resource across jobs is pinned throughout the scheduling (Li et al., 1 Sep 2025).
The CDR Rule significantly reduces the search space for optimal schedules because only policies satisfying this property need to be considered. It also changes the qualitative picture of optimal scheduling outside the heSRPT regime. For non-power-law speedups, it may be optimal to give zero resource to some jobs at some times, rather than allocating resources to all active jobs. This is one of the main conceptual distinctions between SmartFill and heSRPT.
A common misconception, inherited from intuition built around heSRPT, is that an optimal scheduler should always allocate positive resources to every active job. The SmartFill analysis rejects that conclusion in the general concave case. Specifically, when 2, the optimal policy can set some 3 to zero during some time windows. This selective behavior is not a heuristic add-on; it follows from the derivative-ratio structure and the zero-allocation thresholds built into the constrained allocation problem (Li et al., 1 Sep 2025).
3. General Water-Filling method
To operationalize the CDR Rule, the paper introduces the General Water-Filling method. GWF solves a constrained allocation problem for 4 jobs with constants 5, seeking allocations 6 with total resource 7 such that
8
9
and, for 0, if 1,
2
while if 3 and 4,
5
These conditions encode both the CDR property and the threshold behavior associated with zero allocation (Li et al., 1 Sep 2025).
The method introduces a suitable auxiliary strictly decreasing function 6, and defines for each job
7
The total allocated resource is then
8
and the water level 9 is chosen so that 0 (Li et al., 1 Sep 2025).
The paper’s intuition is that the procedure is like pouring water into non-identical bottles, each bottle’s shape determined by 1 and the 2 tradeoff, raising the level 3 until the total water meets the resource limit. In algorithmic terms, one selects 4 so that 5 is tractable and 6 is strictly decreasing, evaluates 7, computes the sum, and adjusts 8, for example via bisection, until the sum matches 9. For non-regular cases, each constrained allocation subproblem can be solved in 0 time, where 1 is the number of jobs and 2 is the search granularity (Li et al., 1 Sep 2025).
4. SmartFill algorithm and schedule representation
SmartFill builds a full schedule recursively from constrained allocation subproblems. The schedule is divided into phases: phase 3 is between the 4-th and 5-th job completing. In phase 6, the set of active jobs is 7, with allocations 8. The schedule is represented as an upper-triangular matrix 9 (Li et al., 1 Sep 2025).
Initialization begins with the last-job case: 0 The algorithm then iterates upward for 1. First, it determines the allocation for the next job: 2 Second, it allocates the remaining budget to jobs 3: 4 Third, it updates the constants
5
and
6
This procedure is repeated until all jobs are allocated (Li et al., 1 Sep 2025).
The paper also presents the following pseudocode:
01
Its total complexity is 7, because there are 8 phases and each CAP is 9 (Li et al., 1 Sep 2025).
5. Regular and non-regular speedup functions
The paper distinguishes between regular and non-regular speedup functions. A speedup is regular if
0
for constants 1, 2, and 3. Common cases include 4, 5, for which 6, and 7. In the regular case,
8
As a result, 9 becomes a piecewise-linear, affine function of 0, and the water-filling step reduces to solving a piecewise-linear equation, which yields a closed-form solution (Li et al., 1 Sep 2025).
For 1, the solution coincides with heSRPT. This establishes that SmartFill contains the heSRPT allocation pattern as a special case rather than replacing it with an incompatible construction. The paper also states that closed-form solvability generally occurs when 2 and the corresponding sum equations are algebraically tractable, including polynomial, exponential, or log-like regular forms (Li et al., 1 Sep 2025).
For non-regular functions, the GWF framework still applies. When 3 has no closed form, as with composite or more complex concave functions, the method uses numeric search, for example bisection on 4, and each evaluation computes 5 numerically if necessary. This suggests that the main divide in the framework is not one of optimality but one of symbolic tractability: regular forms admit closed-form algebraic schedules, while non-regular forms require numerical inversion and search.
6. Selective allocation, relation to heSRPT, and reported results
The most visible operational difference from heSRPT is selective resource allocation. For 6 with 7, heSRPT always allocates positive resource to every job at all times because 8, so it is never optimal to starve a job. By contrast, SmartFill can, and will, set some 9 to zero during some time windows when 0, because allocating resource to those jobs would not yield sufficient benefit under the CDR Rule (Li et al., 1 Sep 2025).
The paper reports both theoretical and numerical results. SmartFill exactly matches heSRPT when 1. It is stated to be optimal for all regular and, numerically, for non-regular cases, with no optimality gap. In general concave 2, SmartFill yields lower mean slowdown and completion times than approximate heSRPT extensions because it can focus resources better (Li et al., 1 Sep 2025).
The numerical examples given in the paper include two explicit comparisons at 3 jobs. For 4, SmartFill reduces mean slowdown by 5. For 6, it produces a 7 lowering compared to “heSRPT with best-fit 8” (Li et al., 1 Sep 2025).
The paper further states that the CDR Rule is conjectured to apply to even more general settings, including different speedup per job and time-varying resources, although SmartFill as presented applies only to the uniform, fixed-resource, uniform speedup case. This conjecture is explicitly framed as a generalization rather than a proved extension.
7. Significance and interpretive context
Within the paper’s framing, SmartFill generalizes prior solutions by providing an optimal method for arbitrary concave speedup functions rather than only for special functional forms. It also preserves closed-form solutions when possible and remains computationally efficient through a polynomial-time numerical procedure when closed form is unavailable. Its computational profile is summarized as numerically robust with complexity 9 (Li et al., 1 Sep 2025).
The key conceptual contribution is the synthesis of three ingredients: the CDR Rule as a structural characterization of optimal schedules, GWF as the mechanism for solving the constrained allocation problem implied by that structure, and the recursive SmartFill construction that assembles phase-by-phase optimal allocations. This suggests a unifying perspective in which parallel scheduling under concave speedup is governed by relative marginality rather than by unconditional sharing across all active jobs.
A further implication is methodological. Because SmartFill selectively concentrates resource when the speedup curve does not strongly favor “everybody gets a bit,” it replaces a blanket all-jobs-active intuition with a thresholded marginal-gain criterion. In that sense, its significance lies not only in extending the range of admissible speedup functions, but also in changing the qualitative form of optimal schedules under finite 00 (Li et al., 1 Sep 2025).