Introduction
Shared computing systems must coordinate access to many resources, including CPU, memory, accelerators, storage I/O, and network bandwidth. In multidimensional scheduling , each distinct resource type or separately constrained resource pool corresponds to a distinct dimension, and a job’s demand vector specifies how much of each resource it needs per unit of processing. The number of dimensions need not be limited to a few hardware categories. For example, when jobs transmit data along fixed network routes, each link imposes its own bandwidth constraint and can be represented by a separate dimension. Thus, the dimension D D D can grow with the number of separately constrained resources in the system, making it important to understand how scheduling performance scales with D D D . Accounting for these demands together avoids the waste that fixed resource bundles can cause when jobs have different bottlenecks, a central motivation of Ghodsi et al. [13 ] .
In their influential paper, Ghodsi et al. [13 ] introduced Dominant Resource Fairness (DRF), which extends max-min fairness by comparing users through their dominant shares: the largest fraction of any resource allocated to each user. In their allocation model, DRF simultaneously satisfies four properties particularly well suited to a shared system. Sharing incentive ensures that a user does at least as well as with an equal private partition of the resources. Strategy-proofness rules out gains from misreporting resource demands. Envy-freeness means that no user prefers another user’s allocation. Finally, Pareto efficiency means that improving one user’s allocation must hurt another. Together, these properties encourage participation and truthful reporting, ensure fairness between users, and rule out avoidable inefficiency. Among the allocation policies compared in the original paper, DRF is the only one satisfying all four properties [13 Table 2] .
DRF has also influenced practical resource management: it has been implemented in the Apache Mesos cluster resource manager [3 ] and is available as a built-in allocation policy in Hadoop YARN’s Fair Scheduler [2 ] . Its fractional allocation has a direct progressive-filling implementation: increase dominant shares together, freeze jobs when they encounter a binding constraint, and continue with the remaining jobs [13 PPS15] . We give the formal definition of DRF and its progressive-filling algorithm in § 2 . This simple structure makes DRF an attractive policy to understand even when other allocation rules admit stronger optimization guarantees. Our analysis concerns this fractional scheduling model, rather than the placement and indivisibility constraints of a particular cluster implementation.
Fairness of an instantaneous allocation does not, however, determine when jobs finish. A policy can divide resources fairly at every moment and still delay many jobs relative to a schedule that chooses a different allocation over time. This distinction is especially important in the nonclairvoyant setting: the scheduler knows a job’s resource demands but learns its total processing requirement only when the job completes. Here a natural benchmark is the total completion time of an optimal offline schedule that knows all processing requirements in advance.
For Proportional Fairness (PF), a classical allocation rule from communication networks [18 ] , this connection between allocation and scheduling is well understood. Im, Kulkarni, and Munagala [14 ] proved that PF is O ( 1 ) O(1) O ( 1 ) -competitive4 for total weighted completion time under general polyhedral packing constraints, which include multidimensional scheduling. PF chooses rates by maximizing a weighted sum of their logarithms. DRF instead has the direct progressive-filling description above, without requiring a general nonlinear optimization routine. The performance guarantee for PF does not transfer to DRF: indeed, Im et al. [14 ] already observed that DRF need not be O ( 1 ) O(1) O ( 1 ) -competitive.
Elementary arguments give two bounds that leave a substantial gap. With D D D resource types, a simple instance gives an Ω ( D ) \Omega(\sqrt{D}) Ω ( D ) lower bound for total completion time; we reproduce the construction in Proposition 1. On the other hand, a straightforward comparison gives an O ( D ) O(D) O ( D ) upper bound; see Theorem 4. Thus some dependence on the number of resources is unavoidable for DRF, but its correct magnitude is not determined by these bounds. This raises the question:
What is the asymptotically tight competitive ratio of DRF for job completion times as a function of the number of resources?
Our Results
We resolve this question by proving that DRF is Θ ( D ) \Theta(\sqrt{D}) Θ ( D ) -competitive for total completion time. More generally, we give an asymptotically tight analysis for every ℓ q \ell_q ℓ q norm of the completion-time vector. The guarantees hold with arbitrary release times. The algorithm knows demand vectors and caps but not job sizes or future arrivals. For a completion-time vector C = ( C j ) j = 1 n C = (C_j)_{j=1}^{n} C = ( C j ) j = 1 n and a real q ≥ 1 q \ge1 q ≥ 1 , the objective is
∥ C ∥ q = ( ∑ j = 1 n C j q ) 1 / q . \lVert C\rVert_q = \left(\sum_{j=1}^{n} C_j^q\right)^{1/q}. ∥ C ∥ q = ( j = 1 ∑ n C j q ) 1/ q .
When q = 1 q = 1 q = 1 , this is total completion time, equivalently average completion time up to the factor n n n . Larger q q q penalizes large completion times more strongly, while the limit as q → ∞ q \to\infty q → ∞ is the maximum completion time. These objectives let us examine whether an allocation policy’s aggregate performance comes at the expense of particularly late-finishing jobs.
Tight dependence on the dimension and norm. For every integer D ≥ 1 D \ge1 D ≥ 1 and real q ≥ 1 q \ge1 q ≥ 1 , the competitive ratio of DRF is in
Θ ( min { q D 1 / ( q + 1 ) , D } ) . \Theta\left(\min\left\{qD^{1/(q+1)},D\right\}\right). Θ ( min { q D 1/ ( q + 1 ) , D } ) .
Theorem 2 and Corollary 2 establish this bound for zero and arbitrary release times, respectively. The hidden constants are independent of both D D D and q q q . In particular, for each fixed q q q , the dependence on the dimension is Θ ( D 1 / ( q + 1 ) ) \Theta(D^{1/(q+1)}) Θ ( D 1/ ( q + 1 ) ) . The allocation rule itself does not depend on q q q . These are tight bounds for DRF, not lower bounds for every nonclairvoyant algorithm: PF’s dimension-independent constant-factor guarantee for total completion time illustrates the distinction.
Sharper bounds for total completion time. We analyze the case q = 1 q = 1 q = 1 separately to obtain a simpler proof and better constants. When all jobs are released at time zero, DRF is ( 4 D + 1 ) (4\sqrt{D} + 1) ( 4 D + 1 ) -competitive, while its competitive ratio is at least 1 + D 1 + \sqrt{D} 1 + D (Theorem 1 and Proposition 1). For two and three resources, a more detailed analysis improves the upper bounds to 2 + 3 2 + \sqrt{3} 2 + 3 and 2 + 7 2 + \sqrt{7} 2 + 7 , respectively (Theorems 5 and 6). These low-dimensional guarantees are relevant when jobs compete for only a small number of resource types.
Arbitrary release times. We first analyze instances in which all jobs are available at time zero. A black-box reduction then extends the bounds to arbitrary release times at a cost of at most two (Theorem 8). The reduction applies to any positive allocation rule that depends only on the active set and does not decrease a remaining job’s rate when other jobs are removed. DRF itself is not monotone in this sense, but its simplified variant one-shot DRF is, and DRF completes every job no later than this variant (Lemma 1). In particular, the total-completion-time guarantee becomes 8 D + 2 8\sqrt{D} + 2 8 D + 2 , with improvements to 4 + 2 3 4 + 2\sqrt{3} 4 + 2 3 and 4 + 2 7 4 + 2\sqrt{7} 4 + 2 7 for two and three resources (Corollary 1).
Overview of the Analysis
For intuition, scale each resource’s supply to one and first consider jobs with binary demand vectors in these units. Each job therefore uses a nonempty subset of resources and needs one unit of each to run at unit rate. Assume also that all jobs are released at time zero and that rate caps do not restrict processing. We refer to § 2 for the full definitions of DRF and one-shot DRF.
In this special case, DRF initially increases every unfinished job’s rate equally until some resource becomes fully utilized. It freezes the rates of jobs using that resource and continues increasing the rates of the other jobs, repeating until no rate can be increased. One-shot DRF stops at the first such bottleneck. At time t t t , let m ( t ) m(t) m ( t ) be the number of jobs unfinished under one-shot DRF, and let c ( t ) c(t) c ( t ) be the maximum number of these jobs that demand any one resource. One-shot DRF gives every unfinished job rate 1 / c ( t ) 1/c(t) 1/ c ( t ) . We analyze this simpler rule: a coupling shows that full DRF completes every job no later, so the resulting upper bounds also hold for full DRF (Lemma 1).
The elementary bounds. Since c ( t ) ≤ m ( t ) c(t) \le m(t) c ( t ) ≤ m ( t ) , every unfinished job receives at least rate 1 / m ( t ) 1/m(t) 1/ m ( t ) . This is the rate these m ( t ) m(t) m ( t ) jobs would each receive if they shared a single unit-speed machine equally, ignoring their heterogeneous resource requirements. Such equal sharing is Round Robin. Since one-shot DRF also gives all unfinished jobs the same rate, and their total rate m ( t ) / c ( t ) m(t)/c(t) m ( t ) / c ( t ) is at least one, every job completes under one-shot DRF no later than under this single-machine policy. In contrast, every feasible schedule has aggregate processing rate at most D D D , because each job uses at least one unit-capacity resource. Round Robin’s constant competitive ratio thus gives the elementary O ( D ) O(D) O ( D ) upper bound (Theorem 4). For the Ω ( D ) \Omega(\sqrt{D}) Ω ( D ) lower bound, take one unit-size job per resource and Θ ( D ) \Theta(\sqrt{D}) Θ ( D ) unit-size jobs that each require every resource. All resources become tight together, so DRF gives every job rate Θ ( 1 / D ) \Theta(1/\sqrt{D}) Θ ( 1/ D ) and incurs total completion time Θ ( D 3 / 2 ) \Theta(D^{3/2}) Θ ( D 3/2 ) . A better scheduler can first complete the single-resource jobs in parallel and then process the remaining jobs sequentially, for total completion time O ( D ) O(D) O ( D ) (Proposition 1).
The key distinction: concentrated demand or rapid progress. The improvement comes from distinguishing between (i) times when some resource is demanded by a large fraction of unfinished jobs and (ii) times when no resource is so heavily shared. In case (i), one-shot DRF is slowed by a bottleneck that also constrains OPT. Importantly, all jobs still unfinished at time t t t have received the same amount of processing, so each of their processing requirements is at least this amount. In particular, each of the c ( t ) c(t) c ( t ) jobs using the bottleneck requires at least this much processing on that resource even in OPT. In case (ii), c ( t ) c(t) c ( t ) is small relative to m ( t ) m(t) m ( t ) , and one-shot DRF makes rapid aggregate progress at rate m ( t ) / c ( t ) m(t)/c(t) m ( t ) / c ( t ) . OPT’s aggregate rate, meanwhile, cannot exceed D D D .
Cauchy–Schwarz for total completion time. We make this distinction quantitative by weighting the instantaneous completion-time cost m ( t ) m(t) m ( t ) in two complementary ways. Motivated by case (i), we weight m ( t ) m(t) m ( t ) by the fraction c ( t ) / m ( t ) c(t)/m(t) c ( t ) / m ( t ) of unfinished jobs that demand the bottleneck resource, obtaining c ( t ) c(t) c ( t ) . As noted above, each bottleneck job requires at least the common amount of processing already received by the unfinished jobs. Using these lower bounds on processing requirements and the nestedness of the unfinished sets, we bound ∫ 0 ∞ c ( t ) d t \int_{0}^{\infty} c(t)\,\mathrm{d}t ∫ 0 ∞ c ( t ) d t by O ( 1 ) O P T O(1)\mathrm{OPT} O ( 1 ) OPT (Lemma 5). Motivated by case (ii), we instead weight m ( t ) m(t) m ( t ) by one-shot DRF’s aggregate processing rate m ( t ) / c ( t ) m(t)/c(t) m ( t ) / c ( t ) , obtaining m ( t ) 2 / c ( t ) m(t)^2/c(t) m ( t ) 2 / c ( t ) . Comparing this rate with OPT’s aggregate capacity D D D , we bound ∫ { t : c ( t ) > 0 } m ( t ) 2 / c ( t ) d t \int_{\{t:c(t)>0\}} m(t)^2/c(t)\,\mathrm{d}t ∫ { t : c ( t ) > 0 } m ( t ) 2 / c ( t ) d t by O ( D ) ⋅ O P T O(D)\cdot\mathrm{OPT} O ( D ) ⋅ OPT (Lemma 4). Since the two weights are reciprocals, Cauchy–Schwarz combines the bounds:
A L G = ∫ 0 ∞ m ( t ) d t ≤ ( ∫ { t : c ( t ) > 0 } m ( t ) 2 c ( t ) d t ) 1 / 2 ( ∫ 0 ∞ c ( t ) d t ) 1 / 2 = O ( D ) ⋅ O P T . \mathrm{ALG}=\int_{0}^{\infty}m(t)\,\mathrm{d}t\leq\left(\int_{\{t:c(t)>0\}}\frac{m(t)^2}{c(t)}\,\mathrm{d}t\right)^{1/2}\left(\int_{0}^{\infty}c(t)\,\mathrm{d}t\right)^{1/2}=O(\sqrt{D})\cdot\mathrm{OPT}. ALG = ∫ 0 ∞ m ( t ) d t ≤ ( ∫ { t : c ( t ) > 0 } c ( t ) m ( t ) 2 d t ) 1/2 ( ∫ 0 ∞ c ( t ) d t ) 1/2 = O ( D ) ⋅ OPT .
For two and three resources, we obtain smaller constants by treating each resource as a separate unit-speed machine. On each machine, a job’s processing requirement is the work it needs from that resource. We split each job’s completion cost among the machines using nonnegative weights that sum to one for that job, avoiding double counting. The sum of the optimal weighted completion costs on these machines then gives a lower bound on OPT. Unlike the aggregate-capacity bound motivated by case (ii), which uses only the total capacity D D D , this bound accounts for which jobs compete for each resource (Section B).
LP dual fitting for general norms. For the ℓ q \ell_q ℓ q objective, the analogous identity is ∑ j C j q = ∫ 0 ∞ q t q − 1 m ( t ) d t \sum_j C_j^q=\int_{0}^{\infty}qt^{q-1}m(t)\,\mathrm{d}t ∑ j C j q = ∫ 0 ∞ q t q − 1 m ( t ) d t . We use a continuous-time linear programming relaxation of this objective and construct dual solutions from the one-shot DRF schedule. By weak duality, each feasible dual solution gives a lower bound on the optimal sum of q q q th powers of completion times. Fix a threshold B ∈ [ 1 , D ] B \in[1,D] B ∈ [ 1 , D ] and call a time heavy if c ( t ) ≥ m ( t ) / B c(t) \ge m(t)/B c ( t ) ≥ m ( t ) / B , and light otherwise. If heavy times contribute more to the objective, we partition time into intervals, starting a new interval whenever c ( t ) c(t) c ( t ) drops below half its value at the start of the current interval. For each interval, we choose a resource with the most unfinished jobs just before the interval ends and use it to construct the dual prices. If light times contribute more, we assign the same price to all resources and exploit the high aggregate processing rate. These two constructions yield competitive bounds O ( q B 1 / q ) O(qB^{1/q}) O ( q B 1/ q ) and O ( q D / B ) O(qD/B) O ( q D / B ) , respectively. Choosing B = D q / ( q + 1 ) B = D^{q/(q+1)} B = D q / ( q + 1 ) balances them and gives O ( q D 1 / ( q + 1 ) ) O(qD^{1/(q+1)}) O ( q D 1/ ( q + 1 ) ) . The elementary processor-sharing comparison also gives an O ( D ) O(D) O ( D ) bound for every q q q . The matching lower bounds extend the construction for total completion time described above to the ℓ q \ell_q ℓ q objective (Theorem 7).
General demands, rate caps, and release times. For nonbinary demands, we replace the number of jobs using a resource by the sum of their demands per unit of processing. For example, a job whose demand on a resource is 0.2 contributes 0.2 to this sum rather than one.
A job may also have a maximum useful resource allocation: once it receives all the resources it requests, it runs at its maximum processing rate, and giving it more resources does not make it faster. We represent this maximum rate by u j u_j u j , the job’s rate cap . A job of size p j p_j p j therefore needs at least p j / u j p_j/u_j p j / u j time even in OPT. We separate this unavoidable delay from congestion. In the remaining analysis, a cap-limited job counts fractionally, according to its actual rate relative to the common rate. On each resource, we sum the jobs’ demands multiplied by these fractions. These weighted sums replace the binary job counts in the arguments above; they are not the resource’s current utilization or the amount of work remaining on it.
Finally, consider arbitrary release times. Removing other active jobs reduces competition for resources, so one-shot DRF can only increase a remaining job’s rate. Equivalently, if we include not-yet-released jobs when computing the allocation at a given time, the rates assigned to already active jobs cannot increase. We use this fact to construct a virtual instance in which all jobs are released at time zero, choosing their sizes so that the algorithm has the same completion times as in the original instance. Each job’s virtual size is at most its original size plus the processing it receives before its original release time. Combining a schedule for this extra early processing with an optimal schedule for the original instance costs at most a factor of two (Theorem 8).
Other Related Work
The product-maximization principle underlying PF dates back to Nash [22 ] . Kelly, Maulloo, and Tan [18 ] developed PF for bandwidth sharing in communication networks. The closest worst-case results concern PF in nonclairvoyant scheduling under general packing constraints. As discussed above, Im, Kulkarni, and Munagala [14 ] proved a dimension-independent constant competitive ratio for total weighted completion time in this model. Jäger, Lindermayr, and Megow [16 ] improved the bound to 27, and to 4 when removing jobs cannot decrease the remaining jobs’ PF rates. This monotonicity holds, for example, in related-machine and restricted-assignment scheduling. In these two models, they also obtain a tight factor of 2 for unweighted completion time with simultaneous arrivals. These results do not transfer to DRF, whose completion-time guarantees necessarily depend on the number of resources.
Subsequent work on DRF studies weighted entitlements and indivisible resources [PPS15], and incentives under changing demands when allocations account for past service [12 ] . Unlike DRF, PF is not strategy-proof in general. Cole, Gkatzelis, and Goel [10 ] construct a truthful mechanism that guarantees each user at least a 1 / e 1/e 1/ e fraction of its PF utility for fixed-proportion valuations. The mechanism withholds resources and thus gives up Pareto efficiency. These works concern allocation and strategic behavior rather than completion-time guarantees.
On a single unit-speed machine, processor sharing, or fractional Round Robin (RR), is tightly 2-competitive for total completion time when all jobs arrive together [20 , 21 ] . For ℓ q \ell_q ℓ q norms of completion times, Moseley and Vardi [20 ] prove a tight ( q + 1 ) 1 / q (q+1)^{1/q} ( q + 1 ) 1/ q bound with simultaneous arrivals and integer q ≥ 1 q \ge1 q ≥ 1 , and a factor of 4 with arbitrary release times and real q ≥ 1 q \ge1 q ≥ 1 . With arbitrary releases, RR’s ratio for total completion time can exceed 2: Jäger, Lindermayr, and Megow [16 ] give a lower bound of 2.19. With a single resource and nonbinding rate caps, DRF reduces to RR. Our work determines how these guarantees degrade with the number of resources when jobs have heterogeneous resource demands.
A separate literature studies flow time, C j − r j C_j-r_j C j − r j , often with speed augmentation, which gives the online algorithm faster resources than its offline benchmark. See [4 , 17 ] for single-machine results and [8 ] for identical parallel machines. Further results address unrelated machines [1 , 15 ] and parallel jobs with general speedup curves [11 ] . The gradient-descent framework of Chen, Im, and Petety [9 ] gives further results across several scheduling models. These guarantees concern a different objective and benchmark from our same-capacity completion-time bounds. For broader background on online scheduling and resource augmentation, see the survey by Pruhs, Sgall, and Torng [PST04].
Fair sharing has also been studied extensively under stochastic workloads. Bonald and Massoulié [5 ] analyze the stability and throughput of fair bandwidth-sharing policies, while Bonald et al. [6 ] compare max-min fairness, PF, and balanced fairness in processor-sharing networks. Massoulié [19 ] establishes PF stability under more general service and routing models. Closer to our setting, Bonald and Roberts [7 ] compare DRF and PF under dynamic multiresource workloads, studying throughput and delay. Such analyses address stability and steady-state performance under probabilistic assumptions. Our competitive analysis instead compares DRF with a clairvoyant optimum on every finite instance, without distributional assumptions on arrivals or job sizes.
Our analysis also connects to LP-based dual fitting. Anand, Garg, and Kumar [1 ] apply this technique to weighted flow time with resource augmentation. The PF analyses of Im, Kulkarni, and Munagala [14 ] and Jäger, Lindermayr, and Megow [16 ] use the optimality conditions of PF’s instantaneous allocation program to guide the construction of dual lower bounds. For general ℓ q \ell_q ℓ q norms, our dual variables instead exploit DRF’s bottleneck structure.
Organization of the Paper
§ 2 defines the model and the two DRF variants. § 3 establishes the tight asymptotic bound for total completion time, and Section B in the appendix sharpens the upper bounds for two and three resources. Section 4 gives the upper and lower bounds for general ℓ q \ell_q ℓ q norms. Proofs omitted from the main body are also collected in the appendix. Finally, Section D in the appendix proves the black-box reduction and states the resulting guarantees for arbitrary release times.
Model and Algorithms
Multidimensional Scheduling
We consider n n n jobs sharing D D D divisible resources, such as CPU, memory, or network bandwidth, each of unit capacity. Job j j j has a processing requirement p j > 0 p_j > 0 p j > 0 , a release time r j ≥ 0 r_j \ge0 r j ≥ 0 , a rate cap u j > 0 u_j > 0 u j > 0 , and a demand vector
a j = ( a j 1 , … , a j D ) ∈ [ 0 , 1 ] D with ∥ a j ∥ ∞ = 1. a_j = (a_{j1}, \ldots, a_{jD}) \in[0,1]^D \text{ with } \lVert a_j \rVert_\infty= 1. a j = ( a j 1 , … , a j D ) ∈ [ 0 , 1 ] D with ∥ a j ∥ ∞ = 1.
The entry a j d a_{jd} a j d is the amount of resource d d d that job j j j uses per unit of processing rate. The resource that job j j j demands most is its dominant resource , and we normalize a j a_j a j so that this entry equals one. Unless stated otherwise, all jobs are released at time zero. We extend our results to arbitrary release times in Section D.
A schedule specifies a rate vector x ( t ) ∈ R ≥ 0 n x(t) \in\mathbb{R}_{\geq0}^n x ( t ) ∈ R ≥ 0 n at every time t ≥ 0 t \geq0 t ≥ 0 . We set x j ( t ) = 0 x_j(t) = 0 x j ( t ) = 0 before job j j j is released. Running job j j j at rate x j ( t ) x_j(t) x j ( t ) consumes a j d x j ( t ) a_{jd}x_j(t) a j d x j ( t ) units of resource d d d . A schedule is feasible if it satisfies the following three constraints.
Rate caps. 0 ≤ x j ( t ) ≤ u j 0 \leq x_j(t) \leq u_j 0 ≤ x j ( t ) ≤ u j for every job j j j and time t t t .
Resource capacities. ∑ j = 1 n a j d x j ( t ) ≤ 1 \sum_{j=1}^{n} a_{jd}x_j(t) \leq1 ∑ j = 1 n a j d x j ( t ) ≤ 1 for every resource d d d and time t t t .
Job completion. Every job j j j has a finite completion time C j C_j C j , which is the time at which it has received its full processing requirement, that is, ∫ r j C j x j ( s ) d s = p j \int_{r_j}^{C_j} x_j(s)\,\mathrm{d}s = p_j ∫ r j C j x j ( s ) d s = p j .
We call a single vector x ∈ R ≥ 0 n x \in\mathbb{R}_{\geq0}^n x ∈ R ≥ 0 n a feasible rate vector if it satisfies the rate caps and resource capacities.
Our objective is to minimize the total completion time ∑ j = 1 n C j \sum_{j=1}^{n} C_j ∑ j = 1 n C j . More generally, for a real q ≥ 1 q \geq1 q ≥ 1 , we study the ℓ q \ell_q ℓ q norm ∥ C ∥ q = ( ∑ j = 1 n C j q ) 1 / q \lVert C \rVert_q = \left(\sum_{j=1}^{n} C_j^q\right)^{1/q} ∥ C ∥ q = ( ∑ j = 1 n C j q ) 1/ q of the completion-time vector C = ( C j ) j = 1 n C = (C_j)_{j=1}^{n} C = ( C j ) j = 1 n , which is the total completion time for q = 1 q = 1 q = 1 . For a given objective, we write OPT for the value of an optimal feasible schedule and ALG for the value attained by the algorithm under consideration.
At time t t t , let A ( t ) : = { j ∈ [ n ] : r j ≤ t < C j } A(t) := \{j \in[n] : r_j \leq t < C_j\} A ( t ) := { j ∈ [ n ] : r j ≤ t < C j } be the set of active jobs, which have been released but not yet completed. When all release times are zero, this is simply the set U ( t ) : = { j ∈ [ n ] : t < C j } U(t) := \{j \in[n] : t < C_j\} U ( t ) := { j ∈ [ n ] : t < C j } of unfinished jobs.
The online algorithms analyzed throughout this paper are nonclairvoyant . When job j j j arrives, the algorithm learns its demand vector a j a_j a j and rate cap u j u_j u j , but not its processing requirement p j p_j p j . The algorithm only learns that a job is done when it completes, and it has no information about jobs that have not yet been released. This models cluster schedulers, which typically know the resources a job requests but not how long it will run. Each allocation decision is irrevocable.
We say that an algorithm is μ \mu μ -competitive for an objective if ALG ( I ) ≤ μ ⋅ OPT ( I ) \operatorname{ALG}(I) \leq\mu\cdot\operatorname{OPT}(I) ALG ( I ) ≤ μ ⋅ OPT ( I ) for every instance I I I . The infimum over all such μ \mu μ is the algorithm’s competitive ratio for this objective.
Dominant Resource Fairness and One-Shot DRF
Since ∥ a j ∥ ∞ = 1 \lVert a_j \rVert_\infty= 1 ∥ a j ∥ ∞ = 1 , the rate x j x_j x j of job j j j equals the fraction of its dominant resource that it receives, which is called its dominant share . Dominant Resource Fairness (DRF) [13 ] aims to equalize the dominant shares of all active jobs. It computes an allocation by progressive filling, as described in Algorithm 1. The rates of all jobs start at zero and increase at the same speed. A job is frozen, meaning that its rate stays fixed from then on, once it reaches its cap or once a resource it uses becomes tight. The remaining jobs keep increasing their rates. Each iteration freezes at least one additional job, so the procedure terminates with a feasible rate vector. Over time, DRF recomputes this allocation whenever the active set changes, that is, it runs every job j ∈ A ( t ) j \in A(t) j ∈ A ( t ) at rate x j D R F ( A ( t ) ) x_j^{\mathrm{DRF}}(A(t)) x j DRF ( A ( t )) . We refer to this algorithm as full DRF to distinguish it from the one-shot variant introduced below.
Algorithm 1: Full DRF allocation
Input: Active set A A A , normalized demands a j a_j a j with ∥ a j ∥ ∞ = 1 \lVert a_j\rVert_\infty= 1 ∥ a j ∥ ∞ = 1 , and caps u j u_j u j
Output: Rate vector x D R F ( A ) x^{\mathrm{DRF}}(A) x DRF ( A )
Set x j ← 0 x_j \leftarrow0 x j ← 0 for every j ∈ A j \in A j ∈ A and F ← A F \leftarrow A F ← A ;
while F ≠ ∅ F \ne\varnothing F = ∅ do
Increase x j x_j x j at the same speed for every j ∈ F j \in F j ∈ F until a job reaches its cap or a resource becomes tight;
Remove every job j j j with x j = u j x_j = u_j x j = u j from F F F ;
foreach resource d d d with ∑ j ∈ A a j d x j = 1 \sum_{j\in A} a_{jd}x_j = 1 ∑ j ∈ A a j d x j = 1 do
Remove every job j j j with a j d > 0 a_{jd} > 0 a j d > 0 from F F F ;
end
end
return x x x ;
We call the part of progressive filling until a tight resource first freezes a job strictly below its cap the initial round . If no such event occurs, the initial round ends when all jobs reach their caps. A resource that becomes tight when all jobs using it have reached their caps does not end this round; the other jobs continue increasing their rates. The initial round has a simple closed-form description. For any nonempty set A A A of active jobs, define its common fair-share rate λ ( A ) \lambda(A) λ ( A ) as the largest λ \lambda λ such that running every job j ∈ A j \in A j ∈ A at rate min { u j , λ } \min\{u_j,\lambda\} min { u j , λ } respects all resource capacities. Formally,
λ ( A ) : = sup { λ ≥ 0 : ∑ j ∈ A a j d min { u j , λ } ≤ 1 for every d ∈ [ D ] } . (1) \lambda(A) := \sup\left\{ \lambda\ge0 : \sum_{j\in A} a_{jd}\min\{u_j,\lambda\} \le1 \text{ for every } d \in[D] \right\}. \tag*{(1)} λ ( A ) := sup ⎩ ⎨ ⎧ λ ≥ 0 : j ∈ A ∑ a j d min { u j , λ } ≤ 1 for every d ∈ [ D ] ⎭ ⎬ ⎫ . (1)
For the empty active set, we set λ ( ∅ ) : = ∞ \lambda(\varnothing) := \infty λ ( ∅ ) := ∞ . If all jobs in A A A can run at their caps simultaneously without exceeding any resource capacity, then λ ( A ) = ∞ \lambda(A) = \infty λ ( A ) = ∞ . At the end of the initial round, job j j j has rate min { u j , λ ( A ) } \min\{u_j,\lambda(A)\} min { u j , λ ( A )} . Full DRF may increase the rates of some jobs during subsequent rounds. Its final allocation therefore satisfies min { u j , λ ( A ) } ≤ x j D R F ( A ) ≤ u j \min\{u_j,\lambda(A)\} \le x_j^{\mathrm{DRF}}(A) \le u_j min { u j , λ ( A )} ≤ x j DRF ( A ) ≤ u j for every j ∈ A j \in A j ∈ A .
We also study one-shot DRF , which stops progressive filling after the initial round. It assigns every job j ∈ A j \in A j ∈ A the rate
x j O S ( A ) : = min { u j , λ ( A ) } . (2) x_j^{\mathrm{OS}}(A) := \min\{u_j,\lambda(A)\}. \tag*{(2)} x j OS ( A ) := min { u j , λ ( A )} . (2)
This allocation is feasible by the definition of λ ( A ) \lambda(A) λ ( A ) . Unlike full DRF, it does not redistribute capacity among the remaining jobs after the initial round. One-shot DRF may therefore leave some capacity unused. However, it is easier to analyze, because every job’s rate depends on the active set only through the single number λ ( A ) \lambda(A) λ ( A ) . When applying the rule over time, we abbreviate λ ( t ) : = λ ( A ( t ) ) \lambda(t) := \lambda(A(t)) λ ( t ) := λ ( A ( t )) and x j ( t ) : = x j O S ( A ( t ) ) x_j(t) := x_j^{\mathrm{OS}}(A(t)) x j ( t ) := x j OS ( A ( t )) for active jobs, and set x j ( t ) = 0 x_j(t) = 0 x j ( t ) = 0 for all other jobs.
A key property of one-shot DRF is that the rate of a job can only decrease when more jobs are active.
Observation 1 (Active-set monotonicity of one-shot DRF). If A ⊆ B A \subseteq B A ⊆ B , then
λ ( A ) ≥ λ ( B ) and x j O S ( A ) ≥ x j O S ( B ) for every j ∈ A . \lambda(A) \ge\lambda(B) \qquad\text{and} \qquad x_j^{\mathrm{OS}}(A) \ge x_j^{\mathrm{OS}}(B) \quad\text{for every } j \in A. λ ( A ) ≥ λ ( B ) and x j OS ( A ) ≥ x j OS ( B ) for every j ∈ A .
Observation 1 holds because removing jobs only relaxes the constraints in (1), so every λ \lambda λ that is feasible for B B B is also feasible for A A A .
Lemma 1. On every instance, every job completes under full DRF no later than under one-shot DRF.
We prove Lemma 1 in Section A.
Lemma 1 allows us to analyze one-shot DRF instead of full DRF, since every upper bound for one-shot DRF also holds for full DRF. This simplifies our analysis considerably. All uncapped jobs of one-shot DRF run at the same rate λ ( t ) \lambda(t) λ ( t ) , and when all jobs are released at time zero, the active set only shrinks over time. By Observation 1, the rate of every job is then nondecreasing over time. With arbitrary release times, new arrivals may decrease the rates of existing jobs. In Section D, we show that the monotonicity in Observation 1 still suffices to extend our bounds to this setting, losing only a factor of two.
Full DRF does not have this monotonicity property when demands can be zero. For example, take four jobs with unit rate caps that demand the resource sets { 1 } \{1\} { 1 } , { 1 , 2 } \{1, 2\} { 1 , 2 } , { 2 } \{2\} { 2 } , and { 2 } \{2\} { 2 } , respectively. Full DRF gives the first job rate 2 / 3 2/3 2/3 , but once the fourth job completes, every job runs at rate 1 / 2 1/2 1/2 . We therefore apply the release-time reduction to one-shot DRF, and full DRF inherits the resulting bounds by Lemma 1.
The original DRF paper [13 ] uses unnormalized demand vectors and unit rate caps. In Section A.2, we show that this formulation is equivalent to ours and that original DRF and Algorithm 1 give every job the same resource allocation at every time and the same completion time. We use the normalized formulation because x j x_j x j is then exactly job j j j ’s dominant share, which makes both progressive filling and our analysis easier to express.
Total Completion Time
We begin by optimizing the total completion time. This is the special case of q = 1 q = 1 q = 1 of the more general ℓ q \ell_q ℓ q -norm objective studied afterwards in Section 4. This special case admits a simpler proof with a better performance guarantee.
Upper Bound
In the first part of § 3 , we will prove the following theorem.
Theorem 1. For every instance of multidimensional scheduling with D ≥ 1 D \ge1 D ≥ 1 resources and zero-release times, one-shot DRF and full DRF satisfy
A L G ≤ ( 4 D + 1 ) ⋅ O P T ≤ 5 D ⋅ O P T \mathrm{ALG} \le(4\sqrt{D}+1)\cdot\mathrm{OPT} \le5\sqrt{D}\cdot\mathrm{OPT} ALG ≤ ( 4 D + 1 ) ⋅ OPT ≤ 5 D ⋅ OPT for the total completion-time objective. Therefore, both algorithms are O ( D ) O(\sqrt{D}) O ( D ) -competitive for minimizing total completion time.
By Lemma 1, it suffices to analyze one-shot DRF rather than full DRF. Throughout this section, we fix an instance and the schedule of one-shot DRF with completion times ( C j ) j = 1 n (C_j)_{j=1}^{n} ( C j ) j = 1 n .
The proof has three steps. First, we observe that every job j j j needs at least p j / u j p_j/u_j p j / u j time in every schedule, since its rate never exceeds its cap. The sum of these times is a lower bound on OPT. We show that one-shot DRF exceeds this bound only by a quantity Z 1 Z_1 Z 1 , which measures how long jobs are slowed down by congestion. Second, we use the Cauchy–Schwarz inequality to split Z 1 Z_1 Z 1 into two factors. Third, we bound each factor by comparing it with OPT. The first comparison uses only the total capacity of all D D D resources and loses a factor of O ( D ) O(D) O ( D ) . The second uses the bottleneck resources of one-shot DRF and loses only a constant factor. Together, this gives Z 1 = O ( D ) ⋅ O P T Z_1 = O(\sqrt{D})\cdot\mathrm{OPT} Z 1 = O ( D ) ⋅ OPT .
Notation and setup
Recall that U ( t ) = { j : t < C j } U(t)=\{j:t<C_j\} U ( t ) = { j : t < C j } is the set of unfinished jobs. Since all jobs are released at time zero, the active set equals U ( t ) U(t) U ( t ) and hence λ ( t ) = λ ( U ( t ) ) \lambda(t)=\lambda(U(t)) λ ( t ) = λ ( U ( t )) . Moreover, λ ( t ) = ∞ \lambda(t)=\infty λ ( t ) = ∞ exactly when all unfinished jobs run at their caps.
We use the following quantities.
The congestion 5 is c ( t ) : = 1 / λ ( t ) c(t):=1/\lambda(t) c ( t ) := 1/ λ ( t ) , where c ( t ) : = 0 c(t):=0 c ( t ) := 0 if λ ( t ) = ∞ \lambda(t)=\infty λ ( t ) = ∞ .
The effective mass of job j j j is z j ( t ) : = 1 [ j ∈ U ( t ) ] ⋅ min { 1 , u j c ( t ) } z_j(t):=\mathbb{1}[j\in U(t)]\cdot\min\{1,u_jc(t)\} z j ( t ) := 1 [ j ∈ U ( t )] ⋅ min { 1 , u j c ( t )} .
The effective job count is m ( t ) : = ∑ j = 1 n z j ( t ) m(t):=\sum_{j=1}^{n}z_j(t) m ( t ) := ∑ j = 1 n z j ( t ) .
The effective resource load of resource d d d is c d ( t ) : = ∑ j = 1 n a j d z j ( t ) c_d(t):=\sum_{j=1}^{n}a_{jd}z_j(t) c d ( t ) := ∑ j = 1 n a j d z j ( t ) .
Intuitively, z j ( t ) z_j(t) z j ( t ) is the rate of job j j j relative to the common rate λ ( t ) \lambda(t) λ ( t ) . It equals one if job j j j runs at rate λ ( t ) \lambda(t) λ ( t ) , and it is smaller than one if job j j j is limited by its cap. Hence, m ( t ) m(t) m ( t ) counts the unfinished jobs, where jobs limited by their caps count only fractionally.
We now make this intuition precise. For every unfinished job j j j with c ( t ) > 0 c(t)>0 c ( t ) > 0 , we have λ ( t ) < ∞ \lambda(t)<\infty λ ( t ) < ∞ and the rate rule in (2) gives
c ( t ) x j ( t ) = c ( t ) min { u j , λ ( t ) } = min { u j c ( t ) , c ( t ) λ ( t ) } = min { u j c ( t ) , 1 } = z j ( t ) . (3) c(t)x_j(t)=c(t)\min\{u_j,\lambda(t)\}=\min\{u_jc(t),c(t)\lambda(t)\}=\min\{u_jc(t),1\}=z_j(t). \tag*{(3)} c ( t ) x j ( t ) = c ( t ) min { u j , λ ( t )} = min { u j c ( t ) , c ( t ) λ ( t )} = min { u j c ( t ) , 1 } = z j ( t ) . (3)
If j ∉ U ( t ) j\notin U(t) j ∈ / U ( t ) , then both x j ( t ) x_j(t) x j ( t ) and z j ( t ) z_j(t) z j ( t ) are zero. If c ( t ) = 0 c(t)=0 c ( t ) = 0 , then z j ( t ) = 0 z_j(t)=0 z j ( t ) = 0 for every job and c ( t ) x j ( t ) = 0 c(t)x_j(t)=0 c ( t ) x j ( t ) = 0 . Thus (3) holds for every job and time.
It follows by feasibility of x x x that for every resource d ∈ [ D ] d\in[D] d ∈ [ D ] , we have
c d ( t ) = ∑ j = 1 n a j d z j ( t ) = c ( t ) ∑ j = 1 n a j d x j ( t ) ≤ c ( t ) . c_d(t)=\sum_{j=1}^{n}a_{jd}z_j(t)=c(t)\sum_{j=1}^{n}a_{jd}x_j(t)\le c(t). c d ( t ) = j = 1 ∑ n a j d z j ( t ) = c ( t ) j = 1 ∑ n a j d x j ( t ) ≤ c ( t ) .
If c ( t ) > 0 c(t)>0 c ( t ) > 0 , then λ ( t ) \lambda(t) λ ( t ) is finite, so at least one resource d ∗ ∈ [ D ] d^*\in[D] d ∗ ∈ [ D ] is tight in (1) . For this resource, we have
c d ∗ ( t ) = c ( t ) ∑ j = 1 n a j d ∗ x j ( t ) = c ( t ) . c_{d^*}(t)=c(t)\sum_{j=1}^{n}a_{jd^*}x_j(t)=c(t). c d ∗ ( t ) = c ( t ) j = 1 ∑ n a j d ∗ x j ( t ) = c ( t ) .
If c ( t ) = 0 c(t)=0 c ( t ) = 0 , then every z j ( t ) z_j(t) z j ( t ) and therefore every c d ( t ) c_d(t) c d ( t ) is zero. In summary, the congestion equals the effective load of the most loaded resource, that is,
c ( t ) = max d ∈ [ D ] c d ( t ) . (4) c(t)=\max_{d\in[D]}c_d(t). \tag*{(4)} c ( t ) = d ∈ [ D ] max c d ( t ) . (4)
Before we continue, we argue that many of the considered quantities are monotone over time.
Lemma 2 (Monotonicity). The functions c ( t ) c(t) c ( t ) , z j ( t ) z_j(t) z j ( t ) , m ( t ) m(t) m ( t ) , and c d ( t ) c_d(t) c d ( t ) are nonincreasing and constant between job completions. At a completion time t t t , their values are computed using U ( t ) U(t) U ( t ) , which excludes every job that completes at time t t t . All four functions are zero after a finite time.
Proof. The set of unfinished jobs U ( t ) U(t) U ( t ) only shrinks, so λ ( t ) \lambda(t) λ ( t ) is nondecreasing and c ( t ) c(t) c ( t ) is nonincreasing. Both factors in the definition of z j ( t ) z_j(t) z j ( t ) are nonnegative and nonincreasing. The same therefore holds for z j ( t ) z_j(t) z j ( t ) and for the sums defining m ( t ) m(t) m ( t ) and c d ( t ) c_d(t) c d ( t ) . All these quantities depend only on U ( t ) U(t) U ( t ) . Therefore, they remain unchanged while no job completes. When one or more jobs complete at time t t t , those jobs do not belong to U ( t ) = { j : t < C j } U(t)=\{j:t<C_j\} U ( t ) = { j : t < C j } , so the values at time t t t are already the values for the smaller unfinished set.
Finally, 1 / n 1/n 1/ n is a feasible candidate fair-share rate for every unfinished set. Every unfinished job therefore receives rate at least min { u j , 1 / n } > 0 \min\{u_j,1/n\}>0 min { u j , 1/ n } > 0 and finishes in finite time. Once every job has completed, all four quantities are zero.
Accounting for rate caps
We now separate the contribution of the rate caps from the rest of the objective. Job j j j cannot finish before time p j / u j p_j/u_j p j / u j in any feasible schedule. Thus,
C A P 1 : = ∑ j = 1 n p j u j ≤ O P T . \mathrm{CAP}_1 := \sum_{j=1}^{n} \frac{p_j}{u_j} \leq\mathrm{OPT}. CAP 1 := j = 1 ∑ n u j p j ≤ OPT .
The remaining part of the objective is captured by the integral of the effective mass. Since z j ( t ) = 1 z_j(t)=1 z j ( t ) = 1 while job j j j runs below its cap, this integral is at least the time that job j j j spends below its cap. Using the definitions6
Z j , 1 : = ∫ 0 C j z j ( t ) d t for every job j ∈ [ n ] , Z 1 : = ∑ j = 1 n Z j , 1 = ∫ 0 ∞ m ( t ) d t , Z_{j,1}:=\int_{0}^{C_j} z_j(t)\,\mathrm{d}t \text{ for every job } j\in[n], \qquad Z_1:=\sum_{j=1}^{n} Z_{j,1}=\int_{0}^{\infty}m(t)\,\mathrm{d}t, Z j , 1 := ∫ 0 C j z j ( t ) d t for every job j ∈ [ n ] , Z 1 := j = 1 ∑ n Z j , 1 = ∫ 0 ∞ m ( t ) d t ,
we have the following separation lemma.
Lemma 3. For every job j j j , we have C j ≤ p j / u j + Z j , 1 C_j\leq p_j/u_j+Z_{j,1} C j ≤ p j / u j + Z j , 1 . Consequently,
A L G ≤ C A P 1 + Z 1 ≤ O P T + Z 1 . \mathrm{ALG}\leq\mathrm{CAP}_1+Z_1\leq\mathrm{OPT}+Z_1. ALG ≤ CAP 1 + Z 1 ≤ OPT + Z 1 .
Proof. Because λ ( t ) \lambda(t) λ ( t ) is nondecreasing, a job that reaches its cap stays at that cap until it completes. Let τ j \tau_j τ j be the first time job j j j runs at its cap, or C j C_j C j if it completes without reaching its cap. Before τ j \tau_j τ j , the job has z j ( t ) = 1 z_j(t)=1 z j ( t ) = 1 , so
Z j , 1 ≥ ∫ 0 τ j z j ( t ) d t = τ j . Z_{j,1}\geq\int_{0}^{\tau_j}z_j(t)\,\mathrm{d}t=\tau_j. Z j , 1 ≥ ∫ 0 τ j z j ( t ) d t = τ j .
After τ j \tau_j τ j , any remaining work takes at most p j / u j p_j/u_j p j / u j time. Hence
C j ≤ τ j + p j u j ≤ Z j , 1 + p j u j . C_j\leq\tau_j+\frac{p_j}{u_j}\leq Z_{j,1}+\frac{p_j}{u_j}. C j ≤ τ j + u j p j ≤ Z j , 1 + u j p j .
Summing over all jobs and using C A P 1 ≤ O P T \mathrm{CAP}_1\leq\mathrm{OPT} CAP 1 ≤ OPT proves the claim.
It remains to bound Z 1 Z_1 Z 1 . Since m ( t ) = 0 m(t)=0 m ( t ) = 0 whenever c ( t ) = 0 c(t)=0 c ( t ) = 0 , Cauchy–Schwarz gives
Z 1 2 = ( ∫ 0 ∞ m ( t ) d t ) 2 ≤ ( ∫ { t : c ( t ) > 0 } m ( t ) 2 c ( t ) d t ) ( ∫ 0 ∞ c ( t ) d t ) . (5) Z_1^2=\left(\int_{0}^{\infty}m(t)\,\mathrm{d}t\right)^2\leq\left(\int_{\{t:c(t)>0\}}\frac{m(t)^2}{c(t)}\,\mathrm{d}t\right)\left(\int_{0}^{\infty}c(t)\,\mathrm{d}t\right). \tag*{(5)} Z 1 2 = ( ∫ 0 ∞ m ( t ) d t ) 2 ≤ ( ∫ { t : c ( t ) > 0 } c ( t ) m ( t ) 2 d t ) ( ∫ 0 ∞ c ( t ) d t ) . (5)
We bound the first factor using the total processing capacity of all resources (Lemma 4), and the second using the bottleneck resources of one-shot DRF (Lemma 5).
Lower bound from aggregate processing capacity
The first lower bound ignores the detailed geometry of the demand vectors and uses only their normalization.
Lemma 4. It holds that
∫ { t : c ( t ) > 0 } m ( t ) 2 c ( t ) d t ≤ 2 D ⋅ O P T . \int_{\{t:c(t)>0\}} \frac{m(t)^2}{c(t)}\,\mathrm{d}t \le2D \cdot\mathrm{OPT}. ∫ { t : c ( t ) > 0 } c ( t ) m ( t ) 2 d t ≤ 2 D ⋅ OPT . Proof. Since ∥ a j ∥ ∞ = 1 \lVert a_j\rVert_\infty= 1 ∥ a j ∥ ∞ = 1 and demands are nonnegative, every job satisfies ∑ d = 1 D a j d ≥ 1 \sum_{d=1}^{D} a_{jd} \ge1 ∑ d = 1 D a j d ≥ 1 . Thus every feasible rate vector y ( t ) y(t) y ( t ) satisfies
∑ j = 1 n y j ( t ) ≤ ∑ j = 1 n ∑ d = 1 D a j d y j ( t ) = ∑ d = 1 D ∑ j = 1 n a j d y j ( t ) ≤ D . \sum_{j=1}^{n} y_j(t) \le\sum_{j=1}^{n}\sum_{d=1}^{D} a_{jd}y_j(t) = \sum_{d=1}^{D}\sum_{j=1}^{n} a_{jd}y_j(t) \le D. j = 1 ∑ n y j ( t ) ≤ j = 1 ∑ n d = 1 ∑ D a j d y j ( t ) = d = 1 ∑ D j = 1 ∑ n a j d y j ( t ) ≤ D . We may therefore relax the instance to a single machine of speed D D D , discard all rate caps, and retain the processing requirements p j p_j p j . The optimal value of this relaxation is a lower bound on OPT. Shortest-processing-time first is optimal for total completion time on this relaxation. Thus,
O P T ≥ 1 D ( ∑ j = 1 n p j + ∑ j = 1 n − 1 ∑ j ′ = j + 1 n min { p j , p j ′ } ) . (6) \mathrm{OPT} \ge\frac{1}{D}\left(\sum_{j=1}^{n} p_j + \sum_{j=1}^{n-1}\sum_{j'=j+1}^{n} \min\{p_j,p_{j'}\}\right). \tag*{(6)} OPT ≥ D 1 j = 1 ∑ n p j + j = 1 ∑ n − 1 j ′ = j + 1 ∑ n min { p j , p j ′ } . (6) We next bound the integral in the statement of the lemma. Since m ( t ) = ∑ j = 1 n z j ( t ) m(t)=\sum_{j=1}^{n} z_j(t) m ( t ) = ∑ j = 1 n z j ( t ) , expanding its square gives
m ( t ) 2 = ∑ j = 1 n z j ( t ) 2 + 2 ∑ j = 1 n − 1 ∑ j ′ = j + 1 n z j ( t ) z j ′ ( t ) . m(t)^2 = \sum_{j=1}^{n} z_j(t)^2 + 2\sum_{j=1}^{n-1}\sum_{j'=j+1}^{n} z_j(t)z_{j'}(t). m ( t ) 2 = j = 1 ∑ n z j ( t ) 2 + 2 j = 1 ∑ n − 1 j ′ = j + 1 ∑ n z j ( t ) z j ′ ( t ) . We bound the individual-job terms and the pairwise terms separately. For every job j j j , the identity z j ( t ) = c ( t ) x j ( t ) z_j(t)=c(t)x_j(t) z j ( t ) = c ( t ) x j ( t ) in (3) and the bound 0 ≤ z j ( t ) ≤ 1 0\le z_j(t)\le1 0 ≤ z j ( t ) ≤ 1 imply, whenever c ( t ) > 0 c(t)>0 c ( t ) > 0 , that
z j ( t ) 2 c ( t ) = x j ( t ) z j ( t ) ≤ x j ( t ) . \frac{z_j(t)^2}{c(t)} = x_j(t)z_j(t) \le x_j(t). c ( t ) z j ( t ) 2 = x j ( t ) z j ( t ) ≤ x j ( t ) . Integrating and using that job j j j receives exactly p j p_j p j units of processing over its execution, we obtain
∫ { t : c ( t ) > 0 } z j ( t ) 2 c ( t ) d t ≤ ∫ 0 ∞ x j ( t ) d t = p j . \int_{\{t:c(t)>0\}} \frac{z_j(t)^2}{c(t)}\,\mathrm{d}t \le\int_{0}^{\infty} x_j(t)\,\mathrm{d}t = p_j. ∫ { t : c ( t ) > 0 } c ( t ) z j ( t ) 2 d t ≤ ∫ 0 ∞ x j ( t ) d t = p j . For two distinct jobs j j j and j ′ j' j ′ , the same reasoning gives
z j ( t ) z j ′ ( t ) c ( t ) ≤ x j ( t ) and z j ( t ) z j ′ ( t ) c ( t ) ≤ x j ′ ( t ) \frac{z_j(t)z_{j'}(t)}{c(t)} \le x_j(t) \quad\text{and}\quad\frac{z_j(t)z_{j'}(t)}{c(t)} \le x_{j'}(t) c ( t ) z j ( t ) z j ′ ( t ) ≤ x j ( t ) and c ( t ) z j ( t ) z j ′ ( t ) ≤ x j ′ ( t ) when c ( t ) > 0 c(t)>0 c ( t ) > 0 .
Thus by taking the integral over time, we have
∫ { t : c ( t ) > 0 } z j ( t ) z j ′ ( t ) c ( t ) d t ≤ min { p j , p j ′ } . \int_{\{t:c(t)>0\}} \frac{z_j(t)z_{j'}(t)}{c(t)}\,\mathrm{d}t \le\min\{p_j,p_{j'}\}. ∫ { t : c ( t ) > 0 } c ( t ) z j ( t ) z j ′ ( t ) d t ≤ min { p j , p j ′ } . Substituting these bounds into the expansion of m ( t ) 2 m(t)^2 m ( t ) 2 and applying (6) yields
∫ { t : c ( t ) > 0 } m ( t ) 2 c ( t ) d t ≤ ∑ j = 1 n p j + 2 ∑ j = 1 n − 1 ∑ j ′ = j + 1 n min { p j , p j ′ } ≤ 2 D ⋅ O P T , \int_{\{t:c(t)>0\}} \frac{m(t)^2}{c(t)}\,\mathrm{d}t \le\sum_{j=1}^{n}p_j + 2\sum_{j=1}^{n-1}\sum_{j'=j+1}^{n}\min\{p_j,p_{j'}\} \le2D\cdot\mathrm{OPT}, ∫ { t : c ( t ) > 0 } c ( t ) m ( t ) 2 d t ≤ j = 1 ∑ n p j + 2 j = 1 ∑ n − 1 j ′ = j + 1 ∑ n min { p j , p j ′ } ≤ 2 D ⋅ OPT , which completes the proof of the lemma.
Lower bound from bottleneck resource loads
We next bound ∫ 0 ∞ c ( t ) d t \int_{0}^{\infty} c(t)\,\mathrm{d}t ∫ 0 ∞ c ( t ) d t in terms of OPT. We use the allocation rule of one-shot DRF to relate congestion to processing requirements on a bottleneck resource. These requirements limit how many jobs OPT can complete by a given time.
For the proof of this bound, and for the refined bounds in Section B, we divide the schedule of one-shot DRF into phases. Partition the schedule at its job completion times and omit phases with c ( t ) = 0 c(t)=0 c ( t ) = 0 . Let I 1 , … , I r I_1,\ldots,I_r I 1 , … , I r be the remaining phases in chronological order, with r = 0 r=0 r = 0 if there are none. In phase h h h , write c h : = c ( t ) c_h:=c(t) c h := c ( t ) , z j , h : = z j ( t ) z_{j,h}:=z_j(t) z j , h := z j ( t ) , and m h : = m ( t ) m_h:=m(t) m h := m ( t ) , and define its uncapped service amount l h : = ∣ I h ∣ / c h l_h:=|I_h|/c_h l h := ∣ I h ∣/ c h , which is the processing a job would receive during phase h h h at the common rate without an individual cap. By (3) , job j j j actually receives l h z j , h l_hz_{j,h} l h z j , h units of processing during phase h h h . Therefore, we have ∑ h = 1 r l h z j , h ≤ p j \sum_{h=1}^{r}l_hz_{j,h}\le p_j ∑ h = 1 r l h z j , h ≤ p j for every job j j j . The inequality may be strict because jobs can also be processed during the omitted phases, in which they run at their caps. Since m ( t ) = 0 m(t)=0 m ( t ) = 0 in the omitted phases, we also have Z 1 = ∫ 0 ∞ m ( t ) d t = ∑ h = 1 r l h m h c h Z_1=\int_{0}^{\infty}m(t)\,\mathrm{d}t=\sum_{h=1}^{r}l_hm_hc_h Z 1 = ∫ 0 ∞ m ( t ) d t = ∑ h = 1 r l h m h c h .
Lemma 5. It holds that
∫ 0 ∞ c ( t ) d t ≤ 8 ⋅ O P T . \int_{0}^{\infty}c(t)\,\mathrm{d}t\le8\cdot\mathrm{OPT}. ∫ 0 ∞ c ( t ) d t ≤ 8 ⋅ OPT .
Proof. If r = 0 r=0 r = 0 , then c ( t ) = 0 c(t)=0 c ( t ) = 0 at all times and the claim is immediate. Otherwise, fix an optimal schedule x ∗ x^* x ∗ and let N ∗ ( t ) N^*(t) N ∗ ( t ) be the number of jobs that are unfinished in this schedule at time t t t . Thus O P T = ∫ 0 ∞ N ∗ ( t ) d t \mathrm{OPT}=\int_{0}^{\infty}N^*(t)\,\mathrm{d}t OPT = ∫ 0 ∞ N ∗ ( t ) d t . Let σ h : = ∑ g = 1 h l g \sigma_h:=\sum_{g=1}^{h}l_g σ h := ∑ g = 1 h l g , with σ 0 : = 0 \sigma_0:=0 σ 0 := 0 , and set c r + 1 : = 0 c_{r+1}:=0 c r + 1 := 0 . Since c h c_h c h is nonincreasing by Lemma 2, summation by parts gives
∫ 0 ∞ c ( t ) d t = ∑ h = 1 r l h c h 2 = ∑ h = 1 r σ h ( c h 2 − c h + 1 2 ) . (7) \int_{0}^{\infty}c(t)\,\mathrm{d}t=\sum_{h=1}^{r}l_hc_h^2=\sum_{h=1}^{r}\sigma_h\left(c_h^2-c_{h+1}^2\right). \tag*{(7)} ∫ 0 ∞ c ( t ) d t = h = 1 ∑ r l h c h 2 = h = 1 ∑ r σ h ( c h 2 − c h + 1 2 ) . (7)
Fix a phase h h h . Some resource d h d_h d h is tight in this phase, so ∑ j = 1 n a j d h z j , h = c h \sum_{j=1}^{n}a_{jd_h}z_{j,h}=c_h ∑ j = 1 n a j d h z j , h = c h . Moreover, the effective masses are nonincreasing across phases by Lemma 2, which implies
p j ≥ ∑ g = 1 h l g z j , g ≥ σ h z j , h p_j\ge\sum_{g=1}^{h}l_gz_{j,g}\ge\sigma_hz_{j,h} p j ≥ g = 1 ∑ h l g z j , g ≥ σ h z j , h
for every job j j j . We first use this phase to bound how many jobs remain unfinished in OPT. To complete job j j j , OPT must perform p j ≥ σ h z j , h p_j\ge\sigma_hz_{j,h} p j ≥ σ h z j , h units of processing. Each unit of processing consumes a j d h a_{jd_h} a j d h units of resource d h d_h d h , so completing this job requires at least σ h a j d h z j , h \sigma_ha_{jd_h}z_{j,h} σ h a j d h z j , h units of that resource.
Fix any y ∈ [ 0 , c h / 2 ] y\in[0,c_h/2] y ∈ [ 0 , c h /2 ] , and let F F F be the jobs that OPT has completed by time σ h y \sigma_hy σ h y . Since resource d h d_h d h has capacity one, OPT can have used at most σ h y \sigma_hy σ h y units of this resource by that time. Hence
σ h ∑ j ∈ F a j d h z j , h ≤ ∑ j ∈ F p j a j d h ≤ σ h y , so ∑ j ∈ F a j d h z j , h ≤ y . \sigma_h\sum_{j\in F}a_{jd_h}z_{j,h}\le\sum_{j\in F}p_ja_{jd_h}\le\sigma_hy,\qquad\text{so}\qquad\sum_{j\in F}a_{jd_h}z_{j,h}\le y. σ h j ∈ F ∑ a j d h z j , h ≤ j ∈ F ∑ p j a j d h ≤ σ h y , so j ∈ F ∑ a j d h z j , h ≤ y .
Since ∑ j = 1 n a j d h z j , h = c h \sum_{j=1}^{n}a_{jd_h}z_{j,h}=c_h ∑ j = 1 n a j d h z j , h = c h , the jobs unfinished in OPT satisfy
∑ j ∈ [ n ] ∖ F a j d h z j , h ≥ c h − y . \sum_{j\in[n]\setminus F}a_{jd_h}z_{j,h}\ge c_h-y. j ∈ [ n ] ∖ F ∑ a j d h z j , h ≥ c h − y .
Note that the quantities a j d h z j , h a_{jd_h}z_{j,h} a j d h z j , h are determined by phase h h h of one-shot DRF and not by the remaining work in OPT. Each of them is at most one, so OPT must have at least c h − y c_h-y c h − y unfinished jobs at time σ h y \sigma_hy σ h y . Because y ≤ c h / 2 y\le c_h/2 y ≤ c h /2 , we conclude that
N ∗ ( σ h y ) ≥ c h − y ≥ y . N^*(\sigma_hy)\ge c_h-y\ge y. N ∗ ( σ h y ) ≥ c h − y ≥ y .
All jobs are released at time zero, so N ∗ ( t ) N^*(t) N ∗ ( t ) is nonincreasing. Thus N ∗ ( t ) ≥ y N^*(t)\ge y N ∗ ( t ) ≥ y throughout 0 ≤ t ≤ σ h y 0\le t\le\sigma_h y 0 ≤ t ≤ σ h y .
We now combine these bounds across phases without double counting. Recall that OPT is the area under the curve N ∗ ( t ) N^*(t) N ∗ ( t ) . The bound just proved says that, at height y ≤ c h / 2 y\le c_h/2 y ≤ c h /2 , this area contains a horizontal segment of length σ h y \sigma_h y σ h y . For phase h h h , we count only the segments at heights y ∈ [ c h + 1 / 2 , c h / 2 ] y\in[c_{h+1}/2,c_h/2] y ∈ [ c h + 1 /2 , c h /2 ] . Since c h c_h c h is nonincreasing, these height intervals have disjoint interiors for different phases. No area is therefore counted twice. See Figure 1 for a visualization. Integrating the segment lengths over their assigned heights and using (7) gives
Figure 1. Schematic of the area lower bound, with two phases and c 3 = 0 c_3=0 c 3 = 0 . The horizontal axis is time in OPT’s schedule. The shaded regions are bounds derived from DRF phases, not the time intervals of those phases. Initially N ∗ ( 0 ) = n ≥ c 1 N^*(0)=n\ge c_1 N ∗ ( 0 ) = n ≥ c 1 (drawn with strict inequality). The unshaded area above the bands is not counted in the lower bound. At each height y ∈ [ c h + 1 / 2 , c h / 2 ] y\in[c_{h+1}/2,c_h/2] y ∈ [ c h + 1 /2 , c h /2 ] , phase h h h provides a horizontal segment 0 ≤ t ≤ σ h y 0\le t\le\sigma_h y 0 ≤ t ≤ σ h y below N ∗ ( t ) N^*(t) N ∗ ( t ) . Its shaded region has area ∫ c h + 1 / 2 c h / 2 σ h y d y \int_{c_{h+1}/2}^{c_h/2}\sigma_h y\,\mathrm{d}y ∫ c h + 1 /2 c h /2 σ h y d y . The two regions may overlap in time, but their height intervals are disjoint, so their areas can be added without double counting.
OPT ≥ ∑ h = 1 r ∫ c h + 1 / 2 c h / 2 σ h y d y = 1 8 ∑ h = 1 r σ h ( c h 2 − c h + 1 2 ) = 1 8 ∫ 0 ∞ c ( t ) d t . \operatorname{OPT}\ge\sum_{h=1}^{r}\int_{c_{h+1}/2}^{c_h/2}\sigma_h y\,\mathrm{d}y=\frac{1}{8}\sum_{h=1}^{r}\sigma_h(c_h^2-c_{h+1}^2)=\frac{1}{8}\int_{0}^{\infty}c(t)\,\mathrm{d}t. OPT ≥ h = 1 ∑ r ∫ c h + 1 /2 c h /2 σ h y d y = 8 1 h = 1 ∑ r σ h ( c h 2 − c h + 1 2 ) = 8 1 ∫ 0 ∞ c ( t ) d t .
This completes the proof of the lemma.
Completing the upper bound
Proof of Theorem 1. Combining (5) with Lemmas 4 and 5 gives
Z 1 ≤ 2 D ⋅ OPT ⋅ 8 OPT = 4 D OPT . Z_1\le\sqrt{2D}\cdot\operatorname{OPT}\cdot8\operatorname{OPT}=4\sqrt{D}\operatorname{OPT}. Z 1 ≤ 2 D ⋅ OPT ⋅ 8 OPT = 4 D OPT .
Lemma 3 therefore yields
ALG ≤ CAP 1 + Z 1 ≤ ( 4 D + 1 ) ⋅ OPT ≤ 5 D ⋅ OPT . \operatorname{ALG}\le\operatorname{CAP}_1+Z_1\le(4\sqrt{D}+1)\cdot\operatorname{OPT}\le5\sqrt{D}\cdot\operatorname{OPT}. ALG ≤ CAP 1 + Z 1 ≤ ( 4 D + 1 ) ⋅ OPT ≤ 5 D ⋅ OPT .
This proves the bound for one-shot DRF when all jobs are released at time zero. A common positive release time adds the same amount to every job’s completion time in both schedules, so the bound continues to hold. Finally, by Lemma 1, full DRF completes every job no later than one-shot DRF and satisfies the same bound.
In Section D, we remove the assumption that all jobs are released at time zero, losing only a factor of two.
Lower Bound
We now show that the dependence on D D D is tight up to a constant factor. The instance combines jobs that each use a single resource with jobs that use every resource. Both algorithms give all jobs the same rate, whereas a comparison schedule first completes the single-resource jobs in parallel.
Proposition 1. For every integer D ≥ 1 D \ge1 D ≥ 1 , the competitive ratio of one-shot DRF and full DRF for minimizing total completion time in multidimensional scheduling with D D D resources is at least 1 + D 1+\sqrt{D} 1 + D , even for binary demands, release times r j = 0 r_j=0 r j = 0 , and p j = u j = 1 p_j=u_j=1 p j = u j = 1 .
Proof. Fix an integer m ≥ 1 m \ge1 m ≥ 1 . For each resource d ∈ [ D ] d \in[D] d ∈ [ D ] , create m m m jobs that demand only resource d d d . Also create k : = ⌊ m D ⌋ k := \lfloor m\sqrt{D}\rfloor k := ⌊ m D ⌋ jobs that demand all resources. Every positive demand is one, and every job has p j = u j = 1 p_j=u_j=1 p j = u j = 1 and r j = 0 r_j=0 r j = 0 .
Each resource is demanded by exactly m + k m+k m + k jobs, so one-shot DRF assigns every job rate 1 / ( m + k ) 1/(m+k) 1/ ( m + k ) . All resources are tight at this rate, so full DRF makes the same allocation. All jobs complete at time m + k m+k m + k , giving
A L G = ( D m + k ) ( m + k ) . \mathrm{ALG}=(Dm+k)(m+k). ALG = ( D m + k ) ( m + k ) .
We compare this with a schedule that first processes the single-resource jobs in m m m rounds, one job per resource in parallel, and then processes the remaining k k k jobs sequentially. Thus
O P T ≤ D m ( m + 1 ) 2 + m k + k ( k + 1 ) 2 . \mathrm{OPT}\le\frac{Dm(m+1)}{2}+mk+\frac{k(k+1)}{2}. OPT ≤ 2 D m ( m + 1 ) + mk + 2 k ( k + 1 ) .
The first term is the contribution of the single-resource jobs. The remaining jobs complete at times m + 1 , … , m + k m+1,\ldots,m+k m + 1 , … , m + k , giving the last two terms. Since k / m → D k/m\to\sqrt{D} k / m → D as m → ∞ m\to\infty m → ∞ , we obtain
A L G O P T ≥ 2 ( D m + k ) ( m + k ) D m ( m + 1 ) + 2 m k + k ( k + 1 ) ⟶ 1 + D . \frac{\mathrm{ALG}}{\mathrm{OPT}}\ge\frac{2(Dm+k)(m+k)}{Dm(m+1)+2mk+k(k+1)}\longrightarrow1+\sqrt{D}. OPT ALG ≥ D m ( m + 1 ) + 2 mk + k ( k + 1 ) 2 ( D m + k ) ( m + k ) ⟶ 1 + D .
Together with Theorem 1, this shows that both algorithms have competitive ratio Θ ( D ) \Theta(\sqrt{D}) Θ ( D ) for total completion time with zero-release times.
Minimizing ℓ q \ell_q ℓ q Norms
In this section, we study the ℓ q \ell_q ℓ q -norm objective when all jobs are released at time zero. Given a real number q ≥ 1 q \ge1 q ≥ 1 and a feasible schedule with completion times C = ( C j ) j = 1 n C=(C_j)_{j=1}^n C = ( C j ) j = 1 n , the ℓ q \ell_q ℓ q norm is ∥ C ∥ q = ( ∑ j = 1 n C j q ) 1 / q \lVert C\rVert_q=\left(\sum_{j=1}^n C_j^q\right)^{1/q} ∥ C ∥ q = ( ∑ j = 1 n C j q ) 1/ q . For q = 1 q=1 q = 1 , this is the total completion time. Larger values of q q q put more weight on jobs with large completion times, and the ℓ q \ell_q ℓ q norm approaches the maximum completion time as q → ∞ q\to\infty q → ∞ . Hence, ℓ q \ell_q ℓ q norms interpolate between average and worst-case job latency. Our goal is to prove the following theorem.
Theorem 2. For every integer D ≥ 1 D \ge1 D ≥ 1 and real q ≥ 1 q \ge1 q ≥ 1 , one-shot DRF and full DRF have a competitive ratio in
Θ ( min { q D 1 / ( q + 1 ) , D } ) \Theta\left(\min\left\{qD^{1/(q+1)},D\right\}\right) Θ ( min { q D 1/ ( q + 1 ) , D } ) for minimizing the ℓ q \ell_q ℓ q norm of completion times in multidimensional scheduling with D D D resources and zero-release times. In particular, the competitive ratio is in Θ ( D ) \Theta(D) Θ ( D ) if q ≥ D q\ge D q ≥ D .
For q = 1 q = 1 q = 1 , the theorem recovers the Θ ( D ) \Theta(\sqrt{D}) Θ ( D ) bound of § 3 . We first prove the upper bound O ( q D 1 / ( q + 1 ) ) O(qD^{1/(q+1)}) O ( q D 1/ ( q + 1 ) ) in § 4.1 and then the upper bound O ( D ) O(D) O ( D ) in § 4.2 . Matching lower-bound instances for one-shot DRF and full DRF are given in Section C.2, and the remaining omitted proofs of this section in Section C. The black-box extension to arbitrary release times is deferred to Section D.
Throughout this section, we reuse the congestion c ( t ) c(t) c ( t ) , the effective masses z j ( t ) z_j(t) z j ( t ) , the effective job count m ( t ) m(t) m ( t ) , and the effective resource loads c d ( t ) c_d(t) c d ( t ) from § 3.1.1 .
An Upper Bound Depending on q q q
Fix a real number q ≥ 1 q \ge1 q ≥ 1 and assume that all jobs are released at time zero. Now fix a schedule of one-shot DRF with completion times ( C j ) j = 1 n (C_j)_{j=1}^n ( C j ) j = 1 n . Let A L G q : = ∥ C ∥ q \mathrm{ALG}_q := \lVert C\rVert_q ALG q := ∥ C ∥ q .
For any s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , a speed-s s s schedule has capacity s s s on every shared resource and rate cap s u j su_j s u j for each job j j j . Thus its rates y j ( t ) y_j(t) y j ( t ) must satisfy, at every time t ≥ 0 t \ge0 t ≥ 0 ,
0 ≤ y j ( t ) ≤ s u j for every j ∈ [ n ] , 0 \le y_j(t) \le su_j \qquad\text{for every } j \in[n], 0 ≤ y j ( t ) ≤ s u j for every j ∈ [ n ] ,
∑ j = 1 n a j d y j ( t ) ≤ s for every d ∈ [ D ] . \sum_{j=1}^{n} a_{jd}y_j(t) \le s \qquad\text{for every } d \in[D]. j = 1 ∑ n a j d y j ( t ) ≤ s for every d ∈ [ D ] .
Let O P T s , q \mathrm{OPT}_{s,q} OPT s , q denote the minimum ℓ q \ell_q ℓ q norm among speed-s s s schedules. In particular, O P T 1 , q \mathrm{OPT}_{1,q} OPT 1 , q is the usual unit-speed optimum. Speed-s s s schedules only serve as an analysis tool. In the proof of Theorem 3, we show that O P T s , q ≤ O P T 1 , q / s \mathrm{OPT}_{s,q} \le\mathrm{OPT}_{1,q}/s OPT s , q ≤ OPT 1 , q / s , so our final bounds compare against the usual unit-speed optimum.
The proof first separates the delay caused by rate caps. We then introduce a continuous-time relaxation and construct two dual solutions to bound the remaining contribution, depending on whether the effective job count is concentrated on one resource or spread across resources. Intuitively, the effective count discounts jobs whose rates are already limited by their caps, so its weighted integral captures the part of the objective caused by competition for shared resources. At heavy times, the most loaded resource carries a significant fraction of this count, allowing us to charge the delay to a single bottleneck. At light times, the count is spread across resources, and we instead charge it through all D D D resource constraints. A threshold B B B balances the losses in these two arguments and leads to the factor D 1 / ( q + 1 ) D^{1/(q+1)} D 1/ ( q + 1 ) .
At the end, we use Lemma 1 to transfer the guarantee to full DRF.
Accounting for rate caps
For every time t ≥ 0 t \ge0 t ≥ 0 , we define the nondecreasing weight ω ( t ) : = q t q − 1 \omega(t) := qt^{q-1} ω ( t ) := q t q − 1 . When q = 1 q = 1 q = 1 , we set ω ( t ) = 1 \omega(t) = 1 ω ( t ) = 1 also at t = 0 t = 0 t = 0 . For every time horizon T ≥ 0 T \ge0 T ≥ 0 , we have
∫ 0 T ω ( t ) d t = ∫ 0 T q t q − 1 d t = [ t q ] 0 T = T q . (8) \int_0^T \omega(t)\,\mathrm{d}t = \int_0^T qt^{q-1}\,\mathrm{d}t = [t^q]_0^T = T^q. \tag*{(8)} ∫ 0 T ω ( t ) d t = ∫ 0 T q t q − 1 d t = [ t q ] 0 T = T q . (8)
This identity lets us express completion-time powers as integrals and separate the cap contribution from the rest of the objective.
We now separate the contribution of the rate caps, as in § 3.1.2 . Job j j j cannot finish before time p j / ( s u j ) p_j/(su_j) p j / ( s u j ) in a speed-s s s schedule. Since s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , we have p j / ( s u j ) ≥ p j / u j p_j/(su_j) \ge p_j/u_j p j / ( s u j ) ≥ p j / u j and thus
C A P q : = ( ∑ j = 1 n ( p j u j ) q ) 1 / q ≤ O P T s , q . (9) \mathrm{CAP}_q := \left(\sum_{j=1}^{n}\left(\frac{p_j}{u_j}\right)^q\right)^{1/q} \le\mathrm{OPT}_{s,q}. \tag*{(9)} CAP q := ( j = 1 ∑ n ( u j p j ) q ) 1/ q ≤ OPT s , q . (9)
As before, we capture the remaining part of the objective by integrating the effective masses, now weighted by ω ( t ) \omega(t) ω ( t ) . For every job j ∈ [ n ] j \in[n] j ∈ [ n ] , define
Z j , q : = ∫ 0 C j ω ( t ) z j ( t ) d t Z_{j,q} := \int_{0}^{C_j} \omega(t)z_j(t)\,\mathrm{d}t Z j , q := ∫ 0 C j ω ( t ) z j ( t ) d t
and
Z q : = ∑ j = 1 n Z j , q = ∑ j = 1 n ∫ 0 C j ω ( t ) z j ( t ) d t = ∫ 0 ∞ ω ( t ) ∑ j = 1 n z j ( t ) d t = ∫ 0 ∞ ω ( t ) m ( t ) d t . Z_q := \sum_{j=1}^{n} Z_{j,q} = \sum_{j=1}^{n} \int_{0}^{C_j} \omega(t)z_j(t)\,\mathrm{d}t = \int_{0}^{\infty} \omega(t)\sum_{j=1}^{n} z_j(t)\,\mathrm{d}t = \int_{0}^{\infty} \omega(t)m(t)\,\mathrm{d}t. Z q := j = 1 ∑ n Z j , q = j = 1 ∑ n ∫ 0 C j ω ( t ) z j ( t ) d t = ∫ 0 ∞ ω ( t ) j = 1 ∑ n z j ( t ) d t = ∫ 0 ∞ ω ( t ) m ( t ) d t .
For q = 1 q=1 q = 1 , these are exactly the quantities Z j , 1 Z_{j,1} Z j , 1 and Z 1 Z_1 Z 1 from § 3.1.2 . The following separation lemma generalizes Lemma 3.
Lemma 6. For every job j j j , let τ j \tau_j τ j be the first time it runs at its cap, or C j C_j C j if it finishes without reaching its cap, and write τ : = ( τ j ) j = 1 n \tau:= (\tau_j)_{j=1}^{n} τ := ( τ j ) j = 1 n . Then
C j ≤ p j u j + τ j ≤ p j u j + Z j , q 1 / q . C_j \le\frac{p_j}{u_j}+\tau_j \le\frac{p_j}{u_j}+Z_{j,q}^{1/q}. C j ≤ u j p j + τ j ≤ u j p j + Z j , q 1/ q . Consequently, for every s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , we have
A L G q ≤ O P T s , q + ∥ τ ∥ q ≤ O P T s , q + Z q 1 / q . \mathrm{ALG}_q \le\mathrm{OPT}_{s,q}+\lVert\tau\rVert_q \le\mathrm{OPT}_{s,q}+Z_q^{1/q}. ALG q ≤ OPT s , q + ∥ τ ∥ q ≤ OPT s , q + Z q 1/ q .
A continuous-time relaxation
By Lemma 6, it remains to bound Z q 1 / q Z_q^{1/q} Z q 1/ q in terms of O P T s , q \mathrm{OPT}_{s,q} OPT s , q . We do this by dual fitting. We formulate a linear programming relaxation for speed-s s s schedules and construct feasible solutions to its dual from the schedule of one-shot DRF. By weak duality, the objective value of every such dual solution is a lower bound on O P T s , q \mathrm{OPT}_{s,q} OPT s , q . This way, we never need to reason about the structure of an optimal schedule directly.
Fix s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] . In the following relaxation, the variable y j ( t ) y_j(t) y j ( t ) is the rate of job j j j at time t t t .
(LP) min ∑ j = 1 n 1 p j ∫ 0 ∞ t q y j ( t ) d t s.t. 1 p j ∫ 0 ∞ y j ( t ) d t ≥ 1 for every j ∈ [ n ] , ∑ j = 1 n a j d y j ( t ) ≤ s for every d ∈ [ D ] , t ≥ 0 , 0 ≤ y j ( t ) ≤ s u j for every j ∈ [ n ] , t ≥ 0. \begin{aligned}
\text{(LP)}\quad\min\quad&\sum_{j=1}^{n}\frac{1}{p_j}\int_{0}^{\infty}t^q y_j(t)\,\mathrm{d}t\\
\text{s.t.}\quad&\frac{1}{p_j}\int_{0}^{\infty}y_j(t)\,\mathrm{d}t \ge1 &&\text{for every }j\in[n],\\
&\sum_{j=1}^{n}a_{jd}y_j(t)\le s &&\text{for every }d\in[D],\ t\ge0,\\
&0\le y_j(t)\le su_j &&\text{for every }j\in[n],\ t\ge0.
\end{aligned} (LP) min s.t. j = 1 ∑ n p j 1 ∫ 0 ∞ t q y j ( t ) d t p j 1 ∫ 0 ∞ y j ( t ) d t ≥ 1 j = 1 ∑ n a j d y j ( t ) ≤ s 0 ≤ y j ( t ) ≤ s u j for every j ∈ [ n ] , for every d ∈ [ D ] , t ≥ 0 , for every j ∈ [ n ] , t ≥ 0.
The objective charges each unit of processing of job j j j at time t t t a cost of t q / p j t^q/p_j t q / p j . Since job j j j receives p j p_j p j units of processing before C j C_j C j , its total cost in a feasible schedule is at most C j q C_j^q C j q . Its continuous dual is given below, with dual variables α j \alpha_j α j , β d ( t ) \beta_d(t) β d ( t ) , and γ j ( t ) \gamma_j(t) γ j ( t ) .
(DLP) max ∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t − s ∑ j = 1 n u j ∫ 0 ∞ γ j ( t ) d t s.t. α j − t q p j ≤ ∑ d = 1 D a j d β d ( t ) + γ j ( t ) for every j ∈ [ n ] , t ≥ 0 , α j ≥ 0 for every j ∈ [ n ] , β d ( t ) ≥ 0 for every d ∈ [ D ] , t ≥ 0 , γ j ( t ) ≥ 0 for every j ∈ [ n ] , t ≥ 0. \begin{aligned}
\text{(DLP)}\qquad\max\quad&\sum_{j=1}^{n}\alpha_j-s\int_{0}^{\infty}\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t-s\sum_{j=1}^{n}u_j\int_{0}^{\infty}\gamma_j(t)\,\mathrm{d}t\\
\text{s.t.}\quad&\frac{\alpha_j-t^q}{p_j}\le\sum_{d=1}^{D}a_{jd}\beta_d(t)+\gamma_j(t) &&\text{for every }j\in[n],\ t\ge0,\\
&\alpha_j\ge0 &&\text{for every }j\in[n],\\
&\beta_d(t)\ge0 &&\text{for every }d\in[D],\ t\ge0,\\
&\gamma_j(t)\ge0 &&\text{for every }j\in[n],\ t\ge0.
\end{aligned} (DLP) max s.t. j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t − s j = 1 ∑ n u j ∫ 0 ∞ γ j ( t ) d t p j α j − t q ≤ d = 1 ∑ D a j d β d ( t ) + γ j ( t ) α j ≥ 0 β d ( t ) ≥ 0 γ j ( t ) ≥ 0 for every j ∈ [ n ] , t ≥ 0 , for every j ∈ [ n ] , for every d ∈ [ D ] , t ≥ 0 , for every j ∈ [ n ] , t ≥ 0.
We will always set γ j ( t ) = 0 \gamma_j(t)=0 γ j ( t ) = 0 . The dual then has a natural economic interpretation. We can think of β d ( t ) \beta_d(t) β d ( t ) as the price of resource d d d at time t t t and of α j \alpha_j α j as a budget of job j j j . The dual constraint says that the budget of job j j j is at most the cost t q t^q t q of completing at time t t t plus the price p j ∑ d = 1 D a j d β d ( t ) p_j\sum_{d=1}^{D}a_{jd}\beta_d(t) p j ∑ d = 1 D a j d β d ( t ) of processing the entire job at time t t t . The dual objective is the total budget minus the total value of the resource capacity. We will choose the prices according to the congestion in the schedule of one-shot DRF.
We first show that (LP) is indeed a relaxation of O P T s , q q \mathrm{OPT}_{s,q}^{q} OPT s , q q .
Lemma 7. For every q ≥ 1 q\ge1 q ≥ 1 and s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] , the optimal value of (LP) is at most O P T s , q q \mathrm{OPT}_{s,q}^{q} OPT s , q q .
The next lemma states weak duality with the cap variables γ j ( t ) \gamma_j(t) γ j ( t ) set to zero.
Lemma 8 (Weak-duality bound). Fix s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] . Suppose that α j ≥ 0 \alpha_j\ge0 α j ≥ 0 for every j ∈ [ n ] j\in[n] j ∈ [ n ] and that each β d \beta_d β d is a nonnegative and integrable function on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) . If
α j ≤ t 0 q + p j ∑ d = 1 D a j d β d ( t 0 ) (10) \alpha_j\le t_0^q+p_j\sum_{d=1}^{D}a_{jd}\beta_d(t_0) \tag*{(10)} α j ≤ t 0 q + p j d = 1 ∑ D a j d β d ( t 0 ) (10) for every j ∈ [ n ] j\in[n] j ∈ [ n ] and t 0 ≥ 0 t_0\ge0 t 0 ≥ 0 , then
∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t ≤ O P T s , q q . \sum_{j=1}^{n}\alpha_j-s\int_{0}^{\infty}\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t\le\mathrm{OPT}_{s,q}^{q}. j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t ≤ OPT s , q q .
Dual fitting
We now use Lemma 8 to bound Z q Z_q Z q . If Z q = 0 Z_q=0 Z q = 0 , Lemma 6 gives A L G q ≤ O P T 1 , q \mathrm{ALG}_q\le\mathrm{OPT}_{1,q} ALG q ≤ OPT 1 , q , so assume Z q > 0 Z_q>0 Z q > 0 . Fix a parameter B ∈ [ 1 , D ] B\in[1,D] B ∈ [ 1 , D ] which we will optimize later.
Definition 1 (Heavy and light times). A time t ≥ 0 t\ge0 t ≥ 0 is heavy if c ( t ) ≥ m ( t ) / B c(t)\ge m(t)/B c ( t ) ≥ m ( t ) / B , and light otherwise.
Denote the heavy-time and light-time contributions to Z q Z_q Z q by
Z q H : = ∫ { t : t is heavy } ω ( t ) m ( t ) d t and Z q L : = ∫ { t : t is light } ω ( t ) m ( t ) d t . Z_q^{\mathrm{H}}:=\int_{\{t:t\text{ is heavy}\}}\omega(t)m(t)\,\mathrm{d}t
\qquad\text{and}\qquad
Z_q^{\mathrm{L}}:=\int_{\{t:t\text{ is light}\}}\omega(t)m(t)\,\mathrm{d}t. Z q H := ∫ { t : t is heavy } ω ( t ) m ( t ) d t and Z q L := ∫ { t : t is light } ω ( t ) m ( t ) d t .
Then Z q = Z q H + Z q L Z_q=Z_q^{\mathrm{H}}+Z_q^{\mathrm{L}} Z q = Z q H + Z q L . We distinguish two cases, depending on whether heavy or light times contribute more to Z q Z_q Z q , and construct a different dual solution for each case.
Dual fitting case 1: heavy times dominate
Assume that Z q H ≥ Z q L Z_q^{H} \ge Z_q^{L} Z q H ≥ Z q L . Let T : = min { t ≥ 0 : c ( t ) = 0 } T := \min\{t \ge0 : c(t) = 0\} T := min { t ≥ 0 : c ( t ) = 0 } be the first time at which all unfinished jobs can run at their rate caps simultaneously. Since Z q > 0 Z_q > 0 Z q > 0 , we have c ( 0 ) > 0 c(0) > 0 c ( 0 ) > 0 , so T > 0 T > 0 T > 0 . By Lemma 2, c ( t ) c(t) c ( t ) is positive for 0 ≤ t < T 0 \le t < T 0 ≤ t < T and zero for all t ≥ T t \ge T t ≥ T . Some jobs may continue running at their caps after T T T .
We next partition [ 0 , T ) [0,T) [ 0 , T ) into intervals I i = [ T i − 1 , T i ) I_i = [T_{i-1},T_i) I i = [ T i − 1 , T i ) as follows. Start at T 0 = 0 T_0 = 0 T 0 = 0 . For each interval, set c i : = c ( T i − 1 ) c_i := c(T_{i-1}) c i := c ( T i − 1 ) and let T i T_i T i be the first time c ( t ) < c i / 2 c(t) < c_i/2 c ( t ) < c i /2 . Such a time exists no later than T T T . Stop when T i = T T_i = T T i = T , and let k k k be the number of intervals. Thus
c i 2 ≤ c ( t ) ≤ c i for every i ∈ [ k ] , t ∈ I i , and \frac{c_i}{2} \le c(t) \le c_i \qquad\text{for every } i \in[k],\ t \in I_i,\ \text{and} 2 c i ≤ c ( t ) ≤ c i for every i ∈ [ k ] , t ∈ I i , and
c i + 1 ≤ c i 2 for every i ∈ { 1 , … , k − 1 } . c_{i+1} \le\frac{c_i}{2} \qquad\text{for every } i \in\{1,\ldots,k-1\}. c i + 1 ≤ 2 c i for every i ∈ { 1 , … , k − 1 } .
For each interval I i I_i I i , consider the effective resource loads immediately before its endpoint T i T_i T i . Taking the values immediately before T i T_i T i in (4) gives c ( T i − ) = max d ∈ [ D ] c d ( T i − ) c(T_i^-) = \max_{d \in[D]} c_d(T_i^-) c ( T i − ) = max d ∈ [ D ] c d ( T i − ) . Choose a resource d i ∈ [ D ] d_i \in[D] d i ∈ [ D ] attaining this maximum, and call it the bottleneck resource of I i I_i I i . We use the values immediately before T i T_i T i because jobs completing at T i T_i T i are removed from U ( T i ) U(T_i) U ( T i ) and may cause the effective loads to decrease at that time.
Fix a time t ∈ I i t \in I_i t ∈ I i . Since c ( t ) ≤ c i c(t) \le c_i c ( t ) ≤ c i , every unfinished job j ∈ U ( t ) j \in U(t) j ∈ U ( t ) satisfies
z ~ j ( t ) = min { 1 , u j c ( t ) } ≤ min { 1 , u j c i } . \widetilde{z}_j(t) = \min\{1,u_jc(t)\} \le\min\{1,u_jc_i\}. z j ( t ) = min { 1 , u j c ( t )} ≤ min { 1 , u j c i } .
Moreover, Lemma 2 implies that the effective load on resource d i d_i d i cannot increase between t t t and T i T_i T i . Finally, c ( T i − ) ≥ c i / 2 c(T_i^-) \ge c_i/2 c ( T i − ) ≥ c i /2 by the definition of I i I_i I i . Combining these facts gives
∑ j ∈ U ( t ) a j , d i ⋅ min { 1 , u j c i } ≥ c d i ( t ) ≥ c d i ( T i − ) = c ( T i − ) ≥ c i 2 . (11) \sum_{j \in U(t)} a_{j,d_i} \cdot\min\{1,u_jc_i\} \ge c_{d_i}(t) \ge c_{d_i}(T_i^-) = c(T_i^-) \ge\frac{c_i}{2}. \tag*{(11)} j ∈ U ( t ) ∑ a j , d i ⋅ min { 1 , u j c i } ≥ c d i ( t ) ≥ c d i ( T i − ) = c ( T i − ) ≥ 2 c i . (11)
The next lemma performs the full dual fitting argument and concludes this case.
Lemma 9 (Heavy-case dual fitting). If Z q H ≥ Z q L Z_q^{H} \ge Z_q^{L} Z q H ≥ Z q L , then ALG q ≤ ( 1 + ( 8 B ) 1 / q ) OPT 1 / ( 8 q ) , q \operatorname{ALG}_q \le(1+(8B)^{1/q})\operatorname{OPT}_{1/(8q),q} ALG q ≤ ( 1 + ( 8 B ) 1/ q ) OPT 1/ ( 8 q ) , q .
Dual fitting case 2: light times dominate
Now assume that Z q L ≥ Z q H Z_q^{L} \ge Z_q^{H} Z q L ≥ Z q H . For every time t ≥ 0 t \ge0 t ≥ 0 , define M ( t ) : = sup θ ≥ t ω ( θ ) m ( θ ) M(t) := \sup_{\theta\ge t} \omega(\theta)m(\theta) M ( t ) := sup θ ≥ t ω ( θ ) m ( θ ) . Thus M ( t ) M(t) M ( t ) bounds the weighted effective job count at every time at or after t t t . It is nonincreasing because the set of later times only shrinks. It is finite, and it is zero once m m m has become zero. In contrast to the heavy case, we now put the same price M ( t ) / B M(t)/B M ( t ) / B on all resources.
Lemma 10 (Light-case dual fitting). If Z q L ≥ Z q H Z_q^{L} \ge Z_q^{H} Z q L ≥ Z q H , then ALG q ≤ ( 1 + 4 1 / q ) OPT B / ( 4 q D ) , q \operatorname{ALG}_q \le(1+4^{1/q})\operatorname{OPT}_{B/(4qD),q} ALG q ≤ ( 1 + 4 1/ q ) OPT B / ( 4 q D ) , q .
Proof of an upper bound depending on q q q
We now conclude § 4.1 by showing the following theorem.
Theorem 3. For every integer D ≥ 1 D \ge1 D ≥ 1 and real q ≥ 1 q \ge1 q ≥ 1 , one-shot DRF and full DRF have a competitive ratio in O ( q D 1 / ( q + 1 ) ) O(qD^{1/(q+1)}) O ( q D 1/ ( q + 1 ) ) for minimizing the ℓ q \ell_q ℓ q norm of completion times in multidimensional scheduling with D D D resources and zero-release times.
Proof. Assume that all jobs are released at time zero. Fix s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] . Take an optimal unit-speed schedule with rates y j ∗ ( t ) y_j^*(t) y j ∗ ( t ) and replace them by s y j ∗ ( s t ) sy_j^*(st) s y j ∗ ( s t ) . At time t t t , every resource load and job rate is s s s times its value at time s t st s t in the original schedule. The new schedule therefore respects resource capacities s s s and rate caps s u j su_j s u j . Moreover, for every job j j j and time t ≥ 0 t \ge0 t ≥ 0 ,
∫ 0 t / s s y j ∗ ( s θ ) d θ = ∫ 0 t y j ∗ ( θ ) d θ . \int_0^{t/s} sy_j^*(s\theta)\,\mathrm{d}\theta= \int_0^t y_j^*(\theta)\,\mathrm{d}\theta. ∫ 0 t / s s y j ∗ ( s θ ) d θ = ∫ 0 t y j ∗ ( θ ) d θ .
Thus each completion time is multiplied by 1 / s 1/s 1/ s , and so is the ℓ q \ell_q ℓ q norm. Since this is a feasible speed-s s s schedule,
O P T s , q ≤ 1 s O P T 1 , q . \mathrm{OPT}_{s,q} \le\frac{1}{s}\mathrm{OPT}_{1,q}. OPT s , q ≤ s 1 OPT 1 , q .
If Z q = 0 Z_q=0 Z q = 0 , Lemma 6 with s = 1 s=1 s = 1 already gives A L G q ≤ O P T 1 , q \mathrm{ALG}_q \le\mathrm{OPT}_{1,q} ALG q ≤ OPT 1 , q . Hence, assume Z q > 0 Z_q>0 Z q > 0 and fix B ∈ [ 1 , D ] B \in[1,D] B ∈ [ 1 , D ] . When Z q H ≥ Z q L Z_q^H \ge Z_q^L Z q H ≥ Z q L , we combine Lemma 9 with the bound O P T s , q ≤ O P T 1 , q / s \mathrm{OPT}_{s,q} \le\mathrm{OPT}_{1,q}/s OPT s , q ≤ OPT 1 , q / s for s = 1 / ( 8 q ) s=1/(8q) s = 1/ ( 8 q ) . When Z q L ≥ Z q H Z_q^L \ge Z_q^H Z q L ≥ Z q H , we combine Lemma 10 with this bound for s = B / ( 4 q D ) s=B/(4qD) s = B / ( 4 q D ) . This gives the respective bounds A L G q / O P T 1 , q ≤ c r 1 \mathrm{ALG}_q/\mathrm{OPT}_{1,q} \le\mathrm{cr}_1 ALG q / OPT 1 , q ≤ cr 1 and A L G q / O P T 1 , q ≤ c r 2 \mathrm{ALG}_q/\mathrm{OPT}_{1,q} \le\mathrm{cr}_2 ALG q / OPT 1 , q ≤ cr 2 , where
c r 1 : = 8 q ( 1 + ( 8 B ) 1 / q ) ≤ 72 q B 1 / q , \mathrm{cr}_1 := 8q\left(1+(8B)^{1/q}\right) \le72qB^{1/q}, cr 1 := 8 q ( 1 + ( 8 B ) 1/ q ) ≤ 72 q B 1/ q ,
c r 2 : = 4 q D B ( 1 + 4 1 / q ) ≤ 20 q D B . \mathrm{cr}_2 := \frac{4qD}{B}\left(1+4^{1/q}\right) \le\frac{20qD}{B}. cr 2 := B 4 q D ( 1 + 4 1/ q ) ≤ B 20 q D .
Here we used 8 1 / q ≤ 8 8^{1/q} \le8 8 1/ q ≤ 8 , 4 1 / q ≤ 4 4^{1/q} \le4 4 1/ q ≤ 4 , and B 1 / q ≥ 1 B^{1/q} \ge1 B 1/ q ≥ 1 . At least one of the two cases holds, so
A L G q O P T 1 , q ≤ max { c r 1 , c r 2 } ≤ 72 q max { B 1 / q , D B } . \frac{\mathrm{ALG}_q}{\mathrm{OPT}_{1,q}} \le\max\{\mathrm{cr}_1,\mathrm{cr}_2\} \le72q\max\left\{B^{1/q},\frac{D}{B}\right\}. OPT 1 , q ALG q ≤ max { cr 1 , cr 2 } ≤ 72 q max { B 1/ q , B D } .
We choose B : = D q / ( q + 1 ) B := D^{q/(q+1)} B := D q / ( q + 1 ) , which lies in [ 1 , D ] [1,D] [ 1 , D ] . This choice makes the two terms in the maximum equal, since
B 1 / q = D B = D 1 / ( q + 1 ) . B^{1/q} = \frac{D}{B} = D^{1/(q+1)}. B 1/ q = B D = D 1/ ( q + 1 ) .
We obtain A L G q ≤ 72 q D 1 / ( q + 1 ) O P T 1 , q \mathrm{ALG}_q \le72qD^{1/(q+1)}\mathrm{OPT}_{1,q} ALG q ≤ 72 q D 1/ ( q + 1 ) OPT 1 , q when all jobs are released at time zero. Finally, by Lemma 1, full DRF completes each job no later than one-shot DRF on the same instance. Its ℓ q \ell_q ℓ q norm is therefore no larger, so the same guarantee holds for full DRF.
An Upper Bound Independent of q q q
We now give an upper bound that is linear in D D D and does not grow with q q q . It improves upon Theorem 3 for large q q q , in particular when q ≥ D q \ge D q ≥ D . We reuse the cap separation from Lemma 6 and bound the time jobs spend below their rate caps. The idea is that a job running below its cap receives at least the rate of every other job, while the total rate of all jobs is at least one. Hence, every job reaches its cap no later than it would complete under processor sharing on a single unit-speed machine. In contrast, even an optimal schedule can process at most D D D units of work per unit of time.
Theorem 4. For every integer D ≥ 1 D \ge1 D ≥ 1 and real q ≥ 1 q \ge1 q ≥ 1 , one-shot DRF and full DRF have a competitive ratio in O ( D ) O(D) O ( D ) for minimizing the ℓ q \ell_q ℓ q norm of completion times in multidimensional scheduling with D D D resources and zero-release times.
Proof. Assume that all jobs are released at time zero, and consider one-shot DRF. Let τ = ( τ j ) j = 1 n \tau= (\tau_j)_{j=1}^n τ = ( τ j ) j = 1 n be as in Lemma 6. By that lemma with s = 1 s = 1 s = 1 , it suffices to show ∥ τ ∥ q ≤ 2 D ⋅ O P T 1 , q \|\tau\|_q \le2D \cdot\mathrm{OPT}_{1,q} ∥ τ ∥ q ≤ 2 D ⋅ OPT 1 , q .
Fix a job j j j . For t < τ j t < \tau_j t < τ j , job j j j receives rate x j ( t ) = λ ( t ) < u j x_j(t) = \lambda(t) < u_j x j ( t ) = λ ( t ) < u j . Every other unfinished job receives at most this rate, and completed jobs receive rate zero. Since c ( t ) > 0 c(t) > 0 c ( t ) > 0 , (3) and (4) give
∑ i = 1 n x i ( t ) = m ( t ) c ( t ) ≥ 1. \sum_{i=1}^{n} x_i(t) = \frac{m(t)}{c(t)} \ge1. i = 1 ∑ n x i ( t ) = c ( t ) m ( t ) ≥ 1.
The inequality holds because c ( t ) = max d c d ( t ) ≤ m ( t ) c(t) = \max_d c_d(t) \le m(t) c ( t ) = max d c d ( t ) ≤ m ( t ) , as a i d ≤ 1 a_{id} \le1 a i d ≤ 1 . Thus the schedule processes at least one unit of work per unit of time throughout [ 0 , τ j ) [0,\tau_j) [ 0 , τ j ) . At the same time, every job i i i has received no more processing than job j j j , and no job receives more than its own processing requirement. More precisely,
∫ 0 τ j x i ( t ) d t ≤ p i and ∫ 0 τ j x i ( t ) d t ≤ ∫ 0 τ j x j ( t ) d t ≤ p j . \int_{0}^{\tau_j} x_i(t)\,\mathrm{d}t \le p_i
\quad\text{and}\quad
\int_{0}^{\tau_j} x_i(t)\,\mathrm{d}t \le\int_{0}^{\tau_j} x_j(t)\,\mathrm{d}t \le p_j. ∫ 0 τ j x i ( t ) d t ≤ p i and ∫ 0 τ j x i ( t ) d t ≤ ∫ 0 τ j x j ( t ) d t ≤ p j .
Consequently,
τ j ≤ ∫ 0 τ j ∑ i = 1 n x i ( t ) d t ≤ ∑ i = 1 n min { p i , p j } = : P j . (12) \tau_j \le\int_{0}^{\tau_j} \sum_{i=1}^{n} x_i(t)\,\mathrm{d}t \le\sum_{i=1}^{n} \min\{p_i,p_j\} =: P_j. \tag*{(12)} τ j ≤ ∫ 0 τ j i = 1 ∑ n x i ( t ) d t ≤ i = 1 ∑ n min { p i , p j } =: P j . (12)
Now relabel the jobs so that p 1 ≤ ⋯ ≤ p n p_1 \le\cdots\le p_n p 1 ≤ ⋯ ≤ p n , and let S j : = ∑ i = 1 j p i S_j := \sum_{i=1}^{j} p_i S j := ∑ i = 1 j p i . Then P j = S j + ( n − j ) p j P_j = S_j + (n-j)p_j P j = S j + ( n − j ) p j . Moreover, it holds that
P j + 1 − P j = ( n − j ) ( p j + 1 − p j ) ≥ 0 P_{j+1} - P_j = (n-j)(p_{j+1} - p_j) \ge0 P j + 1 − P j = ( n − j ) ( p j + 1 − p j ) ≥ 0
for every j ∈ [ n − 1 ] j \in[n-1] j ∈ [ n − 1 ] , so the sequence ( P j ) j = 1 n (P_j)_{j=1}^n ( P j ) j = 1 n is nondecreasing. Let P : = ( P j ) j = 1 n P := (P_j)_{j=1}^n P := ( P j ) j = 1 n and S : = ( S j ) j = 1 n S := (S_j)_{j=1}^n S := ( S j ) j = 1 n denote the corresponding vectors. We have
∑ j = 1 n P j q = ∑ j = 1 n S j P j q − 1 + ∑ i = 1 n ( n − i ) p i P i q − 1 = ∑ j = 1 n S j P j q − 1 + ∑ j = 1 n ∑ i = 1 j − 1 p i P i q − 1 ≤ ∑ j = 1 n S j P j q − 1 + ∑ j = 1 n ∑ i = 1 j − 1 p i P j q − 1 = ∑ j = 1 n ( 2 S j − p j ) P j q − 1 ≤ 2 ∑ j = 1 n S j P j q − 1 . \begin{aligned}
\sum_{j=1}^{n} P_j^q
= \sum_{j=1}^{n} S_jP_j^{q-1} + \sum_{i=1}^{n}(n-i)p_iP_i^{q-1}
= \sum_{j=1}^{n} S_jP_j^{q-1} + \sum_{j=1}^{n}\sum_{i=1}^{j-1}p_iP_i^{q-1} \\
&\le\sum_{j=1}^{n} S_jP_j^{q-1} + \sum_{j=1}^{n}\sum_{i=1}^{j-1}p_iP_j^{q-1}
= \sum_{j=1}^{n}(2S_j-p_j)P_j^{q-1}
\le2\sum_{j=1}^{n}S_jP_j^{q-1}.
\end{aligned} j = 1 ∑ n P j q = j = 1 ∑ n S j P j q − 1 + i = 1 ∑ n ( n − i ) p i P i q − 1 = j = 1 ∑ n S j P j q − 1 + j = 1 ∑ n i = 1 ∑ j − 1 p i P i q − 1 ≤ j = 1 ∑ n S j P j q − 1 + j = 1 ∑ n i = 1 ∑ j − 1 p i P j q − 1 = j = 1 ∑ n ( 2 S j − p j ) P j q − 1 ≤ 2 j = 1 ∑ n S j P j q − 1 .
The second equality writes p i P i q − 1 p_iP_i^{q-1} p i P i q − 1 once for each index j > i j > i j > i , hence exactly n − i n-i n − i times. For the first inequality, note that if i < j i < j i < j , then P i ≤ P j P_i \le P_j P i ≤ P j , and therefore p i P i q − 1 ≤ p i P j q − 1 p_iP_i^{q-1} \le p_iP_j^{q-1} p i P i q − 1 ≤ p i P j q − 1 because q ≥ 1 q \ge1 q ≥ 1 . The final equality uses ∑ i = 1 j − 1 p i = S j − p j \sum_{i=1}^{j-1}p_i = S_j-p_j ∑ i = 1 j − 1 p i = S j − p j . For q = 1 q = 1 q = 1 , this already says ∥ P ∥ 1 ≤ 2 ∥ S ∥ 1 \|P\|_1 \le2\|S\|_1 ∥ P ∥ 1 ≤ 2∥ S ∥ 1 . For q > 1 q > 1 q > 1 , Hölder’s inequality7 with exponents q q q and q / ( q − 1 ) q/(q-1) q / ( q − 1 ) gives
∥ P ∥ q q ≤ 2 ∑ j = 1 n S j P j q − 1 ≤ 2 ∥ S ∥ q ⋅ ∥ P ∥ q q − 1 . \|P\|_q^q \le2\sum_{j=1}^{n}S_jP_j^{q-1} \le2\|S\|_q \cdot\|P\|_q^{q-1}. ∥ P ∥ q q ≤ 2 j = 1 ∑ n S j P j q − 1 ≤ 2∥ S ∥ q ⋅ ∥ P ∥ q q − 1 .
Dividing by ∥ P ∥ q q − 1 \|P\|_q^{q-1} ∥ P ∥ q q − 1 shows that ∥ P ∥ q ≤ 2 ∥ S ∥ q \|P\|_q \le2\|S\|_q ∥ P ∥ q ≤ 2∥ S ∥ q for every q ≥ 1 q \ge1 q ≥ 1 .
Let C j ∗ C_j^* C j ∗ and y j ∗ ( t ) y_j^*(t) y j ∗ ( t ) be the completion time and rate of job j j j in an optimal unit-speed schedule, and define C ∗ : = ( C j ∗ ) j = 1 n C^* := (C_j^*)_{j=1}^n C ∗ := ( C j ∗ ) j = 1 n . Since ∥ a j ∥ ∞ = 1 \|a_j\|_\infty= 1 ∥ a j ∥ ∞ = 1 and demands are nonnegative, we have ∑ d = 1 D a j d ≥ 1 \sum_{d=1}^{D}a_{jd} \ge1 ∑ d = 1 D a j d ≥ 1 for every job j j j , so
∑ j = 1 n y j ∗ ( t ) ≤ ∑ d = 1 D ∑ j = 1 n a j d y j ∗ ( t ) ≤ D . \sum_{j=1}^{n} y_j^*(t) \le\sum_{d=1}^{D}\sum_{j=1}^{n} a_{jd}y_j^*(t) \le D. j = 1 ∑ n y j ∗ ( t ) ≤ d = 1 ∑ D j = 1 ∑ n a j d y j ∗ ( t ) ≤ D .
Let C ( j ) ∗ C^{*}_{(j)} C ( j ) ∗ denote the j j j th smallest optimal completion time. By time C ( j ) ∗ C^{*}_{(j)} C ( j ) ∗ , at least j j j jobs have completed. Their total processing requirement is at least S j S_j S j , the sum of the j j j smallest processing requirements. Hence S j ≤ D ⋅ C ( j ) ∗ S_j \le D \cdot C^{*}_{(j)} S j ≤ D ⋅ C ( j ) ∗ . Since the norm is symmetric, ∥ S ∥ q ≤ D ⋅ ∥ C ∗ ∥ q \|S\|_q \le D \cdot\|C^*\|_q ∥ S ∥ q ≤ D ⋅ ∥ C ∗ ∥ q . Combining this with (12) and Lemma 6 at s = 1 s = 1 s = 1 gives
A L G q ≤ O P T 1 , q + ∥ τ ∥ q ≤ O P T 1 , q + ∥ P ∥ q ≤ O P T 1 , q + 2 ∥ S ∥ q ≤ ( 2 D + 1 ) O P T 1 , q . \mathrm{ALG}_q \le\mathrm{OPT}_{1,q} + \|\tau\|_q \le\mathrm{OPT}_{1,q} + \|P\|_q \le\mathrm{OPT}_{1,q} + 2\|S\|_q \le(2D + 1)\mathrm{OPT}_{1,q}. ALG q ≤ OPT 1 , q + ∥ τ ∥ q ≤ OPT 1 , q + ∥ P ∥ q ≤ OPT 1 , q + 2∥ S ∥ q ≤ ( 2 D + 1 ) OPT 1 , q .
By Lemma 1, full DRF completes every job no later than one-shot DRF, so the same bound holds for full DRF.
Conclusion
We establish asymptotically tight worst-case completion-time guarantees for DRF in multidimensional nonclairvoyant scheduling. With D D D resources, DRF is Θ ( D ) \Theta(\sqrt{D}) Θ ( D ) -competitive for total completion time and Θ ( D 1 / ( q + 1 ) ) \Theta(D^{1/(q+1)}) Θ ( D 1/ ( q + 1 ) ) -competitive for the ℓ q \ell_q ℓ q norm of completion times for each fixed real q ≥ 1 q \ge1 q ≥ 1 . These guarantees hold with arbitrary release times and without advance knowledge of job sizes. We also obtain sharper bounds for total completion time with two and three resources.
The analysis combines lower bounds based on shared bottlenecks with those based on aggregate processing capacity. Cauchy–Schwarz combines these two perspectives for total completion time, while LP dual fitting extends the approach to general norms. The resulting bounds quantify how DRF’s instantaneous fairness translates into completion-time performance, and identify the dependence on the number of resources. Determining the optimal competitive constants, especially for small numbers of resources, remains an interesting direction.
Methods and AI Use
The authors initiated this study with the binary-demand case and developed complete proofs; earlier attempts to obtain these proofs using AI were unsuccessful. We used OpenAI Codex and Anthropic Claude Code to assist with drafting and revising text, searching and checking references, preparing illustrations, and checking mathematical arguments. AI assistance was also used to generalize some arguments, including extending them to incorporate job-specific rate caps. The authors verified all content, including the proofs and references, and take full responsibility for its correctness.
Acknowledgments
AL was supported by the Deutsche Forschungsgemeinschaft (DFG, German Research Foundation) under Germany’s Excellence Strategy – The Berlin Mathematics Research Center MATH+ (EXC-2046/1, EXC-2046/2, project ID: 390685689). MB and SI were supported in part by NSF grants CCF-2423106, CCF-2537126, and CCF-2535599.
Omitted Details from Model and Algorithms
Full DRF Dominates One-Shot DRF
Lemma 1. On every instance, every job completes under full DRF no later than under one-shot DRF.
Proof. Run both algorithms on the same instance, with identical release times, processing requirements, demands, and caps. For S ∈ { D R F , O S } S \in\{\mathrm{DRF}, \mathrm{OS}\} S ∈ { DRF , OS } , let A S ( t ) A_S(t) A S ( t ) be its active set and let
e j S ( t ) : = ∫ 0 t x j S ( s ) d s e_j^S(t) := \int_0^t x_j^S(s)\,\mathrm{d}s e j S ( t ) := ∫ 0 t x j S ( s ) d s
be the work it has processed on job j j j by time t t t , taking the rate to be zero before release and after completion. Thus 0 ≤ e j S ( t ) ≤ p j 0 \le e_j^S(t) \le p_j 0 ≤ e j S ( t ) ≤ p j . We prove the invariant
e j D R F ( t ) ≥ e j O S ( t ) e_j^{\mathrm{DRF}}(t) \ge e_j^{\mathrm{OS}}(t) e j DRF ( t ) ≥ e j OS ( t )
for every job j j j and time t ≥ 0 t \ge0 t ≥ 0 . This invariant implies A D R F ( t ) ⊆ A O S ( t ) A_{\mathrm{DRF}}(t) \subseteq A_{\mathrm{OS}}(t) A DRF ( t ) ⊆ A OS ( t ) , because if j j j is released and unfinished under full DRF, then e j O S ( t ) ≤ e j D R F ( t ) < p j e_j^{\mathrm{OS}}(t) \le e_j^{\mathrm{DRF}}(t) < p_j e j OS ( t ) ≤ e j DRF ( t ) < p j , so it is also unfinished under one-shot DRF.
We induct over the release times and the completion times in either schedule. Initially, both schedules have processed zero work. Suppose the invariant holds at an event time t 0 t_0 t 0 , after all releases and completions at that time have been accounted for. Until the next event time t 1 t_1 t 1 , both active sets remain unchanged. For every j ∈ A D R F ( t 0 ) j \in A_{\mathrm{DRF}}(t_0) j ∈ A DRF ( t 0 ) and t ∈ [ t 0 , t 1 ) t \in[t_0,t_1) t ∈ [ t 0 , t 1 ) , we therefore have
x j D R F ( t ) = x j D R F ( A D R F ( t 0 ) ) ≥ x j O S ( A D R F ( t 0 ) ) ≥ x j O S ( A O S ( t 0 ) ) = x j O S ( t ) . x_j^{\mathrm{DRF}}(t) = x_j^{\mathrm{DRF}}(A_{\mathrm{DRF}}(t_0)) \ge x_j^{\mathrm{OS}}(A_{\mathrm{DRF}}(t_0)) \ge x_j^{\mathrm{OS}}(A_{\mathrm{OS}}(t_0)) = x_j^{\mathrm{OS}}(t). x j DRF ( t ) = x j DRF ( A DRF ( t 0 )) ≥ x j OS ( A DRF ( t 0 )) ≥ x j OS ( A OS ( t 0 )) = x j OS ( t ) .
The first inequality holds because full DRF only increases rates after the initial round; the second follows from Observation 1 and the active-set inclusion at t 0 t_0 t 0 . Integrating this inequality from t 0 t_0 t 0 to t t t preserves the work invariant for these jobs. Every other job either has not yet been released, so both work values are zero, or has already completed under full DRF, so e j D R F ( t ) = p j ≥ e j O S ( t ) e_j^{\mathrm{DRF}}(t) = p_j \ge e_j^{\mathrm{OS}}(t) e j DRF ( t ) = p j ≥ e j OS ( t ) .
The work functions are continuous, so the invariant also holds at t 1 t_1 t 1 . In particular, if a job completes under one-shot DRF at t 1 t_1 t 1 , then full DRF has already processed at least p j p_j p j units of that job and has completed it by t 1 t_1 t 1 . Any newly released job starts with zero processed work in both schedules. Hence the invariant and the active-set inclusion survive all events at t 1 t_1 t 1 , including simultaneous releases and completions. This completes the induction. At t = C j O S t = C_j^{\mathrm{OS}} t = C j OS , the invariant gives e j D R F ( t ) ≥ e j O S ( t ) = p j e_j^{\mathrm{DRF}}(t) \ge e_j^{\mathrm{OS}}(t) = p_j e j DRF ( t ) ≥ e j OS ( t ) = p j , proving C j D R F ≤ C j O S C_j^{\mathrm{DRF}} \le C_j^{\mathrm{OS}} C j DRF ≤ C j OS for every job j j j .
Equivalence with the Unnormalized Formulation
The original DRF paper [13 ] uses unnormalized demand vectors. In the corresponding scheduling formulation, job j j j has a processing requirement p ~ j > 0 \tilde{p}_j > 0 p ~ j > 0 , a nonzero demand vector a ~ j = ( a ~ j 1 , … , a ~ j D ) ∈ R ≥ 0 D \tilde{a}_j = (\tilde{a}_{j1}, \ldots, \tilde{a}_{jD}) \in\mathbb{R}_{\ge0}^{D} a ~ j = ( a ~ j 1 , … , a ~ j D ) ∈ R ≥ 0 D whose infinity norm may be arbitrary, and a unit rate cap. Here, a ~ j d \tilde{a}_{jd} a ~ j d is the amount of resource d d d that job j j j uses when it runs at full speed. A schedule x ~ \tilde{x} x ~ satisfies 0 ≤ x ~ j ( t ) ≤ 1 0 \le\tilde{x}_j(t) \le1 0 ≤ x ~ j ( t ) ≤ 1 , together with the corresponding resource-capacity and completion constraints. Original DRF applies progressive filling to the jobs’ dominant shares rather than to their raw rates. It freezes jobs that use a tight resource and continues with the remaining jobs.
Algorithm 1 instead uses normalized demand vectors and job-dependent rate caps. The two formulations are equivalent, and converting between them only changes the units in which demands, rates, and processing requirements are expressed. Under this conversion, original DRF and Algorithm 1 give every job the same amount of every resource, and every job has the same completion time in both formulations. We use the normalized formulation because x j x_j x j is then exactly job j j j ’s dominant share, which makes both progressive filling and our analysis easier to express. If the original demand vectors already have unit infinity norm, then u j = 1 u_j = 1 u j = 1 for every job and Algorithm 1 is exactly the original DRF allocation.
Lemma 11 (Equivalence of the two formulations). There is a one-to-one correspondence between instances of the normalized formulation with job-dependent rate caps and instances of the unnormalized formulation with unit rate caps. For every pair of corresponding instances, there is a one-to-one correspondence between their feasible schedules that preserves every job’s completion time.
Proof. First, consider an instance of the unnormalized formulation. For every job j j j , let Δ j : = ∥ a ~ j ∥ ∞ > 0 \Delta_j := \lVert\tilde{a}_j\rVert_\infty> 0 Δ j := ∥ a ~ j ∥ ∞ > 0 , and construct the corresponding normalized job j j j by setting
a j : = a ~ j Δ j , a_j := \frac{\tilde{a}_j}{\Delta_j}, a j := Δ j a ~ j ,
u j : = Δ j , u_j := \Delta_j, u j := Δ j ,
p j : = Δ j p ~ j . p_j := \Delta_j\tilde{p}_j. p j := Δ j p ~ j .
The release time r j r_j r j is unchanged. By construction, we have ∥ a j ∥ ∞ = 1 \lVert a_j\rVert_\infty= 1 ∥ a j ∥ ∞ = 1 .
Conversely, given an instance of the normalized formulation, define the corresponding unnormalized job by
a ~ j : = u j a j , \tilde{a}_j := u_j a_j, a ~ j := u j a j ,
p ~ j : = p j u j . \tilde{p}_j := \frac{p_j}{u_j}. p ~ j := u j p j .
The release time r j r_j r j is unchanged. Since ∥ a j ∥ ∞ = 1 \lVert a_j\rVert_\infty= 1 ∥ a j ∥ ∞ = 1 , we have ∥ a ~ j ∥ ∞ = u j \lVert\tilde{a}_j\rVert_\infty= u_j ∥ a ~ j ∥ ∞ = u j . Hence the two instance transformations are inverses.
It remains to relate schedules on corresponding instances. Given a schedule x ~ \tilde{x} x ~ for the unnormalized instance, define
x j ( t ) : = u j x ~ j ( t ) for every job j and time t . x_j(t) := u_j\tilde{x}_j(t) \qquad\text{for every job }j\text{ and time }t. x j ( t ) := u j x ~ j ( t ) for every job j and time t .
Conversely, recover x ~ \tilde{x} x ~ from x x x by setting x ~ j ( t ) : = x j ( t ) / u j \tilde{x}_j(t) := x_j(t)/u_j x ~ j ( t ) := x j ( t ) / u j . These maps are inverses. Furthermore, x ~ j ( t ) ∈ [ 0 , 1 ] \tilde{x}_j(t) \in[0,1] x ~ j ( t ) ∈ [ 0 , 1 ] if and only if x j ( t ) ∈ [ 0 , u j ] x_j(t) \in[0,u_j] x j ( t ) ∈ [ 0 , u j ] , and
a j d x j ( t ) = a ~ j d x ~ j ( t ) , a_{jd}x_j(t) = \tilde{a}_{jd}\tilde{x}_j(t), a j d x j ( t ) = a ~ j d x ~ j ( t ) ,
so the two schedules have identical resource consumption at every time. Finally, because p j = u j p ~ j p_j = u_j\tilde{p}_j p j = u j p ~ j ,
∫ r j t x j ( s ) d s ≥ p j ⟺ ∫ r j t x ~ j ( s ) d s ≥ p ~ j . \int_{r_j}^{t} x_j(s)\,\mathrm{d}s \ge p_j
\qquad\Longleftrightarrow\qquad
\int_{r_j}^{t} \tilde{x}_j(s)\,\mathrm{d}s \ge\tilde{p}_j. ∫ r j t x j ( s ) d s ≥ p j ⟺ ∫ r j t x ~ j ( s ) d s ≥ p ~ j .
Thus the schedule correspondence preserves feasibility and every job’s completion time. ∎
The correspondence also preserves the allocation selected by DRF. Indeed, consider an unnormalized job with demand vector a ~ j \tilde{a}_j a ~ j , and let Δ j = ∥ a ~ j ∥ ∞ \Delta_j = \lVert\tilde{a}_j\rVert_\infty Δ j = ∥ a ~ j ∥ ∞ . If x ~ j \tilde{x}_j x ~ j is its rate, then its dominant share is Δ j x ~ j \Delta_j\tilde{x}_j Δ j x ~ j , which is exactly the corresponding normalized rate x j = u j x ~ j x_j = u_j\tilde{x}_j x j = u j x ~ j . Therefore, increasing the dominant shares of all unfrozen jobs at the same speed in the unnormalized instance is equivalent to increasing their normalized rates at the same speed. Moreover, we have a j d x j = a ~ j d x ~ j a_{jd}x_j = \tilde{a}_{jd}\tilde{x}_j a j d x j = a ~ j d x ~ j . So although the scalar rates are expressed in different units, every job receives exactly the same amount of each resource in the two instances. Consequently, the same resources become tight and the same jobs are frozen in every round. Thus, if x ~ D R F \tilde{x}^{\mathrm{DRF}} x ~ DRF and x D R F x^{\mathrm{DRF}} x DRF are the DRF allocations for corresponding unnormalized and normalized instances, respectively, then x j D R F = u j x ~ j D R F x_j^{\mathrm{DRF}} = u_j\tilde{x}_j^{\mathrm{DRF}} x j DRF = u j x ~ j DRF for every job j j j . Together with Lemma 11 , this shows that original DRF and Algorithm 1 give every job the same resource allocation at every time and the same completion time.
Low-Dimensional Bounds
We now sharpen Theorem 1 for two and three resources. These cases are of particular practical interest, since cluster jobs typically request only a few resources such as CPU and memory. For D = 2 D = 2 D = 2 and D = 3 D = 3 D = 3 , Theorem 1 gives competitive ratios of 4 2 + 1 ≈ 6.66 4\sqrt{2} + 1 \approx6.66 4 2 + 1 ≈ 6.66 and 4 3 + 1 ≈ 7.93 4\sqrt{3} + 1 \approx7.93 4 3 + 1 ≈ 7.93 . We improve these to 2 + 3 ≈ 3.73 2 + \sqrt{3} \approx3.73 2 + 3 ≈ 3.73 and 2 + 7 ≈ 4.65 2 + \sqrt{7} \approx4.65 2 + 7 ≈ 4.65 , respectively.
We retain the zero-release assumption and the notation from § 3 , in particular the phase notation from § 3.1.4 . Recall that z j , h z_{j,h} z j , h is the effective mass of job j j j in phase h h h , l h l_h l h is the uncapped service amount of that phase, m h = ∑ j = 1 n z j , h m_h = \sum_{j=1}^{n} z_{j,h} m h = ∑ j = 1 n z j , h , and c h c_h c h is the congestion.
The general analysis loses a factor of D \sqrt{D} D because Lemma 4 only uses the total capacity of all resources. For few resources, we can afford to derive lower bounds on OPT from each resource separately. To this end, we view each resource as a unit-speed single machine. On resource d d d , job j j j requires a j d p j a_{jd}p_j a j d p j units of processing. Any feasible multidimensional schedule induces a feasible schedule on this machine in which each job finishes no later than in the original schedule. However, simply adding the unweighted completion costs of these projected schedules could count the same job’s completion cost several times.
To avoid this double counting, we use auxiliary weighted single-machine instances. In such an instance, job j j j has a processing requirement p ˉ j \bar{p}_j p ˉ j and a nonnegative weight v j v_j v j , and the objective is ∑ j = 1 n v j C j \sum_{j=1}^{n} v_jC_j ∑ j = 1 n v j C j , called the total weighted completion time . The auxiliary instances also have all release times zero. In our applications, the weights assigned to a job across the resource projections sum to one. They therefore split its original completion cost among the resources, rather than counting that cost in full for each resource. The sum of the projected optimal weighted costs is then a lower bound on OPT. These weights are only a tool for the analysis. The multidimensional problem and the DRF algorithm remain unweighted. We choose the weights according to the resource demands so that the resulting lower bounds on OPT can be expressed in terms of the resource loads that determine one-shot DRF’s processing rates.
To apply the next lemma to resource d d d , we choose a weight v j ≤ a j d v_j \leq a_{jd} v j ≤ a j d and set q j , h : = v j z j , h q_{j,h} := v_j z_{j,h} q j , h := v j z j , h . During phase h h h , one-shot DRF performs l h z j , h l_hz_{j,h} l h z j , h units of processing on job j j j , using a j d l h z j , h a_{jd}l_hz_{j,h} a j d l h z j , h units of resource d d d . We count only l h q j , h = v j l h z j , h l_hq_{j,h} = v_jl_hz_{j,h} l h q j , h = v j l h z j , h units of this resource usage. Because v j ≤ a j d v_j \leq a_{jd} v j ≤ a j d , the amount counted is no larger than the amount actually used. Its sum over the phases is therefore at most the projected processing requirement p ˉ j = a j d p j \bar{p}_j = a_{jd}p_j p ˉ j = a j d p j . Also, q j , h ≤ v j q_{j,h} \leq v_j q j , h ≤ v j because z j , h ≤ 1 z_{j,h} \leq1 z j , h ≤ 1 . The following lemma uses precisely these two inequalities to lower-bound the optimal weighted completion time.
Lemma 12. Consider n n n jobs with processing requirements p ˉ j ≥ 0 \bar{p}_j \geq0 p ˉ j ≥ 0 and weights v j ≥ 0 v_j \geq0 v j ≥ 0 on a unit-speed single machine. Suppose that, for each job j j j and phase h ∈ [ r ] h \in[r] h ∈ [ r ] , we are given a value q j , h q_{j,h} q j , h satisfying
0 ≤ q j , h ≤ v j 0 \le q_{j,h} \le v_j 0 ≤ q j , h ≤ v j and ∑ h = 1 r l h q j , h ≤ p ˉ j \sum_{h=1}^{r} l_hq_{j,h} \le\bar{p}_j ∑ h = 1 r l h q j , h ≤ p ˉ j . If Q h : = ∑ j = 1 n q j , h Q_h := \sum_{j=1}^{n} q_{j,h} Q h := ∑ j = 1 n q j , h , then
OPT v ≥ 1 2 ∑ h = 1 r l h Q h 2 . \operatorname{OPT}_v \ge\frac{1}{2}\sum_{h=1}^{r} l_hQ_h^2. OPT v ≥ 2 1 h = 1 ∑ r l h Q h 2 .
where OPT v \operatorname{OPT}_v OPT v is the optimal weighted completion time on the single machine.
Proof. On a single machine with all release times zero, Smith’s rule is optimal for total weighted completion time. It schedules the jobs in nonincreasing order of v j / p ˉ j v_j/\bar{p}_j v j / p ˉ j . The completion time of a job consists of its own processing requirement and those of all jobs scheduled before it. Hence, the optimal value is
OPT v = ∑ j = 1 n v j p ˉ j + ∑ j = 1 n − 1 ∑ k = j + 1 n min { v j p ˉ k , v k p ˉ j } . \operatorname{OPT}_v = \sum_{j=1}^{n} v_j\bar{p}_j + \sum_{j=1}^{n-1}\sum_{k=j+1}^{n} \min\{v_j\bar{p}_k, v_k\bar{p}_j\}. OPT v = j = 1 ∑ n v j p ˉ j + j = 1 ∑ n − 1 k = j + 1 ∑ n min { v j p ˉ k , v k p ˉ j } .
We compare this expression with the individual-job and pairwise terms in 1 2 ∑ h = 1 r l h Q h 2 \frac{1}{2}\sum_{h=1}^{r} l_hQ_h^2 2 1 ∑ h = 1 r l h Q h 2 . For every job j j j , the assumptions on q j , h q_{j,h} q j , h give
∑ h = 1 r l h q j , h 2 ≤ v j ∑ h = 1 r l h q j , h ≤ v j p ˉ j . \sum_{h=1}^{r} l_hq_{j,h}^2 \le v_j\sum_{h=1}^{r} l_hq_{j,h} \le v_j\bar{p}_j. h = 1 ∑ r l h q j , h 2 ≤ v j h = 1 ∑ r l h q j , h ≤ v j p ˉ j .
For two distinct jobs j , k j,k j , k , they similarly give
∑ h = 1 r l h q j , h q k , h ≤ v k ∑ h = 1 r l h q j , h ≤ v k p ˉ j . \sum_{h=1}^{r} l_hq_{j,h}q_{k,h} \le v_k\sum_{h=1}^{r} l_hq_{j,h} \le v_k\bar{p}_j. h = 1 ∑ r l h q j , h q k , h ≤ v k h = 1 ∑ r l h q j , h ≤ v k p ˉ j .
Interchanging j j j and k k k also bounds this sum by v j p ˉ k v_j\bar{p}_k v j p ˉ k , so it is at most min { v j p ˉ k , v k p ˉ j } \min\{v_j\bar{p}_k, v_k\bar{p}_j\} min { v j p ˉ k , v k p ˉ j } . Expanding Q h 2 Q_h^2 Q h 2 now yields
1 2 ∑ h = 1 r l h Q h 2 = 1 2 ∑ j = 1 n ∑ h = 1 r l h q j , h 2 + ∑ j = 1 n − 1 ∑ k = j + 1 n ∑ h = 1 r l h q j , h q k , h ≤ 1 2 ∑ j = 1 n v j p ˉ j + ∑ j = 1 n − 1 ∑ k = j + 1 n min { v j p ˉ k , v k p ˉ j } ≤ OPT v . \begin{aligned}
\frac{1}{2}\sum_{h=1}^{r} l_hQ_h^2
= \frac{1}{2}\sum_{j=1}^{n}\sum_{h=1}^{r} l_hq_{j,h}^2
+ \sum_{j=1}^{n-1}\sum_{k=j+1}^{n}\sum_{h=1}^{r} l_hq_{j,h}q_{k,h} \\
&\le\frac{1}{2}\sum_{j=1}^{n}v_j\bar{p}_j
+ \sum_{j=1}^{n-1}\sum_{k=j+1}^{n}\min\{v_j\bar{p}_k, v_k\bar{p}_j\} \\
&\le\operatorname{OPT}_v.
\end{aligned} 2 1 h = 1 ∑ r l h Q h 2 = 2 1 j = 1 ∑ n h = 1 ∑ r l h q j , h 2 + j = 1 ∑ n − 1 k = j + 1 ∑ n h = 1 ∑ r l h q j , h q k , h ≤ 2 1 j = 1 ∑ n v j p ˉ j + j = 1 ∑ n − 1 k = j + 1 ∑ n min { v j p ˉ k , v k p ˉ j } ≤ OPT v .
This completes the proof of the lemma.
We use this lemma to bound Z 1 = ∑ h = 1 r l h m h c h Z_1 = \sum_{h=1}^{r} l_hm_hc_h Z 1 = ∑ h = 1 r l h m h c h . For each of the two cases below, we first obtain a lower bound on OPT from weighted resource projections, and then compare it with m h c h m_hc_h m h c h phase by phase. The decomposition ALG ≤ \le ≤ OPT + Z 1 + Z_1 + Z 1 from Lemma 3 then gives the competitive ratio.
Two Resources
For every phase h h h , let A h : = ∑ j = 1 n a j 1 z j , h A_h := \sum_{j=1}^{n} a_{j1}z_{j,h} A h := ∑ j = 1 n a j 1 z j , h and B h : = ∑ j = 1 n a j 2 z j , h B_h := \sum_{j=1}^{n} a_{j2}z_{j,h} B h := ∑ j = 1 n a j 2 z j , h be the effective loads of the two resources. By (4) , we have c h = max { A h , B h } c_h = \max\{A_h, B_h\} c h = max { A h , B h } . Demand normalization also gives A h + B h ≥ m h A_h + B_h \ge m_h A h + B h ≥ m h , while a j d ≤ 1 a_{jd} \le1 a j d ≤ 1 implies A h ≤ m h A_h \le m_h A h ≤ m h and B h ≤ m h B_h \le m_h B h ≤ m h .
Lemma 13 (Two-resource projection bound). For D = 2 D=2 D = 2 resources, it holds that
OPT ≥ 1 4 ∑ h = 1 r l h ( A h 2 + ( m h − A h ) 2 + ( m h − B h ) 2 + B h 2 ) . \operatorname{OPT} \ge\frac{1}{4}\sum_{h=1}^{r} l_h\left(A_h^2+(m_h-A_h)^2+(m_h-B_h)^2+B_h^2\right). OPT ≥ 4 1 h = 1 ∑ r l h ( A h 2 + ( m h − A h ) 2 + ( m h − B h ) 2 + B h 2 ) . Proof. Fix an optimal multidimensional schedule with completion times C j ∗ C_j^* C j ∗ . We first split job j j j ’s completion cost between the two resources using weights a j 1 a_{j1} a j 1 and 1 − a j 1 1-a_{j1} 1 − a j 1 .
Project the schedule onto resource 1, giving job j j j processing requirement a j 1 p j a_{j1}p_j a j 1 p j and weight a j 1 a_{j1} a j 1 . The projected schedule is feasible on a unit-speed single machine and has weighted completion time at most ∑ j = 1 n a j 1 C j ∗ \sum_{j=1}^{n}a_{j1}C_j^* ∑ j = 1 n a j 1 C j ∗ . On the other hand, Lemma 12 with q j , h : = a j 1 z j , h q_{j,h}:=a_{j1}z_{j,h} q j , h := a j 1 z j , h lower-bounds the optimum of this single-machine instance. Hence
∑ j = 1 n a j 1 C j ∗ ≥ 1 2 ∑ h = 1 r l h A h 2 . \sum_{j=1}^{n}a_{j1}C_j^* \ge\frac{1}{2}\sum_{h=1}^{r}l_hA_h^2. j = 1 ∑ n a j 1 C j ∗ ≥ 2 1 h = 1 ∑ r l h A h 2 . For resource 2, give job j j j processing requirement a j 2 p j a_{j2}p_j a j 2 p j and weight 1 − a j 1 1-a_{j1} 1 − a j 1 , and set q j , h : = ( 1 − a j 1 ) z j , h q_{j,h}:=(1-a_{j1})z_{j,h} q j , h := ( 1 − a j 1 ) z j , h . Normalization gives a j 1 + a j 2 ≥ 1 a_{j1}+a_{j2}\ge1 a j 1 + a j 2 ≥ 1 , so 1 − a j 1 ≤ a j 2 1-a_{j1}\le a_{j2} 1 − a j 1 ≤ a j 2 and these values again satisfy the lemma’s assumptions. Since Q h = ∑ j = 1 n ( 1 − a j 1 ) z j , h = m h − A h Q_h=\sum_{j=1}^{n}(1-a_{j1})z_{j,h}=m_h-A_h Q h = ∑ j = 1 n ( 1 − a j 1 ) z j , h = m h − A h , the same argument gives
∑ j = 1 n ( 1 − a j 1 ) C j ∗ ≥ 1 2 ∑ h = 1 r l h ( m h − A h ) 2 . \sum_{j=1}^{n}(1-a_{j1})C_j^* \ge\frac{1}{2}\sum_{h=1}^{r}l_h(m_h-A_h)^2. j = 1 ∑ n ( 1 − a j 1 ) C j ∗ ≥ 2 1 h = 1 ∑ r l h ( m h − A h ) 2 . Since the two weights of each job sum to one, adding these inequalities counts each job’s completion cost exactly once. This gives
OPT = ∑ j = 1 n C j ∗ ≥ 1 2 ∑ h = 1 r l h ( A h 2 + ( m h − A h ) 2 ) . \operatorname{OPT}=\sum_{j=1}^{n}C_j^* \ge\frac{1}{2}\sum_{h=1}^{r}l_h\left(A_h^2+(m_h-A_h)^2\right). OPT = j = 1 ∑ n C j ∗ ≥ 2 1 h = 1 ∑ r l h ( A h 2 + ( m h − A h ) 2 ) . Interchanging the roles of the resources, using weights 1 − a j 2 1-a_{j2} 1 − a j 2 and a j 2 a_{j2} a j 2 instead, yields
OPT ≥ 1 2 ∑ h = 1 r l h ( ( m h − B h ) 2 + B h 2 ) . \operatorname{OPT} \ge\frac{1}{2}\sum_{h=1}^{r}l_h\left((m_h-B_h)^2+B_h^2\right). OPT ≥ 2 1 h = 1 ∑ r l h ( ( m h − B h ) 2 + B h 2 ) . Averaging the two inequalities proves the lemma.
Lemma 14. For all x , y ∈ [ 0 , 1 ] x,y\in[0,1] x , y ∈ [ 0 , 1 ] with x + y ≥ 1 x+y\ge1 x + y ≥ 1 , it holds that
max { x , y } ≤ 1 + 3 4 ( x 2 + ( 1 − x ) 2 + ( 1 − y ) 2 + y 2 ) . \max\{x,y\}\le\frac{1+\sqrt{3}}{4}\left(x^2+(1-x)^2+(1-y)^2+y^2\right). max { x , y } ≤ 4 1 + 3 ( x 2 + ( 1 − x ) 2 + ( 1 − y ) 2 + y 2 ) . Proof. By symmetry, assume x ≥ y x\ge y x ≥ y . Since x + y ≥ 1 x+y\ge1 x + y ≥ 1 , we have x ≥ 1 / 2 x\ge1/2 x ≥ 1/2 . For fixed x x x , the term ( 1 − y ) 2 + y 2 = 2 ( y − 1 / 2 ) 2 + 1 / 2 (1-y)^2+y^2=2(y-1/2)^2+1/2 ( 1 − y ) 2 + y 2 = 2 ( y − 1/2 ) 2 + 1/2 is minimized at y = 1 / 2 y=1/2 y = 1/2 . This choice is feasible because it satisfies both y ≤ x y\le x y ≤ x and x + y ≥ 1 x+y\ge1 x + y ≥ 1 . Therefore,
4 max { x , y } x 2 + ( 1 − x ) 2 + ( 1 − y ) 2 + y 2 ≤ 4 x 2 x 2 − 2 x + 3 / 2 . \frac{4\max\{x,y\}}{x^2+(1-x)^2+(1-y)^2+y^2}\le\frac{4x}{2x^2-2x+3/2}. x 2 + ( 1 − x ) 2 + ( 1 − y ) 2 + y 2 4 max { x , y } ≤ 2 x 2 − 2 x + 3/2 4 x . The derivative of the right-hand side has the sign of 3 / 2 − 2 x 2 3/2-2x^2 3/2 − 2 x 2 . Thus its maximum on [ 1 / 2 , 1 ] [1/2,1] [ 1/2 , 1 ] occurs at x = 3 / 2 x=\sqrt{3}/2 x = 3 /2 and equals 1 + 3 1+\sqrt{3} 1 + 3 , proving the claim.
Theorem 5 (Two resources). For multidimensional scheduling with D = 2 D = 2 D = 2 and zero-release times, one-shot DRF and full DRF are ( 2 + 3 ) (2 + \sqrt{3}) ( 2 + 3 ) -competitive for minimizing total completion time.
Proof. For every phase with m h > 0 m_h > 0 m h > 0 , set x : = A h / m h x := A_h/m_h x := A h / m h and y : = B h / m h y := B_h/m_h y := B h / m h . These normalized loads lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] and satisfy x + y ≥ 1 x + y \ge1 x + y ≥ 1 , so we may apply Lemma 14 . Multiplying its inequality by m h 2 m_h^2 m h 2 and using c h = max { A h , B h } c_h = \max\{A_h, B_h\} c h = max { A h , B h } gives
m h c h ≤ 1 + 3 4 ( A h 2 + ( m h − A h ) 2 + ( m h − B h ) 2 + B h 2 ) . m_h c_h \le\frac{1+\sqrt{3}}{4}\left(A_h^2 + (m_h-A_h)^2 + (m_h-B_h)^2 + B_h^2\right). m h c h ≤ 4 1 + 3 ( A h 2 + ( m h − A h ) 2 + ( m h − B h ) 2 + B h 2 ) .
Multiplying by l h l_h l h , summing over the phases, and applying Lemma 13 , we obtain
Z 1 = ∑ h = 1 r l h m h c h ≤ ( 1 + 3 ) O P T . Z_1 = \sum_{h=1}^{r} l_hm_hc_h \le(1+\sqrt{3})\mathrm{OPT}. Z 1 = h = 1 ∑ r l h m h c h ≤ ( 1 + 3 ) OPT .
The effective-time decomposition in Lemma 3 now gives
A L G ≤ O P T + Z 1 ≤ ( 2 + 3 ) O P T . \mathrm{ALG} \le\mathrm{OPT} + Z_1 \le(2+\sqrt{3})\mathrm{OPT}. ALG ≤ OPT + Z 1 ≤ ( 2 + 3 ) OPT .
This proves the bound for one-shot DRF. Full DRF satisfies the same bound by Lemma 1.
Three Resources
For each phase h h h and resource d ∈ [ 3 ] d \in[3] d ∈ [ 3 ] , define the effective load A d , h : = ∑ j = 1 n a j d z j , h A_{d,h} := \sum_{j=1}^{n} a_{jd}z_{j,h} A d , h := ∑ j = 1 n a j d z j , h . As before, we have c h = max d A d , h c_h = \max_d A_{d,h} c h = max d A d , h , 0 ≤ A d , h ≤ m h 0 \le A_{d,h} \le m_h 0 ≤ A d , h ≤ m h , and ∑ d = 1 3 A d , h ≥ m h \sum_{d=1}^{3} A_{d,h} \ge m_h ∑ d = 1 3 A d , h ≥ m h . We use the same approach as for two resources, but now split the weight remaining after one projection between the two other resources.
Lemma 15 (Three-resource projection bound). For D = 3 D = 3 D = 3 resources, it holds that
O P T ≥ 1 6 ∑ h = 1 r l h ∑ d = 1 3 ( A d , h 2 + ( m h − A d , h ) 2 2 ) . \mathrm{OPT} \ge\frac{1}{6}\sum_{h=1}^{r} l_h\sum_{d=1}^{3}\left(A_{d,h}^{2}+\frac{(m_h-A_{d,h})^{2}}{2}\right). OPT ≥ 6 1 h = 1 ∑ r l h d = 1 ∑ 3 ( A d , h 2 + 2 ( m h − A d , h ) 2 ) .
Proof. Fix a resource d ∈ [ 3 ] d \in[3] d ∈ [ 3 ] . We assign weight a j d a_{jd} a j d to job j j j in projection d d d , and distribute the remaining weight 1 − a j d 1-a_{jd} 1 − a j d between the other two projections. Each assigned weight must be at most the corresponding demand. Such a split is possible because normalization gives ∑ d ′ = 1 d ′ ≠ d 3 a j d ′ ≥ 1 − a j d \sum_{\substack{d'=1\\d'\ne d}}^{3} a_{jd'} \ge1-a_{jd} ∑ d ′ = 1 d ′ = d 3 a j d ′ ≥ 1 − a j d .
Denote the resulting weights by γ j 1 , γ j 2 , γ j 3 \gamma_{j1},\gamma_{j2},\gamma_{j3} γ j 1 , γ j 2 , γ j 3 , so 0 ≤ γ j d ′ ≤ a j d ′ 0 \le\gamma_{jd'} \le a_{jd'} 0 ≤ γ j d ′ ≤ a j d ′ , ∑ d ′ = 1 3 γ j d ′ = 1 \sum_{d'=1}^{3}\gamma_{jd'} = 1 ∑ d ′ = 1 3 γ j d ′ = 1 , and γ j d = a j d \gamma_{jd} = a_{jd} γ j d = a j d .
Project an optimal multidimensional schedule onto each resource d ′ d' d ′ . In projection d ′ d' d ′ , give job j j j processing requirement a j d ′ p j a_{jd'}p_j a j d ′ p j and weight γ j d ′ \gamma_{jd'} γ j d ′ , and set q j , h : = γ j d ′ z j , h q_{j,h} := \gamma_{jd'}z_{j,h} q j , h := γ j d ′ z j , h . These values satisfy the assumptions of Lemma 12 because γ j d ′ ≤ a j d ′ \gamma_{jd'} \le a_{jd'} γ j d ′ ≤ a j d ′ . As in the two-resource case, the weights sum to one for each job, so the sum of the three projected optima is at most O P T \mathrm{OPT} OPT . Set Q d ′ , h : = ∑ j = 1 n γ j d ′ z j , h Q_{d',h} := \sum_{j=1}^{n}\gamma_{jd'}z_{j,h} Q d ′ , h := ∑ j = 1 n γ j d ′ z j , h . Summing the three applications of Lemma 12 gives
O P T ≥ 1 2 ∑ h = 1 r l h ∑ d ′ = 1 3 Q d ′ , h 2 . \mathrm{OPT} \ge\frac{1}{2}\sum_{h=1}^{r}l_h\sum_{d'=1}^{3}Q_{d',h}^{2}. OPT ≥ 2 1 h = 1 ∑ r l h d ′ = 1 ∑ 3 Q d ′ , h 2 .
By construction, Q d , h = A d , h Q_{d,h}=A_{d,h} Q d , h = A d , h and ∑ d ′ = 1 d ′ ≠ d 3 Q d ′ , h = m h − A d , h \sum_{\substack{d'=1\\d'\ne d}}^{3}Q_{d',h}=m_h-A_{d,h} ∑ d ′ = 1 d ′ = d 3 Q d ′ , h = m h − A d , h . For a fixed sum, the sum of the squares of the two remaining loads is smallest when they are equal. Formally, Cauchy–Schwarz gives
∑ d ′ = 1 d ′ ≠ d 3 Q d ′ , h 2 ≥ 1 2 ( ∑ d ′ = 1 d ′ ≠ d 3 Q d ′ , h ) 2 = ( m h − A d , h ) 2 2 . \sum_{\substack{d'=1\\d'\ne d}}^{3}Q_{d',h}^{2}
\ge\frac{1}{2}\left(\sum_{\substack{d'=1\\d'\ne d}}^{3}Q_{d',h}\right)^{2}
= \frac{(m_h-A_{d,h})^{2}}{2}. d ′ = 1 d ′ = d ∑ 3 Q d ′ , h 2 ≥ 2 1 d ′ = 1 d ′ = d ∑ 3 Q d ′ , h 2 = 2 ( m h − A d , h ) 2 .
Consequently,
OPT ≥ 1 2 ∑ h = 1 r l h ( A d , h 2 + ( m h − A d , h ) 2 2 ) . \operatorname{OPT} \ge\frac{1}{2}\sum_{h=1}^{r} l_h\left(A_{d,h}^{2}+\frac{(m_h-A_{d,h})^{2}}{2}\right). OPT ≥ 2 1 h = 1 ∑ r l h ( A d , h 2 + 2 ( m h − A d , h ) 2 ) .
Averaging this inequality over the three choices of d d d proves the lemma.
Lemma 16. For all x 1 , x 2 , x 3 ∈ [ 0 , 1 ] x_1,x_2,x_3 \in[0,1] x 1 , x 2 , x 3 ∈ [ 0 , 1 ] with ∑ d = 1 3 x d ≥ 1 \sum_{d=1}^{3}x_d \ge1 ∑ d = 1 3 x d ≥ 1 , it holds that
max d x d ≤ 1 + 7 6 ∑ d = 1 3 ( x d 2 + ( 1 − x d ) 2 2 ) . \max_d x_d \le\frac{1+\sqrt{7}}{6}\sum_{d=1}^{3}\left(x_d^2+\frac{(1-x_d)^2}{2}\right). d max x d ≤ 6 1 + 7 d = 1 ∑ 3 ( x d 2 + 2 ( 1 − x d ) 2 ) .
Proof. Let g : = max d x d g := \max_d x_d g := max d x d . Since ∑ d = 1 3 x d ≥ 1 \sum_{d=1}^{3}x_d \ge1 ∑ d = 1 3 x d ≥ 1 , we have g ∈ [ 1 / 3 , 1 ] g \in[1/3,1] g ∈ [ 1/3 , 1 ] . The identity
x 2 + ( 1 − x ) 2 2 = 1 3 + 3 2 ( x − 1 3 ) 2 x^2+\frac{(1-x)^2}{2}=\frac{1}{3}+\frac{3}{2}\left(x-\frac{1}{3}\right)^2 x 2 + 2 ( 1 − x ) 2 = 3 1 + 2 3 ( x − 3 1 ) 2
shows that each summand on the right-hand side is minimized at x = 1 / 3 x=1/3 x = 1/3 . For fixed g g g , we therefore minimize their sum by setting the other two coordinates to 1 / 3 1/3 1/3 . This choice is feasible because both coordinates are at most g g g and g + 2 / 3 ≥ 1 g+2/3 \ge1 g + 2/3 ≥ 1 . The sum is then g 2 + ( 1 − g ) 2 / 2 + 2 / 3 = ( 9 g 2 − 6 g + 7 ) / 6 g^2+(1-g)^2/2+2/3=(9g^2-6g+7)/6 g 2 + ( 1 − g ) 2 /2 + 2/3 = ( 9 g 2 − 6 g + 7 ) /6 , so
6 max d x d ∑ d = 1 3 ( x d 2 + ( 1 − x d ) 2 / 2 ) ≤ 36 g 9 g 2 − 6 g + 7 . \frac{6\max_d x_d}{\sum_{d=1}^{3}\left(x_d^2+(1-x_d)^2/2\right)}\le\frac{36g}{9g^2-6g+7}. ∑ d = 1 3 ( x d 2 + ( 1 − x d ) 2 /2 ) 6 max d x d ≤ 9 g 2 − 6 g + 7 36 g .
The derivative of the right-hand side has the sign of 7 − 9 g 2 7-9g^2 7 − 9 g 2 . Thus its maximum on [ 1 / 3 , 1 ] [1/3,1] [ 1/3 , 1 ] occurs at g = 7 / 3 g=\sqrt{7}/3 g = 7 /3 and equals 1 + 7 1+\sqrt{7} 1 + 7 , proving the claim.
Theorem 6 (Three resources). For multidimensional scheduling with D = 3 D=3 D = 3 and zero-release times, one-shot DRF and full DRF are ( 2 + 7 ) (2+\sqrt{7}) ( 2 + 7 ) -competitive for minimizing total completion time.
Proof. For every phase with m h > 0 m_h>0 m h > 0 , set x d : = A d , h / m h x_d:=A_{d,h}/m_h x d := A d , h / m h . These normalized loads lie in [ 0 , 1 ] [0,1] [ 0 , 1 ] and satisfy ∑ d = 1 3 x d ≥ 1 \sum_{d=1}^{3}x_d\ge1 ∑ d = 1 3 x d ≥ 1 . Apply Lemma 16, multiply by m h 2 m_h^2 m h 2 , and use c h = max d A d , h c_h=\max_d A_{d,h} c h = max d A d , h to obtain
m h c h ≤ 1 + 7 6 ∑ d = 1 3 ( A d , h 2 + ( m h − A d , h ) 2 2 ) . m_hc_h\le\frac{1+\sqrt{7}}{6}\sum_{d=1}^{3}\left(A_{d,h}^{2}+\frac{(m_h-A_{d,h})^{2}}{2}\right). m h c h ≤ 6 1 + 7 d = 1 ∑ 3 ( A d , h 2 + 2 ( m h − A d , h ) 2 ) .
Multiplying by l h l_h l h , summing over phases, and applying Lemma 15 gives
Z 1 = ∑ h = 1 r l h m h c h ≤ ( 1 + 7 ) OPT . Z_1=\sum_{h=1}^{r}l_hm_hc_h\le(1+\sqrt{7})\operatorname{OPT}. Z 1 = h = 1 ∑ r l h m h c h ≤ ( 1 + 7 ) OPT .
By Lemma 3,
ALG ≤ OPT + Z 1 ≤ ( 2 + 7 ) OPT . \operatorname{ALG}\le\operatorname{OPT}+Z_1\le(2+\sqrt{7})\operatorname{OPT}. ALG ≤ OPT + Z 1 ≤ ( 2 + 7 ) OPT .
The same bound holds for full DRF by Lemma 1.
Omitted Proofs from lq Norms
Omitted Proofs for the Upper Bound Depending on q q q
Lemma 6. For every job j j j , let τ j \tau_j τ j be the first time it runs at its cap, or C j C_j C j if it finishes without reaching its cap, and write τ : = ( τ j ) j = 1 n \tau:= (\tau_j)_{j=1}^n τ := ( τ j ) j = 1 n . Then
C j ≤ p j u j + τ j ≤ p j u j + Z j , q 1 / q . C_j \le\frac{p_j}{u_j}+\tau_j \le\frac{p_j}{u_j}+Z_{j,q}^{1/q}. C j ≤ u j p j + τ j ≤ u j p j + Z j , q 1/ q .
Consequently, for every s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] , we have
A L G q ≤ O P T s , q + ∥ τ ∥ q ≤ O P T s , q + Z q 1 / q . \mathrm{ALG}_q \le\mathrm{OPT}_{s,q}+\lVert\tau\rVert_q \le\mathrm{OPT}_{s,q}+Z_q^{1/q}. ALG q ≤ OPT s , q + ∥ τ ∥ q ≤ OPT s , q + Z q 1/ q .
Proof. Because λ ( t ) \lambda(t) λ ( t ) is nondecreasing, a job that reaches its cap stays at that cap until it finishes. In particular, τ j = 0 \tau_j=0 τ j = 0 when the job starts at its cap. Before time τ j \tau_j τ j , the cap does not restrict the job’s rate, so z j ( t ) = 1 z_j(t)=1 z j ( t ) = 1 . After time τ j \tau_j τ j , any remaining work takes at most p j / u j p_j/u_j p j / u j time. Hence
Z j , q ≥ ∫ 0 τ j ω ( t ) d t = τ j q . Z_{j,q}\ge\int_0^{\tau_j}\omega(t)\,\mathrm{d}t=\tau_j^q. Z j , q ≥ ∫ 0 τ j ω ( t ) d t = τ j q .
and
C j ≤ τ j + p j u j ≤ Z j , q 1 / q + p j u j . C_j\le\tau_j+\frac{p_j}{u_j}\le Z_{j,q}^{1/q}+\frac{p_j}{u_j}. C j ≤ τ j + u j p j ≤ Z j , q 1/ q + u j p j .
Thus, we have in total
A L G q = ( ∑ j = 1 n C j q ) 1 / q ≤ ( ∑ j = 1 n ( p j u j + τ j ) q ) 1 / q ≤ ( ∑ j = 1 n ( p j u j ) q ) 1 / q + ( ∑ j = 1 n τ j q ) 1 / q = C A P q + ∥ τ ∥ q . \begin{aligned}
\mathrm{ALG}_q=\left(\sum_{j=1}^{n}C_j^q\right)^{1/q}\le\left(\sum_{j=1}^{n}\left(\frac{p_j}{u_j}+\tau_j\right)^q\right)^{1/q} \\
&\le\left(\sum_{j=1}^{n}\left(\frac{p_j}{u_j}\right)^q\right)^{1/q}+\left(\sum_{j=1}^{n}\tau_j^q\right)^{1/q}=\mathrm{CAP}_q+\lVert\tau\rVert_q.
\end{aligned} ALG q = ( j = 1 ∑ n C j q ) 1/ q ≤ ( j = 1 ∑ n ( u j p j + τ j ) q ) 1/ q ≤ ( j = 1 ∑ n ( u j p j ) q ) 1/ q + ( j = 1 ∑ n τ j q ) 1/ q = CAP q + ∥ τ ∥ q .
The second inequality is the triangle inequality for the ℓ q \ell_q ℓ q norm. The last equality uses the definitions of C A P q \mathrm{CAP}_q CAP q and τ \tau τ . Finally, applying (9) and τ j q ≤ Z j , q \tau_j^q\le Z_{j,q} τ j q ≤ Z j , q gives, for every s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] ,
A L G q ≤ O P T s , q + ∥ τ ∥ q ≤ O P T s , q + Z q 1 / q . \mathrm{ALG}_q\le\mathrm{OPT}_{s,q}+\lVert\tau\rVert_q\le\mathrm{OPT}_{s,q}+Z_q^{1/q}. ALG q ≤ OPT s , q + ∥ τ ∥ q ≤ OPT s , q + Z q 1/ q .
This concludes the proof of the lemma. □
Lemma 7. For every q ≥ 1 q\ge1 q ≥ 1 and s ∈ ( 0 , 1 ] s\in(0,1] s ∈ ( 0 , 1 ] , the optimal value of (LP) is at most O P T s , q q \mathrm{OPT}_{s,q}^q OPT s , q q .
Proof. Consider an optimal speed-s s s schedule with completion times C j ∗ C_j^* C j ∗ . Let y j ∗ ( t ) y_j^*(t) y j ∗ ( t ) be its rate for job j j j until completion, and set y j ∗ ( t ) = 0 y_j^*(t)=0 y j ∗ ( t ) = 0 for t ≥ C j ∗ t\ge C_j^* t ≥ C j ∗ . These rates satisfy the primal’s resource constraints and rate caps because the schedule is feasible. Moreover, each job receives exactly its processing requirement by completion, so
1 p j ∫ 0 ∞ y j ∗ ( t ) d t = 1 p j ∫ 0 C j ∗ y j ∗ ( t ) d t = 1. \frac{1}{p_j}\int_0^\infty y_j^*(t)\,\mathrm{d}t=\frac{1}{p_j}\int_0^{C_j^*}y_j^*(t)\,\mathrm{d}t=1. p j 1 ∫ 0 ∞ y j ∗ ( t ) d t = p j 1 ∫ 0 C j ∗ y j ∗ ( t ) d t = 1.
Thus y ∗ y^* y ∗ is a feasible primal solution. Since t q ≤ ( C j ∗ ) q t^q\le(C_j^*)^q t q ≤ ( C j ∗ ) q for 0 ≤ t ≤ C j ∗ 0\le t\le C_j^* 0 ≤ t ≤ C j ∗ , its objective value satisfies
∑ j = 1 n 1 p j ∫ 0 ∞ t q y j ∗ ( t ) d t ≤ ∑ j = 1 n ( C j ∗ ) q p j ∫ 0 C j ∗ y j ∗ ( t ) d t = ∑ j = 1 n ( C j ∗ ) q = O P T s , q q . \sum_{j=1}^{n}\frac{1}{p_j}\int_0^\infty t^q y_j^*(t)\,\mathrm{d}t\le\sum_{j=1}^{n}\frac{(C_j^*)^q}{p_j}\int_0^{C_j^*}y_j^*(t)\,\mathrm{d}t=\sum_{j=1}^{n}(C_j^*)^q=\mathrm{OPT}_{s,q}^q. j = 1 ∑ n p j 1 ∫ 0 ∞ t q y j ∗ ( t ) d t ≤ j = 1 ∑ n p j ( C j ∗ ) q ∫ 0 C j ∗ y j ∗ ( t ) d t = j = 1 ∑ n ( C j ∗ ) q = OPT s , q q .
The primal’s optimal value is no larger than the value of this feasible solution, which proves the claim. □
Lemma 8 (Weak-duality bound). Fix s ∈ ( 0 , 1 ] s \in(0,1] s ∈ ( 0 , 1 ] . Suppose that α j ≥ 0 \alpha_j \ge0 α j ≥ 0 for every j ∈ [ n ] j \in[n] j ∈ [ n ] and that each β d \beta_d β d is a nonnegative and integrable function on [ 0 , ∞ ) [0,\infty) [ 0 , ∞ ) . If
α j ≤ t 0 q + p j ∑ d = 1 D a j d β d ( t 0 ) (13) \alpha_j \le t_0^q+p_j\sum_{d=1}^{D}a_{jd}\beta_d(t_0) \tag*{(13)} α j ≤ t 0 q + p j d = 1 ∑ D a j d β d ( t 0 ) (13) for every j ∈ [ n ] j \in[n] j ∈ [ n ] and t 0 ≥ 0 t_0 \ge0 t 0 ≥ 0 , then
∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t ≤ O P T s , q q . \sum_{j=1}^{n}\alpha_j-s\int_{0}^{\infty}\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t\le\mathrm{OPT}_{s,q}^{q}. j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t ≤ OPT s , q q .
Proof. Set γ j ( t 0 ) = 0 \gamma_j(t_0)=0 γ j ( t 0 ) = 0 for every job j j j and time t 0 t_0 t 0 . Subtracting t 0 q t_0^q t 0 q from (10) and dividing by p j > 0 p_j>0 p j > 0 gives exactly the constraint of (DLP). Thus ( α , β , γ ) (\alpha,\beta,\gamma) ( α , β , γ ) is a feasible dual solution with objective value
∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t . \sum_{j=1}^{n}\alpha_j-s\int_{0}^{\infty}\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t. j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t .
By weak duality, this value is at most the optimal value of (LP). By Lemma 7, that optimal value is at most O P T s , q q \mathrm{OPT}_{s,q}^{q} OPT s , q q , which proves the claim.
Lemma 9 (Heavy-case dual fitting). If Z q H ≥ Z q L Z_q^{\mathrm{H}}\ge Z_q^{\mathrm{L}} Z q H ≥ Z q L , then A L G q ≤ ( 1 + ( 8 B ) 1 / q ) O P T 1 / ( 8 q ) , q \mathrm{ALG}_q\le(1+(8B)^{1/q})\mathrm{OPT}_{1/(8q),q} ALG q ≤ ( 1 + ( 8 B ) 1/ q ) OPT 1/ ( 8 q ) , q .
Proof. We only put a positive price on the bottleneck resource d i d_i d i of each interval I i I_i I i . This price reflects the congestion c i c_i c i in the interval and the weight ω ( T i ) \omega(T_i) ω ( T i ) at its end, and it applies to all times before T i T_i T i . Formally, we define the following variables for the weak-duality bound in Lemma 8.
α j : = ∑ i = 1 k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , C j ) ω ( t ) d t for every j ∈ [ n ] , \alpha_j:=\sum_{i=1}^{k}a_{j,d_i}\min\{1,u_jc_i\}\int_{I_i\cap[0,C_j)}\omega(t)\,\mathrm{d}t\qquad\text{for every }j\in[n], α j := i = 1 ∑ k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , C j ) ω ( t ) d t for every j ∈ [ n ] ,
β d ( t ) : = ∑ i ∈ [ k ] : t < T i 1 [ d = d i ] c i ω ( T i ) for every d ∈ [ D ] , t ≥ 0. \beta_d(t):=\sum_{i\in[k]:t<T_i}\mathbf{1}[d=d_i]c_i\omega(T_i)\qquad\text{for every }d\in[D],\ t\ge0. β d ( t ) := i ∈ [ k ] : t < T i ∑ 1 [ d = d i ] c i ω ( T i ) for every d ∈ [ D ] , t ≥ 0.
Every α j \alpha_j α j is nonnegative because its defining sum has only nonnegative terms. For a fixed resource d d d , β d ( t ) \beta_d(t) β d ( t ) is a finite sum of nonnegative terms. As t t t increases, terms can only be removed from this sum, so β d \beta_d β d is nonincreasing. It is bounded and zero for t ≥ T t\ge T t ≥ T , hence integrable.
It remains to verify (10). Fix a job j j j and a time t 0 ≥ 0 t_0\ge0 t 0 ≥ 0 . If t 0 ≥ C j t_0\ge C_j t 0 ≥ C j , disjointness of the intervals and a j , d i min { 1 , u j c i } ≤ 1 a_{j,d_i}\min\{1,u_jc_i\}\le1 a j , d i min { 1 , u j c i } ≤ 1 give α j ≤ ∫ 0 C j ω ( t ) d t = C j q ≤ t 0 q \alpha_j\le\int_0^{C_j}\omega(t)\,\mathrm{d}t=C_j^q\le t_0^q α j ≤ ∫ 0 C j ω ( t ) d t = C j q ≤ t 0 q , so the condition holds. Hence assume t 0 < C j t_0<C_j t 0 < C j . We have
α j = ∑ i = 1 k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , C j ) ω ( t ) d t = ∑ i = 1 k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , t 0 ) ω ( t ) d t + ∑ i = 1 k a j , d i min { 1 , u j c i } ∫ I i ∩ [ t 0 , C j ) ω ( t ) d t . (14) \begin{aligned}
\alpha_j
&=\sum_{i=1}^{k}a_{j,d_i}\min\{1,u_jc_i\}\int_{I_i\cap[0,C_j)}\omega(t)\,\mathrm{d}t\\
&=\sum_{i=1}^{k}a_{j,d_i}\min\{1,u_jc_i\}\int_{I_i\cap[0,t_0)}\omega(t)\,\mathrm{d}t
+\sum_{i=1}^{k}a_{j,d_i}\min\{1,u_jc_i\}\int_{I_i\cap[t_0,C_j)}\omega(t)\,\mathrm{d}t. \tag*{(14)}
\end{aligned} α j = i = 1 ∑ k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , C j ) ω ( t ) d t = i = 1 ∑ k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , t 0 ) ω ( t ) d t + i = 1 ∑ k a j , d i min { 1 , u j c i } ∫ I i ∩ [ t 0 , C j ) ω ( t ) d t . (14)
We first focus on the first sum of (14) . Since the intervals I i I_i I i are disjoint, a j , d i ≤ 1 a_{j,d_i}\le1 a j , d i ≤ 1 , and min { 1 , u j c i } ≤ 1 \min\{1,u_jc_i\}\le1 min { 1 , u j c i } ≤ 1 , we have
∑ i = 1 k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , t 0 ) ω ( t ) d t ≤ ∫ 0 t 0 ω ( t ) d t = t 0 q \sum_{i=1}^{k}a_{j,d_i}\min\{1,u_jc_i\}\int_{I_i\cap[0,t_0)}\omega(t)\,\mathrm{d}t\le\int_{0}^{t_0}\omega(t)\,\mathrm{d}t=t_0^q i = 1 ∑ k a j , d i min { 1 , u j c i } ∫ I i ∩ [ 0 , t 0 ) ω ( t ) d t ≤ ∫ 0 t 0 ω ( t ) d t = t 0 q
by (8) . For the second sum in (14) , we have
∑ i = 1 k a j , d i min { 1 , u j c i } ∫ I i ∩ [ t 0 , C j ) ω ( t ) d t = ∑ i ∈ [ k ] : t 0 < T i a j , d i ∫ I i ∩ [ t 0 , C j ) min { 1 , u j c i } ω ( t ) d t (15) \sum_{i=1}^{k} a_{j,d_i}\min\{1,u_jc_i\}\int_{I_i\cap[t_0,C_j)}\omega(t)\,\mathrm{d}t
=
\sum_{i\in[k]:\,t_0<T_i}a_{j,d_i}\int_{I_i\cap[t_0,C_j)}\min\{1,u_jc_i\}\omega(t)\,\mathrm{d}t \tag*{(15)} i = 1 ∑ k a j , d i min { 1 , u j c i } ∫ I i ∩ [ t 0 , C j ) ω ( t ) d t = i ∈ [ k ] : t 0 < T i ∑ a j , d i ∫ I i ∩ [ t 0 , C j ) min { 1 , u j c i } ω ( t ) d t (15)
≤ ∑ i ∈ [ k ] : t 0 < T i a j , d i ω ( T i ) ∫ I i ∩ [ t 0 , C j ) min { 1 , u j c i } d t (16) \le\sum_{i\in[k]:\,t_0<T_i}a_{j,d_i}\omega(T_i)\int_{I_i\cap[t_0,C_j)}\min\{1,u_jc_i\}\,\mathrm{d}t \tag*{(16)} ≤ i ∈ [ k ] : t 0 < T i ∑ a j , d i ω ( T i ) ∫ I i ∩ [ t 0 , C j ) min { 1 , u j c i } d t (16)
≤ ∑ i ∈ [ k ] : t 0 < T i a j , d i c i ω ( T i ) ∫ I i ∩ [ t 0 , C j ) x j ( t ) d t (17) \le\sum_{i\in[k]:\,t_0<T_i}a_{j,d_i}c_i\omega(T_i)\int_{I_i\cap[t_0,C_j)}x_j(t)\,\mathrm{d}t \tag*{(17)} ≤ i ∈ [ k ] : t 0 < T i ∑ a j , d i c i ω ( T i ) ∫ I i ∩ [ t 0 , C j ) x j ( t ) d t (17)
≤ ∑ i ∈ [ k ] : t 0 < T i a j , d i c i ω ( T i ) ∫ t 0 C j x j ( t ) d t (18) \le\sum_{i\in[k]:\,t_0<T_i}a_{j,d_i}c_i\omega(T_i)\int_{t_0}^{C_j}x_j(t)\,\mathrm{d}t \tag*{(18)} ≤ i ∈ [ k ] : t 0 < T i ∑ a j , d i c i ω ( T i ) ∫ t 0 C j x j ( t ) d t (18)
≤ p j ∑ i ∈ [ k ] : t 0 < T i a j , d i c i ω ( T i ) . (19) \le p_j\sum_{i\in[k]:\,t_0<T_i}a_{j,d_i}c_i\omega(T_i). \tag*{(19)} ≤ p j i ∈ [ k ] : t 0 < T i ∑ a j , d i c i ω ( T i ) . (19)
The individual steps are justified as follows.
Equation (15) holds because I i ∩ [ t 0 , C j ) I_i\cap[t_0,C_j) I i ∩ [ t 0 , C j ) is empty if t 0 ≥ T i t_0\ge T_i t 0 ≥ T i .
Equation (16) uses that ω ( ⋅ ) \omega(\cdot) ω ( ⋅ ) is nondecreasing.
Equation (17) uses that on any nonempty interval I i ∩ [ t 0 , C j ) I_i\cap[t_0,C_j) I i ∩ [ t 0 , C j ) , job j j j is unfinished and 0 < c ( t ) ≤ c i 0<c(t)\le c_i 0 < c ( t ) ≤ c i . Hence x j ( t ) c i = c i min { u j , 1 / c ( t ) } ≥ min { u j c i , 1 } x_j(t)c_i=c_i\min\{u_j,1/c(t)\}\ge\min\{u_jc_i,1\} x j ( t ) c i = c i min { u j , 1/ c ( t )} ≥ min { u j c i , 1 } .
Equation (18) uses that the integrand is nonnegative.
Equation (19) uses that job j j j has at most p j p_j p j units of processing left at time t 0 t_0 t 0 .
Thus, by applying both upper bounds to (14) , we have in total
α j ≤ t 0 q + p j ∑ i ∈ [ k ] : t 0 < T i a j , d i c i ω ( T i ) = t 0 q + p j ∑ d = 1 D a j d β d ( t 0 ) , \alpha_j\le t_0^q+p_j\sum_{i\in[k]:\,t_0<T_i}a_{j,d_i}c_i\omega(T_i)
=t_0^q+p_j\sum_{d=1}^{D}a_{jd}\beta_d(t_0), α j ≤ t 0 q + p j i ∈ [ k ] : t 0 < T i ∑ a j , d i c i ω ( T i ) = t 0 q + p j d = 1 ∑ D a j d β d ( t 0 ) ,
which verifies the condition of Lemma 8. Therefore, the lemma implies that
OPT s , q q ≥ ∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t . (20) \operatorname{OPT}^{q}_{s,q}\ge\sum_{j=1}^{n}\alpha_j-s\int_{0}^{\infty}\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t. \tag*{(20)} OPT s , q q ≥ j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t . (20)
It remains to compare the right-hand side of this inequality with Z q Z_q Z q . To this end, define
S q : = ∑ i = 1 k c i ∫ I i ω ( t ) d t = ∑ i = 1 k c i ( T i q − T i − 1 q ) . S_q:=\sum_{i=1}^{k}c_i\int_{I_i}\omega(t)\,\mathrm{d}t
=\sum_{i=1}^{k}c_i\left(T_i^q-T_{i-1}^q\right). S q := i = 1 ∑ k c i ∫ I i ω ( t ) d t = i = 1 ∑ k c i ( T i q − T i − 1 q ) .
Summing α j \alpha_j α j over all jobs and applying (11) at each time in each interval gives
∑ j = 1 n α j = ∑ i = 1 k ∫ I i ω ( t ) ∑ j ∈ U ( t ) a j , d i min { 1 , u j c i } d t ≥ 1 2 ∑ i = 1 k c i ∫ I i ω ( t ) d t = 1 2 S q . \sum_{j=1}^{n}\alpha_j
=\sum_{i=1}^{k}\int_{I_i}\omega(t)\sum_{j\in U(t)}a_{j,d_i}\min\{1,u_jc_i\}\,\mathrm{d}t
\ge\frac{1}{2}\sum_{i=1}^{k}c_i\int_{I_i}\omega(t)\,\mathrm{d}t
=\frac{1}{2}S_q. j = 1 ∑ n α j = i = 1 ∑ k ∫ I i ω ( t ) j ∈ U ( t ) ∑ a j , d i min { 1 , u j c i } d t ≥ 2 1 i = 1 ∑ k c i ∫ I i ω ( t ) d t = 2 1 S q .
The definition of β d ( t ) \beta_d(t) β d ( t ) gives
∫ 0 ∞ ∑ d = 1 D β d ( t ) d t = ∫ 0 ∞ ∑ d = 1 D ∑ i ∈ [ k ] : t < T i 1 [ d = d i ] c i ω ( T i ) d t = ∑ i = 1 k c i ω ( T i ) ∫ 0 T i ∑ d = 1 D 1 [ d = d i ] d t = ∑ i = 1 k c i ω ( T i ) T i = q ∑ i = 1 k c i T i q , \begin{aligned}
\int_{0}^{\infty}\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t
=\int_{0}^{\infty}\sum_{d=1}^{D}\sum_{i\in[k]:\,t<T_i}\mathbf{1}[d=d_i]c_i\omega(T_i)\,\mathrm{d}t \\
&=\sum_{i=1}^{k}c_i\omega(T_i)\int_{0}^{T_i}\sum_{d=1}^{D}\mathbf{1}[d=d_i]\,\mathrm{d}t
=\sum_{i=1}^{k}c_i\omega(T_i)T_i
=q\sum_{i=1}^{k}c_iT_i^q,
\end{aligned} ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t = ∫ 0 ∞ d = 1 ∑ D i ∈ [ k ] : t < T i ∑ 1 [ d = d i ] c i ω ( T i ) d t = i = 1 ∑ k c i ω ( T i ) ∫ 0 T i d = 1 ∑ D 1 [ d = d i ] d t = i = 1 ∑ k c i ω ( T i ) T i = q i = 1 ∑ k c i T i q ,
where we use that ∑ d = 1 D 1 [ d = d i ] = 1 \sum_{d=1}^{D} \mathbf{1}[d=d_i]=1 ∑ d = 1 D 1 [ d = d i ] = 1 and ω ( T i ) = q T i q − 1 \omega(T_i)=qT_i^{q-1} ω ( T i ) = q T i q − 1 . Since T 0 = 0 T_0=0 T 0 = 0 and c i + 1 ≤ c i / 2 c_{i+1}\le c_i/2 c i + 1 ≤ c i /2 , we have
∑ i = 1 k c i T i − 1 q = ∑ i = 1 k − 1 c i + 1 T i q ≤ 1 2 ∑ i = 1 k c i T i q . \sum_{i=1}^{k}c_iT_{i-1}^{q}=\sum_{i=1}^{k-1}c_{i+1}T_i^{q}\le\frac{1}{2}\sum_{i=1}^{k}c_iT_i^{q}. i = 1 ∑ k c i T i − 1 q = i = 1 ∑ k − 1 c i + 1 T i q ≤ 2 1 i = 1 ∑ k c i T i q .
Using the definition of S q S_q S q and the preceding inequality, we obtain
S q = ∑ i = 1 k c i ( T i q − T i − 1 q ) = ∑ i = 1 k c i T i q − ∑ i = 1 k c i T i − 1 q ≥ ∑ i = 1 k c i T i q − 1 2 ∑ i = 1 k c i T i q = 1 2 ∑ i = 1 k c i T i q . S_q=\sum_{i=1}^{k}c_i\left(T_i^q-T_{i-1}^q\right)=\sum_{i=1}^{k}c_iT_i^q-\sum_{i=1}^{k}c_iT_{i-1}^q\ge\sum_{i=1}^{k}c_iT_i^q-\frac{1}{2}\sum_{i=1}^{k}c_iT_i^q=\frac{1}{2}\sum_{i=1}^{k}c_iT_i^q. S q = i = 1 ∑ k c i ( T i q − T i − 1 q ) = i = 1 ∑ k c i T i q − i = 1 ∑ k c i T i − 1 q ≥ i = 1 ∑ k c i T i q − 2 1 i = 1 ∑ k c i T i q = 2 1 i = 1 ∑ k c i T i q .
Thus ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t = q ∑ i = 1 k c i T i q ≤ 2 q S q \int_0^\infty\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t=q\sum_{i=1}^{k}c_iT_i^q\le2qS_q ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t = q ∑ i = 1 k c i T i q ≤ 2 q S q . Together with (20) and setting s = 1 / ( 8 q ) s=1/(8q) s = 1/ ( 8 q ) we have
OPT s , q ≥ ∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t ≥ 1 2 S q − 1 4 S q = 1 4 S q . \operatorname{OPT}_{s,q}\ge\sum_{j=1}^{n}\alpha_j-s\int_0^\infty\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t\ge\frac{1}{2}S_q-\frac{1}{4}S_q=\frac{1}{4}S_q. OPT s , q ≥ j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t ≥ 2 1 S q − 4 1 S q = 4 1 S q .
At a heavy time, the definition gives m ( t ) ≤ B c ( t ) m(t)\le Bc(t) m ( t ) ≤ B c ( t ) . Moreover, c ( t ) ≤ c i c(t)\le c_i c ( t ) ≤ c i for every t ∈ I i t\in I_i t ∈ I i . Since m ( t ) = 0 m(t)=0 m ( t ) = 0 for t ≥ T t\ge T t ≥ T , only the intervals I 1 , … , I k I_1,\ldots,I_k I 1 , … , I k contribute to Z q H Z_q^{\mathrm H} Z q H . Therefore,
Z q H = ∑ i = 1 k ∫ I i ∩ { t : t is heavy } ω ( t ) m ( t ) d t ≤ B ∑ i = 1 k ∫ I i ∩ { t : t is heavy } ω ( t ) c ( t ) d t ≤ B ∑ i = 1 k c i ∫ I i ∩ { t : t is heavy } ω ( t ) d t ≤ B ∑ i = 1 k c i ∫ I i ω ( t ) d t = B S q . \begin{aligned}
Z_q^{\mathrm H}=\sum_{i=1}^{k}\int_{I_i\cap\{t:t\text{ is heavy}\}}\omega(t)m(t)\,\mathrm{d}t\le B\sum_{i=1}^{k}\int_{I_i\cap\{t:t\text{ is heavy}\}}\omega(t)c(t)\,\mathrm{d}t \\
&\le B\sum_{i=1}^{k}c_i\int_{I_i\cap\{t:t\text{ is heavy}\}}\omega(t)\,\mathrm{d}t\le B\sum_{i=1}^{k}c_i\int_{I_i}\omega(t)\,\mathrm{d}t=BS_q.
\end{aligned} Z q H = i = 1 ∑ k ∫ I i ∩ { t : t is heavy } ω ( t ) m ( t ) d t ≤ B i = 1 ∑ k ∫ I i ∩ { t : t is heavy } ω ( t ) c ( t ) d t ≤ B i = 1 ∑ k c i ∫ I i ∩ { t : t is heavy } ω ( t ) d t ≤ B i = 1 ∑ k c i ∫ I i ω ( t ) d t = B S q .
Since Z q H ≥ Z q L Z_q^{\mathrm H}\ge Z_q^{\mathrm L} Z q H ≥ Z q L , we conclude that
Z q ≤ 2 Z q H ≤ 2 B S q ≤ 8 B ⋅ OPT s , q . Z_q\le2Z_q^{\mathrm H}\le2BS_q\le8B\cdot\operatorname{OPT}_{s,q}. Z q ≤ 2 Z q H ≤ 2 B S q ≤ 8 B ⋅ OPT s , q .
Finally, Lemma 6 gives
ALG q ≤ OPT s , q + Z q 1 / q ≤ ( 1 + ( 8 B ) 1 / q ) OPT s , q . \operatorname{ALG}_q\le\operatorname{OPT}_{s,q}+Z_q^{1/q}\le\left(1+(8B)^{1/q}\right)\operatorname{OPT}_{s,q}. ALG q ≤ OPT s , q + Z q 1/ q ≤ ( 1 + ( 8 B ) 1/ q ) OPT s , q .
Substituting s = 1 / ( 8 q ) s=1/(8q) s = 1/ ( 8 q ) proves the claimed bound.
Lemma 10 (Light-case dual fitting). If Z q L ≥ Z q H Z_q^{\mathrm L}\ge Z_q^{\mathrm H} Z q L ≥ Z q H , then ALG q ≤ ( 1 + 4 1 / q ) OPT B / ( 4 q D ) , q \operatorname{ALG}_q\le(1+4^{1/q})\operatorname{OPT}_{B/(4qD),q} ALG q ≤ ( 1 + 4 1/ q ) OPT B / ( 4 q D ) , q .
Proof. Define the following variables for the weak-duality bound in Lemma 8.
α j : = ∫ { t : t is light } ω ( t ) z j ( t ) d t for every j ∈ [ n ] , \alpha_j:=\int_{\{t:t\text{ is light}\}}\omega(t)z_j(t)\,\mathrm{d}t\qquad\text{for every }j\in[n], α j := ∫ { t : t is light } ω ( t ) z j ( t ) d t for every j ∈ [ n ] ,
β d ( t ) : = M ( t ) B for every d ∈ [ D ] , t ≥ 0. \beta_d(t):=\frac{M(t)}{B}\qquad\text{for every }d\in[D],\ t\ge0. β d ( t ) := B M ( t ) for every d ∈ [ D ] , t ≥ 0.
Every α j \alpha_j α j is nonnegative because its defining integral has a nonnegative integrand. Since M ( t ) M(t) M ( t ) is nonnegative and nonincreasing, the same is true of every β d ( t ) = M ( t ) / B \beta_d(t)=M(t)/B β d ( t ) = M ( t ) / B . The function M M M is bounded and zero after m m m becomes zero.
It remains to verify (10). Fix a job j j j and a time t 0 ≥ 0 t_0\ge0 t 0 ≥ 0 . Since z j ( t ) ≤ 1 z_j(t)\le1 z j ( t ) ≤ 1 , the contribution to α j \alpha_j α j from times before t 0 t_0 t 0 is at most ∫ 0 t 0 ω ( t ) d t = t 0 q \int_0^{t_0}\omega(t)\,\mathrm{d}t=t_0^q ∫ 0 t 0 ω ( t ) d t = t 0 q by (8) . If t 0 ≥ C j t_0\ge C_j t 0 ≥ C j , there is no later contribution. Otherwise, at every light time t ∈ [ t 0 , C j ) t\in[t_0,C_j) t ∈ [ t 0 , C j ) , job j j j is unfinished and
ω ( t ) z j ( t ) = x j ( t ) c ( t ) ω ( t ) ≤ x j ( t ) m ( t ) ω ( t ) B ≤ x j ( t ) M ( t 0 ) B . \omega(t)z_j(t)=x_j(t)c(t)\omega(t)\le x_j(t)\frac{m(t)\omega(t)}{B}\le x_j(t)\frac{M(t_0)}{B}. ω ( t ) z j ( t ) = x j ( t ) c ( t ) ω ( t ) ≤ x j ( t ) B m ( t ) ω ( t ) ≤ x j ( t ) B M ( t 0 ) .
The equality uses (3) . The first inequality uses that t t t is light, so c ( t ) < m ( t ) / B c(t)<m(t)/B c ( t ) < m ( t ) / B . The second inequality follows from the definition of M ( t 0 ) M(t_0) M ( t 0 ) , since t ≥ t 0 t\ge t_0 t ≥ t 0 implies ω ( t ) m ( t ) ≤ M ( t 0 ) \omega(t)m(t)\le M(t_0) ω ( t ) m ( t ) ≤ M ( t 0 ) . Consequently,
α j ≤ t 0 q + M ( t 0 ) B ∫ t 0 C j x j ( t ) d t ≤ t 0 q + p j M ( t 0 ) B ≤ t 0 q + p j ∑ d = 1 D a j d B d ( t 0 ) . \alpha_j \le t_0^q+\frac{M(t_0)}{B}\int_{t_0}^{C_j}x_j(t)\,\mathrm{d}t\le t_0^q+p_j\frac{M(t_0)}{B}\le t_0^q+p_j\sum_{d=1}^{D}a_{jd}\mathcal{B}_d(t_0). α j ≤ t 0 q + B M ( t 0 ) ∫ t 0 C j x j ( t ) d t ≤ t 0 q + p j B M ( t 0 ) ≤ t 0 q + p j d = 1 ∑ D a j d B d ( t 0 ) .
The second inequality uses that the remaining processing is at most p j p_j p j . The last inequality uses ∑ d = 1 D a j d ≥ 1 \sum_{d=1}^{D}a_{jd}\ge1 ∑ d = 1 D a j d ≥ 1 because ∥ a j ∥ ∞ = 1 \lVert a_j\rVert_\infty=1 ∥ a j ∥ ∞ = 1 and demands are nonnegative. This verifies the condition of Lemma 8. Thus, the lemma implies that
OPT s , q q ≥ ∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t . (21) \operatorname{OPT}_{s,q}^{q}\ge\sum_{j=1}^{n}\alpha_j-s\int_{0}^{\infty}\sum_{d=1}^{D}\beta_d(t)\,\mathrm{d}t. \tag*{(21)} OPT s , q q ≥ j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t . (21)
It remains to compare the right-hand side of this inequality with Z q Z_q Z q .
To this end, we first prove the auxiliary bound ∫ 0 ∞ M ( t ) d t ≤ q Z q \int_{0}^{\infty}M(t)\,\mathrm{d}t\le qZ_q ∫ 0 ∞ M ( t ) d t ≤ q Z q . Let 0 < t 1 < ⋯ < t h 0<t_1<\cdots<t_h 0 < t 1 < ⋯ < t h be the times at which m m m decreases, including its last decrease to zero, and let δ i : = m ( t i − ) − m ( t i ) ≥ 0 \delta_i:=m(t_i^-)-m(t_i)\ge0 δ i := m ( t i − ) − m ( t i ) ≥ 0 be the size of the decrease at time t i t_i t i . Since m m m is nonincreasing and eventually zero, its value at any time equals the sum of all its future decreases, that is,
m ( t 0 ) = ∑ i ∈ [ h ] : t 0 < t i δ i . m(t_0)=\sum_{i\in[h]:\,t_0<t_i}\delta_i. m ( t 0 ) = i ∈ [ h ] : t 0 < t i ∑ δ i .
Fix t ≥ 0 t\ge0 t ≥ 0 and consider any t 0 ≥ t t_0\ge t t 0 ≥ t . Since ω \omega ω is nondecreasing,
ω ( t 0 ) m ( t 0 ) = ∑ i ∈ [ h ] : t 0 < t i δ i ω ( t 0 ) ≤ ∑ i ∈ [ h ] : t 0 < t i δ i ω ( t i ) ≤ ∑ i ∈ [ h ] : t < t i δ i ω ( t i ) . \omega(t_0)m(t_0)=\sum_{i\in[h]:\,t_0<t_i}\delta_i\omega(t_0)\le\sum_{i\in[h]:\,t_0<t_i}\delta_i\omega(t_i)\le\sum_{i\in[h]:\,t<t_i}\delta_i\omega(t_i). ω ( t 0 ) m ( t 0 ) = i ∈ [ h ] : t 0 < t i ∑ δ i ω ( t 0 ) ≤ i ∈ [ h ] : t 0 < t i ∑ δ i ω ( t i ) ≤ i ∈ [ h ] : t < t i ∑ δ i ω ( t i ) .
The last expression is independent of t 0 t_0 t 0 . Taking the supremum over t 0 ≥ t t_0\ge t t 0 ≥ t therefore gives
M ( t ) ≤ ∑ i ∈ [ h ] : t < t i δ i ω ( t i ) . M(t)\le\sum_{i\in[h]:\,t<t_i}\delta_i\omega(t_i). M ( t ) ≤ i ∈ [ h ] : t < t i ∑ δ i ω ( t i ) .
The term indexed by i i i on the right is present precisely when 0 ≤ t < t i 0\le t<t_i 0 ≤ t < t i . Integrating this bound gives
∫ 0 ∞ M ( t ) d t ≤ ∑ i = 1 h δ i t i ω ( t i ) = q ∑ i = 1 h δ i t i q = q ∑ i = 1 h δ i ∫ 0 t i ω ( t ) d t = q ∫ 0 ∞ ω ( t ) ∑ i ∈ [ h ] : t < t i δ i d t = q ∫ 0 ∞ ω ( t ) m ( t ) d t = q Z q . \begin{aligned}
\int_{0}^{\infty}M(t)\,\mathrm{d}t
&\le\sum_{i=1}^{h}\delta_i t_i\omega(t_i)
=q\sum_{i=1}^{h}\delta_i t_i^q
=q\sum_{i=1}^{h}\delta_i\int_{0}^{t_i}\omega(t)\,\mathrm{d}t\\
&=q\int_{0}^{\infty}\omega(t)\sum_{i\in[h]:\,t<t_i}\delta_i\,\mathrm{d}t
=q\int_{0}^{\infty}\omega(t)m(t)\,\mathrm{d}t=qZ_q.
\end{aligned} ∫ 0 ∞ M ( t ) d t ≤ i = 1 ∑ h δ i t i ω ( t i ) = q i = 1 ∑ h δ i t i q = q i = 1 ∑ h δ i ∫ 0 t i ω ( t ) d t = q ∫ 0 ∞ ω ( t ) i ∈ [ h ] : t < t i ∑ δ i d t = q ∫ 0 ∞ ω ( t ) m ( t ) d t = q Z q .
We now bound the two terms on the right-hand side of (21) . First, summing the definition of α j \alpha_j α j over all jobs gives
∑ j = 1 n α j = ∑ j = 1 n ∫ { t : t is light } ω ( t ) z ~ j ( t ) d t = ∫ { t : t is light } ω ( t ) ∑ j = 1 n z ~ j ( t ) d t = ∫ { t : t is light } ω ( t ) m ( t ) d t = Z q L ≥ 1 2 Z q . \begin{aligned}
\sum_{j=1}^{n}\alpha_j
&=\sum_{j=1}^{n}\int_{\{t:t\text{ is light}\}}\omega(t)\tilde{z}_j(t)\,\mathrm{d}t\\
&=\int_{\{t:t\text{ is light}\}}\omega(t)\sum_{j=1}^{n}\tilde{z}_j(t)\,\mathrm{d}t
=\int_{\{t:t\text{ is light}\}}\omega(t)m(t)\,\mathrm{d}t
=Z_q^{\mathrm{L}}\ge\frac{1}{2}Z_q.
\end{aligned} j = 1 ∑ n α j = j = 1 ∑ n ∫ { t : t is light } ω ( t ) z ~ j ( t ) d t = ∫ { t : t is light } ω ( t ) j = 1 ∑ n z ~ j ( t ) d t = ∫ { t : t is light } ω ( t ) m ( t ) d t = Z q L ≥ 2 1 Z q .
The last inequality follows from the case assumption Z q L ≥ Z q H Z_q^L \ge Z_q^H Z q L ≥ Z q H and the identity Z q = Z q H + Z q L Z_q = Z_q^H + Z_q^L Z q = Z q H + Z q L .
Second, since β d ( t ) = M ( t ) / B \beta_d(t) = M(t)/B β d ( t ) = M ( t ) / B for every resource d ∈ [ D ] d \in[D] d ∈ [ D ] , we have
∫ 0 ∞ ∑ d = 1 D β d ( t ) d t = ∫ 0 ∞ ∑ d = 1 D M ( t ) B d t = D B ∫ 0 ∞ M ( t ) d t ≤ q D B Z q . \int_0^\infty\sum_{d=1}^{D} \beta_d(t)\,\mathrm{d}t = \int_0^\infty\sum_{d=1}^{D} \frac{M(t)}{B}\,\mathrm{d}t = \frac{D}{B} \int_0^\infty M(t)\,\mathrm{d}t \le\frac{qD}{B}Z_q. ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t = ∫ 0 ∞ d = 1 ∑ D B M ( t ) d t = B D ∫ 0 ∞ M ( t ) d t ≤ B q D Z q .
The last inequality uses the bound ∫ 0 ∞ M ( t ) d t ≤ q Z q \int_0^\infty M(t)\,\mathrm{d}t \le qZ_q ∫ 0 ∞ M ( t ) d t ≤ q Z q proved above. We now set s = B / ( 4 q D ) ∈ ( 0 , 1 ] s = B/(4qD) \in(0,1] s = B / ( 4 q D ) ∈ ( 0 , 1 ] . Together with (21) , the above gives
OPT s , q ≥ ∑ j = 1 n α j − s ∫ 0 ∞ ∑ d = 1 D β d ( t ) d t ≥ 1 2 Z q − 1 4 Z q = 1 4 Z q . \operatorname{OPT}_{s,q} \ge\sum_{j=1}^{n} \alpha_j - s \int_0^\infty\sum_{d=1}^{D} \beta_d(t)\,\mathrm{d}t \ge\frac{1}{2}Z_q - \frac{1}{4}Z_q = \frac{1}{4}Z_q. OPT s , q ≥ j = 1 ∑ n α j − s ∫ 0 ∞ d = 1 ∑ D β d ( t ) d t ≥ 2 1 Z q − 4 1 Z q = 4 1 Z q .
Thus Z q ≤ 4 OPT s , q Z_q \le4\operatorname{OPT}_{s,q} Z q ≤ 4 OPT s , q . Finally, Lemma 6 gives
ALG q ≤ OPT s , q + Z q 1 / q ≤ ( 1 + 4 1 / q ) OPT s , q . \operatorname{ALG}_q \le\operatorname{OPT}_{s,q} + Z_q^{1/q} \le(1 + 4^{1/q})\operatorname{OPT}_{s,q}. ALG q ≤ OPT s , q + Z q 1/ q ≤ ( 1 + 4 1/ q ) OPT s , q .
Substituting s = B / ( 4 q D ) s = B/(4qD) s = B / ( 4 q D ) proves the claimed bound.
Lower Bounds
We now show that the minimum of the two upper bounds is tight up to constant factors. All jobs in the constructions below are released at time zero and have unit rate caps. The first construction uses binary demands and applies to one-shot DRF. It arranges jobs in blocks of disjoint resources, with geometrically decreasing populations and geometrically increasing processing requirements. Within each block, the instance resembles the one from Proposition 1. DRF shares the resources equally between jobs that use a single resource and jobs that use the entire block, whereas it would be better to complete the single-resource jobs first. Across blocks, one-shot DRF gives all jobs the same rate, so it is always slowed down by the most congested unfinished block. In contrast, a comparison schedule processes all blocks in parallel. For full DRF, we add small demands on earlier blocks so that the same bottleneck freezes every unfinished job.
Theorem 7. For every integer D ≥ 1 D \ge1 D ≥ 1 and real q ≥ 1 q \ge1 q ≥ 1 , one-shot DRF and full DRF have a competitive ratio in
Ω ( min { q D 1 / ( q + 1 ) , D } ) \Omega\left(\min\left\{qD^{1/(q+1)},D\right\}\right) Ω ( min { q D 1/ ( q + 1 ) , D } ) for minimizing the ℓ q \ell_q ℓ q norm of completion times in multidimensional scheduling with D D D resources. The lower bound holds with normalized demands, zero-release times, and unit rate caps. For one-shot DRF, it holds even for binary demands.
Proof. Instance for one-shot DRF. Fix D ≥ 1 D \ge1 D ≥ 1 and q ≥ 1 q \ge1 q ≥ 1 . We first construct a binary-demand instance for one-shot DRF. Set L : = min { D , ⌊ q ⌋ } L := \min\{D,\lfloor q\rfloor\} L := min { D , ⌊ q ⌋} and W : = ⌊ D / L ⌋ W := \left\lfloor D/L\right\rfloor W := ⌊ D / L ⌋ . Divide L ⋅ W L \cdot W L ⋅ W resources into disjoint blocks R 1 , … , R L R_1,\ldots,R_L R 1 , … , R L , each containing W W W resources. The remaining resources are not used. Next, define ζ : = W 1 / ( q + 1 ) \zeta:= W^{1/(q+1)} ζ := W 1/ ( q + 1 ) , K : = ⌈ ζ ⌉ − 1 K := \lceil\zeta\rceil- 1 K := ⌈ ζ ⌉ − 1 , and n h : = 2 L − h n_h := 2^{L-h} n h := 2 L − h for h ∈ [ L ] h \in[L] h ∈ [ L ] . For every block R h R_h R h , we create two groups of jobs.*
For each resource d ∈ R h d \in R_h d ∈ R h , create n h n_h n h jobs that demand only resource $d.
Create n h K n_hK n h K jobs that demand every resource in R h R_h R h and no resource outside R h R_h R h .
Every positive demand is one, and every job associated with block R h R_h R h has processing requirement p h : = 1 n h ( K + 1 ) p_h := \frac{1}{n_h(K+1)} p h := n h ( K + 1 ) 1 . Thus the number of jobs per resource halves from one block to the next, while the processing requirements double. If K = 0 K=0 K = 0 , the second group is empty. On every resource, there are K K K times as many block-wide jobs as single-resource jobs. For q = 1 q=1 q = 1 , there is only one block, and the instance is similar to the one from Proposition 1.
Schedule of one-shot DRF. Suppose blocks R h , … , R L R_h,\ldots,R_L R h , … , R L are unfinished. Each resource in R h R_h R h is demanded by n h ( K + 1 ) n_h(K+1) n h ( K + 1 ) unfinished jobs, while every resource in a later block is demanded by fewer jobs. Hence one-shot DRF assigns every unfinished job rate 1 n h ( K + 1 ) \frac{1}{n_h(K+1)} n h ( K + 1 ) 1 . Since all unfinished jobs receive the same rate and p 1 < ⋯ < p L p_1<\cdots<p_L p 1 < ⋯ < p L , the blocks complete in increasing order of their indices. This confirms that the unfinished jobs always form blocks R h , … , R L R_h,\ldots,R_L R h , … , R L for some h h h .
The first block completes at time one. When block R h − 1 R_{h-1} R h − 1 completes, every job in block R h R_h R h has already received p h − 1 p_{h-1} p h − 1 units of processing. For h ≥ 2 h\ge2 h ≥ 2 , the additional time needed to complete block R h R_h R h is therefore
n h ( K + 1 ) ( p h − p h − 1 ) = 1 2 n_h(K+1)(p_h-p_{h-1})=\frac{1}{2} n h ( K + 1 ) ( p h − p h − 1 ) = 2 1
Consequently, all jobs in block R h R_h R h complete at time T h = h + 1 2 T_h=\frac{h+1}{2} T h = 2 h + 1 . In particular, the last block contains W + K W+K W + K jobs, all of which complete at time ( L + 1 ) / 2 (L+1)/2 ( L + 1 ) /2 .
Comparison schedule. We compare this outcome with a schedule that processes all blocks in parallel. In every block R h R_h R h , first run the single-resource jobs at rate 1 / n h 1/n_h 1/ n h for 1 / ( K + 1 ) 1/(K+1) 1/ ( K + 1 ) time units. Each resource has load one, and all these jobs complete at time 1 / ( K + 1 ) 1/(K+1) 1/ ( K + 1 ) . If K > 0 K>0 K > 0 , then run every remaining job in the block at rate 1 / ( n h K ) 1/(n_hK) 1/ ( n h K ) for K / ( K + 1 ) K/(K+1) K / ( K + 1 ) time units. Each resource again has load one, and these jobs complete at time one. The blocks use disjoint resources, so these steps can be performed simultaneously in all blocks. All rates are at most one, and the schedule is feasible. It follows that
OPT 1 , q q ≤ ( W ( K + 1 ) q + K ) ∑ h = 1 L n h ≤ 2 ζ ( 2 L − 1 ) , \operatorname{OPT}^{q}_{1,q}\le\left(\frac{W}{(K+1)^q}+K\right)\sum_{h=1}^{L}n_h\le2\zeta(2^L-1), OPT 1 , q q ≤ ( ( K + 1 ) q W + K ) h = 1 ∑ L n h ≤ 2 ζ ( 2 L − 1 ) ,
where the second inequality uses K + 1 ≥ ζ K+1\ge\zeta K + 1 ≥ ζ , K ≤ ζ K\le\zeta K ≤ ζ , W = ζ q + 1 W=\zeta^{q+1} W = ζ q + 1 , and ∑ h = 1 L n h = 2 L − 1 \sum_{h=1}^{L}n_h=2^L-1 ∑ h = 1 L n h = 2 L − 1 .
Bounding the ratio. Counting only the W W W single-resource jobs in the last block in the algorithm’s objective gives
ALG q OPT 1 , q ≥ L + 1 2 ( W 2 ζ ( 2 L − 1 ) ) 1 / q ≥ L + 1 2 ⋅ 2 ( L + 1 ) / q W 1 / ( q + 1 ) ≥ L 8 W 1 / ( q + 1 ) . \frac{\operatorname{ALG}_q}{\operatorname{OPT}_{1,q}}\ge\frac{L+1}{2}\left(\frac{W}{2\zeta(2^L-1)}\right)^{1/q}\ge\frac{L+1}{2\cdot2^{(L+1)/q}}W^{1/(q+1)}\ge\frac{L}{8}W^{1/(q+1)}. OPT 1 , q ALG q ≥ 2 L + 1 ( 2 ζ ( 2 L − 1 ) W ) 1/ q ≥ 2 ⋅ 2 ( L + 1 ) / q L + 1 W 1/ ( q + 1 ) ≥ 8 L W 1/ ( q + 1 ) .
The last inequality follows from L ≤ q L\le q L ≤ q and q ≥ 1 q\ge1 q ≥ 1 , which imply 2 ( L + 1 ) / q ≤ 4 2^{(L+1)/q}\le4 2 ( L + 1 ) / q ≤ 4 . If q ≤ D q\le D q ≤ D , then L ≥ q / 2 L\ge q/2 L ≥ q /2 and W ≥ D / ( 2 q ) W\ge D/(2q) W ≥ D / ( 2 q ) . Since ( 2 q ) 1 / ( q + 1 ) ≤ 2 (2q)^{1/(q+1)}\le2 ( 2 q ) 1/ ( q + 1 ) ≤ 2 , the ratio is at least q D 1 / ( q + 1 ) / 32 qD^{1/(q+1)}/32 q D 1/ ( q + 1 ) /32 . If q > D q>D q > D , then L = D L=D L = D and W = 1 W=1 W = 1 , and the ratio is at least D / 8 D/8 D /8 . Thus the claimed asymptotic lower bound holds for one-shot DRF.
Extension to full DRF. The instance above does not directly apply to full DRF. When L > 1 L>1 L > 1 , full DRF continues to increase the rates of jobs in later blocks after the resources of the first unfinished block become tight, because these jobs use disjoint resources. We now add small cross-block demands to prevent this redistribution. We keep the processing requirements and the original demands. Additionally, we give every job associated with block R ℓ R_\ell R ℓ a demand of ε : = 1 4 L W \varepsilon:=\frac{1}{4LW} ε := 4 L W 1 on each resource in every earlier block R h R_h R h , where h < ℓ h<\ell h < ℓ . Every job still has demand one on some resource in its own block, so all demand vectors remain normalized. Suppose blocks R i , … , R L R_i,\ldots,R_L R i , … , R L are unfinished. Let w h ( i ) w_h^{(i)} w h ( i ) denote their total demand on a resource in block R h R_h R h . By symmetry, this quantity is the same for every resource in the block. Let N : = W + K N := W + K N := W + K . Since block R ℓ R_\ell R ℓ contains n ℓ N n_\ell N n ℓ N jobs, we have
w h ( i ) = 1 [ h ≥ i ] n h ( K + 1 ) + ε N ∑ ℓ = max { h + 1 , i } L n ℓ . w_h^{(i)} = \mathbf{1}[h \ge i]n_h(K+1) + \varepsilon N \sum_{\ell=\max\{h+1,i\}}^L n_\ell. w h ( i ) = 1 [ h ≥ i ] n h ( K + 1 ) + εN ℓ = m a x { h + 1 , i } ∑ L n ℓ .
In particular, w i ( i ) ≥ n i ( K + 1 ) w_i^{(i)} \ge n_i(K+1) w i ( i ) ≥ n i ( K + 1 ) . Moreover, N ≤ W ( K + 1 ) N \le W(K+1) N ≤ W ( K + 1 ) implies ε N ≤ ( K + 1 ) / 4 \varepsilon N \le(K+1)/4 εN ≤ ( K + 1 ) /4 . Using n h + 1 = n h / 2 n_{h+1}=n_h/2 n h + 1 = n h /2 and ∑ ℓ = h + 1 L n ℓ < n h \sum_{\ell=h+1}^L n_\ell<n_h ∑ ℓ = h + 1 L n ℓ < n h , we obtain
w h ( i ) ≤ 2 ε N n i ≤ 1 2 n i ( K + 1 ) for h < i , w_h^{(i)} \le2\varepsilon N n_i \le\frac{1}{2}n_i(K+1) \qquad\text{for } h<i, w h ( i ) ≤ 2 εN n i ≤ 2 1 n i ( K + 1 ) for h < i ,
w h ( i ) ≤ n h ( K + 1 + ε N ) ≤ 5 8 n i ( K + 1 ) for h > i . w_h^{(i)} \le n_h(K+1+\varepsilon N) \le\frac{5}{8}n_i(K+1) \qquad\text{for } h>i. w h ( i ) ≤ n h ( K + 1 + εN ) ≤ 8 5 n i ( K + 1 ) for h > i .
Thus the resources in R i R_i R i carry the largest total demand and are the first to reach capacity when the rates of all unfinished jobs increase together. Every unfinished job demands at least one of these resources, so full DRF freezes every job during the initial round of progressive filling, at the common rate 1 / w i ( i ) 1/w_i^{(i)} 1/ w i ( i ) .
The unfinished jobs again receive equal rates and the blocks complete in increasing order. Set p 0 : = 0 p_0 := 0 p 0 := 0 . The time between the completions of blocks R i − 1 R_{i-1} R i − 1 and R i R_i R i is w i ( i ) ( p i − p i − 1 ) w_i^{(i)}(p_i-p_{i-1}) w i ( i ) ( p i − p i − 1 ) , where the first interval starts at time zero. Therefore, the completion time of block R h R_h R h satisfies
T h = ∑ i = 1 h w i ( i ) ( p i − p i − 1 ) ≥ ∑ i = 1 h n i ( K + 1 ) ( p i − p i − 1 ) = h + 1 2 . T_h = \sum_{i=1}^h w_i^{(i)}(p_i-p_{i-1}) \ge\sum_{i=1}^h n_i(K+1)(p_i-p_{i-1}) = \frac{h+1}{2}. T h = i = 1 ∑ h w i ( i ) ( p i − p i − 1 ) ≥ i = 1 ∑ h n i ( K + 1 ) ( p i − p i − 1 ) = 2 h + 1 .
Hence the algorithm’s completion times are no smaller than those in the one-shot construction.
It remains to adapt the comparison schedule to the new cross-block demands. During its first step, the jobs from block R h R_h R h create load one on each resource in that block, while the single-resource jobs from each later block add load ε W \varepsilon W ε W . Thus the load on a resource in R h R_h R h is at most
1 + ε W ( L − h ) ≤ 5 4 . 1+\varepsilon W(L-h)\le\frac{5}{4}. 1 + ε W ( L − h ) ≤ 4 5 .
If K > 0 K>0 K > 0 , then during the second step each later block adds load ε \varepsilon ε , so the load is at most
1 + ε ( L − h ) ≤ 5 4 . 1+\varepsilon(L-h)\le\frac{5}{4}. 1 + ε ( L − h ) ≤ 4 5 .
Scale every rate in the comparison schedule by 4 / 5 4/5 4/5 and every duration by 5 / 4 5/4 5/4 . The resulting schedule is feasible and its completion-time norm is 5 / 4 5/4 5/4 times the norm of the original comparison schedule. Since the algorithm’s completion times have not decreased, its ratio is at least 4 / 5 4/5 4/5 times the one-shot lower bound, and hence at least
1 40 min { q D 1 / ( q + 1 ) , D } . \frac{1}{40}\min\{qD^{1/(q+1)},D\}. 40 1 min { q D 1/ ( q + 1 ) , D } .
This proves the theorem.
A Black-Box Reduction for Release Times
The zero-release analyses in Sections B to 4 use that the unfinished set only shrinks when all jobs are released at time zero. With arbitrary release times, new arrivals may decrease the rates of existing jobs. We now show that monotonicity with respect to the active set still suffices to extend these guarantees, losing only a factor of two. The reduction is black-box in the sense that it applies to every allocation rule with a few natural properties, not only to one-shot DRF. We then restate the resulting bounds for total completion time and ℓ q \ell_q ℓ q norms with arbitrary release times.
A set-based allocation rule assigns to every set A A A of jobs a feasible rate vector x ( A ) x(A) x ( A ) with x j ( A ) = 0 x_j(A)=0 x j ( A ) = 0 for j ∉ A j\notin A j ∈ / A . The rule may depend on the demand vectors and rate caps of the jobs in A A A , but not on their processing requirements or release times. Over time, it runs the jobs at rates x ( A ( t ) ) x(A(t)) x ( A ( t )) . In other words, the allocation depends on the execution only through the active set. We call the rule positive if x j ( A ) > 0 x_j(A)>0 x j ( A ) > 0 for every j ∈ A j\in A j ∈ A , and monotone if A ⊆ B A\subseteq B A ⊆ B implies x j ( A ) ≥ x j ( B ) x_j(A)\ge x_j(B) x j ( A ) ≥ x j ( B ) for every j ∈ A j\in A j ∈ A . We state the reduction for the ℓ q \ell_q ℓ q norm of completion times with q ≥ 1 q\ge1 q ≥ 1 , which includes total completion time as the special case q = 1 q=1 q = 1 .
Theorem 8. Let q ≥ 1 q\ge1 q ≥ 1 , and consider a positive, monotone, set-based allocation rule for multidimensional scheduling. If the rule is μ \mu μ -competitive for minimizing the ℓ q \ell_q ℓ q norm of completion times with zero-release times, then it is 2 μ 2\mu 2 μ -competitive for this objective with arbitrary release times r j ≥ 0 r_j\ge0 r j ≥ 0 .
The idea is to construct a virtual instance in which all jobs are released at time zero and on which the rule produces exactly the same completion times. Each virtual job may receive processing before its original release time, while its rate after release can be lower than in the original execution. Its virtual processing requirement is therefore at most its original requirement plus the virtual work received before release. We bound the optimum of the virtual instance by combining this pre-release work with an optimal schedule for the original instance. Running both in parallel at half speed preserves feasibility and at most doubles every completion time.
Proof. Fix an instance with processing requirements p p p and release-time vector r r r , and run the allocation rule on this instance. Let C j C_j C j be the resulting completion time of job j j j , and write C : = ( C j ) j = 1 n C := (C_j)_{j=1}^n C := ( C j ) j = 1 n . Denote the ℓ q \ell_q ℓ q norms of the completion-time vectors of the rule and of an optimal schedule by ALG r ( p ) \operatorname{ALG}_r(p) ALG r ( p ) and OPT r ( p ) \operatorname{OPT}_r(p) OPT r ( p ) , respectively. Since demand vectors and rate caps stay fixed throughout the proof, we omit them from this notation. A subscript 0 0 0 denotes the corresponding values when all release times are zero. At time t t t , let A ( t ) : = { j : r j ≤ t < C j } A(t):=\{j:r_j\le t<C_j\} A ( t ) := { j : r j ≤ t < C j } be the active set and let U ( t ) : = { j : t < C j } U(t):=\{j:t<C_j\} U ( t ) := { j : t < C j } contain all jobs that have not yet completed, including those not yet released. Since A ( t ) ⊆ U ( t ) A(t)\subseteq U(t) A ( t ) ⊆ U ( t ) , monotonicity gives x j ( A ( t ) ) ≥ x j ( U ( t ) ) x_j(A(t))\ge x_j(U(t)) x j ( A ( t )) ≥ x j ( U ( t )) for every j ∈ A ( t ) j\in A(t) j ∈ A ( t ) .
We associate with the release-time instance a virtual instance in which all jobs are available at time zero. The virtual processing requirement of job j j j is
p ^ j : = ∫ 0 C j x j ( U ( t ) ) d t . \widehat{p}_j := \int_0^{C_j} x_j(U(t))\,\mathrm{d}t. p j := ∫ 0 C j x j ( U ( t )) d t .
This instance is used only for the analysis and need not be constructed online. It has the same demand vectors and rate caps, so whenever the virtual active set is U ( t ) U(t) U ( t ) , the rule assigns the rate vector x ( U ( t ) ) x(U(t)) x ( U ( t )) . The definition of p ^ j \widehat{p}_j p j makes job j j j complete at time C j C_j C j . Positivity rules out an earlier completion, since for every 0 ≤ t < C j 0\le t<C_j 0 ≤ t < C j , we have
p ^ j − ∫ 0 t x j ( U ( s ) ) d s = ∫ t C j x j ( U ( s ) ) d s > 0. \widehat{p}_j-\int_0^t x_j(U(s))\,\mathrm{d}s=\int_t^{C_j}x_j(U(s))\,\mathrm{d}s>0. p j − ∫ 0 t x j ( U ( s )) d s = ∫ t C j x j ( U ( s )) d s > 0.
An induction over the distinct completion times therefore shows that the virtual execution has active set U ( t ) U(t) U ( t ) and the same completion-time vector C C C as the original execution. Hence ALG r ( p ) = ALG 0 ( p ^ ) \operatorname{ALG}_{r}(p) = \operatorname{ALG}_{0}(\hat{p}) ALG r ( p ) = ALG 0 ( p ^ ) .
It remains to compare the two optimal values. Define the virtual work accumulated before the release of job j j j by b j : = ∫ 0 r j x j ( U ( t ) ) d t b_j := \int_{0}^{r_j} x_j(U(t))\,\mathrm{d}t b j := ∫ 0 r j x j ( U ( t )) d t . The rate comparison above implies
p ^ j = b j + ∫ r j C j x j ( U ( t ) ) d t ≤ b j + ∫ r j C j x j ( A ( t ) ) d t = b j + p j . (22) \hat{p}_j = b_j + \int_{r_j}^{C_j} x_j(U(t))\,\mathrm{d}t \le b_j + \int_{r_j}^{C_j} x_j(A(t))\,\mathrm{d}t = b_j + p_j. \tag*{(22)} p ^ j = b j + ∫ r j C j x j ( U ( t )) d t ≤ b j + ∫ r j C j x j ( A ( t )) d t = b j + p j . (22)
Let x ∗ x^* x ∗ be an optimal schedule for the original instance, with completion times C j ∗ C_j^* C j ∗ , and write C ∗ : = ( C j ∗ ) j = 1 n C^* := (C_j^*)_{j=1}^{n} C ∗ := ( C j ∗ ) j = 1 n . To process the virtual instance, we combine the pre-release work with the processing in x ∗ x^* x ∗ . Consider the rates
y j ( s ) : = 1 2 x j ( U ( s / 2 ) ) 1 [ s / 2 < r j ] + 1 2 x j ∗ ( s / 2 ) . y_j(s) := \frac{1}{2}x_j(U(s/2))\mathbf{1}[s/2 < r_j] + \frac{1}{2}x_j^*(s/2). y j ( s ) := 2 1 x j ( U ( s /2 )) 1 [ s /2 < r j ] + 2 1 x j ∗ ( s /2 ) .
In words, y y y runs at half speed. It uses one half of the capacity to perform the virtual work b j b_j b j that each job receives before its release, and the other half to follow x ∗ x^* x ∗ . Since all demands are nonnegative, setting some coordinates of a feasible rate vector to zero keeps it feasible. In particular, the vector obtained from x ( U ( s / 2 ) ) x(U(s/2)) x ( U ( s /2 )) by setting the coordinates of released jobs to zero is feasible. Moreover, the rate caps and resource capacities are linear constraints, so the average y ( s ) y(s) y ( s ) of two feasible rate vectors is feasible as well. Finally, r j ≤ C j ∗ r_j \le C_j^* r j ≤ C j ∗ and a change of variables give
∫ 0 2 C j ∗ y j ( s ) d s = ∫ 0 r j x j ( U ( t ) ) d t + ∫ 0 C j ∗ x j ∗ ( t ) d t = b j + p j ≥ p ^ j , \begin{aligned}
\int_{0}^{2C_j^*} y_j(s)\,\mathrm{d}s
&= \int_{0}^{r_j} x_j(U(t))\,\mathrm{d}t + \int_{0}^{C_j^*} x_j^*(t)\,\mathrm{d}t \\
&= b_j + p_j \ge\hat{p}_j,
\end{aligned} ∫ 0 2 C j ∗ y j ( s ) d s = ∫ 0 r j x j ( U ( t )) d t + ∫ 0 C j ∗ x j ∗ ( t ) d t = b j + p j ≥ p ^ j ,
where the last inequality follows from (22) . Thus every virtual job j j j receives its required processing by time 2 C j ∗ 2C_j^* 2 C j ∗ . Any processing after a virtual job completes may again be set to zero without violating feasibility. Since the ℓ q \ell_q ℓ q norm is monotone in every coordinate, we obtain OPT 0 ( p ^ ) ≤ ∥ 2 C ∗ ∥ q = 2 OPT r ( p ) \operatorname{OPT}_{0}(\hat{p}) \le\lVert2C^* \rVert_q = 2\operatorname{OPT}_{r}(p) OPT 0 ( p ^ ) ≤ ∥ 2 C ∗ ∥ q = 2 OPT r ( p ) . Consequently,
ALG r ( p ) = ALG 0 ( p ^ ) ≤ μ OPT 0 ( p ^ ) ≤ 2 μ OPT r ( p ) , \operatorname{ALG}_{r}(p) = \operatorname{ALG}_{0}(\hat{p}) \le\mu\operatorname{OPT}_{0}(\hat{p}) \le2\mu\operatorname{OPT}_{r}(p), ALG r ( p ) = ALG 0 ( p ^ ) ≤ μ OPT 0 ( p ^ ) ≤ 2 μ OPT r ( p ) ,
which proves the theorem.
One-shot DRF is set-based because its allocation only depends on the demand vectors and rate caps of the active jobs. It is positive because λ ( A ) ≥ 1 / ∣ A ∣ > 0 \lambda(A) \ge1/|A| > 0 λ ( A ) ≥ 1/∣ A ∣ > 0 , and it is monotone by Observation 1. Hence, Theorem 8 applies. We transfer the resulting guarantees to full DRF using Lemma 1, which holds for arbitrary release times.
Corollary 1. For multidimensional scheduling with D ≥ 1 D \ge1 D ≥ 1 resources and arbitrary release times r j ≥ 0 r_j \ge0 r j ≥ 0 , one-shot DRF and full DRF are ( 8 D + 2 ) (8\sqrt{D} + 2) ( 8 D + 2 ) -competitive for minimizing total completion time. For D = 2 D = 2 D = 2 and D = 3 D = 3 D = 3 , respectively, the upper bounds improve to 4 + 2 3 4 + 2\sqrt{3} 4 + 2 3 and 4 + 2 7 4 + 2\sqrt{7} 4 + 2 7 . For both algorithms, the competitive ratio is Θ ( D ) \Theta(\sqrt{D}) Θ ( D ) .
Proof. Apply Theorem 8 with q = 1 q = 1 q = 1 to the one-shot DRF bounds in Theorems 1, 5 and 6, and then use Lemma 1 for full DRF. The matching lower bound from Proposition 1 already holds with zero-release times, so it also applies here.
For the norm objective, write ALG q : = ∥ C ∥ q \operatorname{ALG}_q := \lVert C \rVert_q ALG q := ∥ C ∥ q for the norm of the algorithm’s completion-time vector C C C , and let OPT 1 , q \operatorname{OPT}_{1,q} OPT 1 , q be the minimum norm over feasible unit-speed schedules. Both values refer to the original instance with its given release times.
Corollary 2. For every integer D ≥ 1 D \ge1 D ≥ 1 and real q ≥ 1 q \ge1 q ≥ 1 , one-shot DRF and full DRF satisfy
ALG q ≤ min { 144 q D 1 / ( q + 1 ) , 4 D + 2 } OPT 1 , q \operatorname{ALG}_q \le\min\left\{144qD^{1/(q+1)},\,4D+2\right\}\operatorname{OPT}_{1,q} ALG q ≤ min { 144 q D 1/ ( q + 1 ) , 4 D + 2 } OPT 1 , q on every instance of multidimensional scheduling with D D D resources and arbitrary release times. Their competitive ratios for minimizing the ℓ q \ell_q ℓ q norm of completion times are in
Θ ( min { q D 1 / ( q + 1 ) , D } ) . \Theta\left(\min\left\{qD^{1/(q+1)},\,D\right\}\right). Θ ( min { q D 1/ ( q + 1 ) , D } ) . In particular, both algorithms have competitive ratio Θ ( D ) \Theta(D) Θ ( D ) when q ≥ D q \ge D q ≥ D .
Proof. The proofs of Theorems 3 and 4 give one-shot DRF competitive factors 72 q D 1 / ( q + 1 ) 72qD^{1/(q+1)} 72 q D 1/ ( q + 1 ) and 2 D + 1 2D+1 2 D + 1 , respectively, when all jobs are released at time zero. Applying Theorem 8 to each bound gives the displayed upper bound for arbitrary release times. Since the reduction acts on the norm itself, rather than on the sum of q q q th powers, its factor of two is independent of q q q . By Lemma 1, full DRF completes every job no later than one-shot DRF on the same instance, so it satisfies the same norm bound.
The lower bound in Theorem 7 uses only instances with zero-release times and unit rate caps, and hence also applies to the larger class of instances considered here. Together with the upper bound, it gives the claimed Θ \Theta Θ bound.