We show that mixing the statistically long jobs (subexponential) and short ones (exponentially bounded) using processor sharing service discipline causes long (subexponential) delays for all types of jobs in the system. Since processor sharing represents a baseline fair scheduling discipline used in designing Web servers, as well as the basic model of TCP bandwidth sharing, our finding suggests that even though fairness possesses many desirable attributes, it causes unnecessarily long delays for statistically short jobs. Hence, fairness comes with a price.
We further quantify the preceding result when the long jobs follow the widely observed power law distribution x<sup>-α</sup>, α > 0, where we discover the criticality of the <i>lognormal</i> distribution for the delay characteristics of the lighter jobs. Specifically, we find that when the shorter jobs are heavier than <i>lognormal</i>, the sojourn time <i>V</i> and the service time distribution <i>B</i> of the shorter jobs are tail equivalent P[<i>V</i> > <i>x</i>] ~ P[<i>B</i> > (1 - ρ)<i>x</i>]. However, if P[<i>B</i> > <i>x</i>] is lighter than <i>lognormal</i>, the preceding tail equivalence does not hold.
Furthermore, when the shorter jobs <i>B</i> have much lighter tails <i>e</i><sup>-λ<i>x</i><sup>β</sup></sup>, λλ > 0, β > 0, we show that the distribution of the delay <i>V</i> for these jobs satisfy, as <i>x</i> → ∞, -log P[<i>V</i> > <i>x</i>] ~ <i>c</i>(<i>x</i> log <i>x</i>) β / β+1, where <i>c</i> is explicitly computable. Note that β = 1 and β = 2 represent the exponential and Gaussian cases with the corresponding delay distributions approximately of the form <i>e</i><sup>-√<i>x</i> log <i>x</i></sup> and <i>e</i><sup>-(<i>x</i> log <i>x</i>)<sup>2/3</sup></sup>, respectively. Our results are different from the existing ones in the literature that focused on the delays which are of the same form (tail equivalent) as the jobs size distribution.
[1]
Laurent Massoulié,et al.
Bandwidth sharing: objectives and algorithms
,
2002,
TNET.
[2]
R. Núñez Queija,et al.
Processor-Sharing Models for Integrated-Services Networks
,
2000
.
[3]
R. Núñez Queija,et al.
TCP as an Implementation of Age-Based Scheduling: Fairness and Performance
,
2006,
Proceedings IEEE INFOCOM 2006. 25TH IEEE International Conference on Computer Communications.
[4]
Predrag R. Jelenkovic,et al.
Large Deviation Analysis of Subexponential Waiting Times in a Processor-Sharing Queue
,
2003,
Math. Oper. Res..
[5]
S. F. Yashkov,et al.
Processor sharing: A survey of the mathematical theory
,
2007
.
[6]
A. P. Zwart,et al.
Sojourn time asymptotics in the M/G/1 processor sharing queue
,
1998,
Queueing Syst. Theory Appl..
[7]
P. Jelenkovic,et al.
Characterizing Heavy-Tailed Distributions Induced by Retransmissions
,
2007,
Advances in Applied Probability.
[8]
Frank Kelly,et al.
Rate control for communication networks: shadow prices, proportional fairness and stability
,
1998,
J. Oper. Res. Soc..
[9]
N. H. Bingham,et al.
Regular variation in more general settings
,
1987
.
[10]
Bert Zwart,et al.
Tails in scheduling
,
2007,
PERV.
[11]
Sem C. Borst,et al.
Sojourn time asymptotics in processor-sharing queues
,
2006,
Queueing Syst. Theory Appl..