HAL Id: hal-02548226
https://hal.archives-ouvertes.fr/hal-02548226 Submitted on 20 Apr 2020
HAL is a multi-disciplinary open access
archive for the deposit and dissemination of sci-entific research documents, whether they are pub-lished or not. The documents may come from teaching and research institutions in France or
L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des établissements d’enseignement et de recherche français ou étrangers, des laboratoires
On the Graham’s bound for cyclic scheduling
Philippe ChrétienneTo cite this version:
Philippe Chrétienne. On the Graham’s bound for cyclic scheduling. [Research Report] lip6.1999.013, LIP6. 1999. �hal-02548226�
On Graham's Bound for Cyclic Scheduling
Philipp e Chretienne UniversitePierre et MarieCurie
Lab oratoire LIP6
April 10, 1999
Abstract
This paper adresses the performance of list scheduling a cyclic set of N non-preemptive dependent generic tasks on m identical processors. The reduced precedence graph is assumed to be strongly connected but the number of simultaneously active instances of a generic task is not restricted to be at most one. Some properties on arbitrary schedules are rst given. Then we restrict to regular schedules for which it is shown that the number of ready or active tasks at any instant is at least the minimum height H of a directed circuit of the
reduced precedence graph. The average cycle time of any regular list schedule is then shown to be at most (2 minfH
;m g
m ) times the absolute
minimum average cycle time. This result, which is similar well-known (2 m1) Graham's bound applying for non cyclic scheduling, shows
to what extent regular list schedules take the parallelism of the cyclic task system into account.
1 Introduction
Cyclic scheduling addresses the problem of scheduling a cyclic set of inter-dependent tasks that may for example model the body of a program loop or the tasks involved in the mass production of an equipment.
Cyclic scheduling is not less dicult than non-cyclic scheduling since any non-cyclic scheduling problem polynomially reduces to a cyclic problem where successive iterations do not overlap. Most of the research eort in cyclic scheduling has concerned the basic cyclic scheduling problem [7], [8], [10], dominant subsets of periodic schedules for the cyclic scheduling prob-lem with
m
identical processors [3], complexity and ecient algorithms forspecial cases [4],[6]. Unlike for non-cyclic scheduling where a lot of research has been devoted to approximation [1], [2], searching for the performance ra-tio of approximara-tion algorithms has been relatively rare for cyclic scheduling problems. In [5], non-cyclic list scheduling and the famous Graham's bound have been combined to derive a strictly periodic schedule whose average cy-cle time is at most 2 (1
=m
)opt+ (m
1=m
)(p
max 1) where opt is themaximum time-to-height ratio of a circuit in the reduced precedence graph. In [9], list schedules have been dened for cyclic scheduling problems with non-reentrant generic tasks and have been shown to provide the performance ratio (2 1m). In [13], new priority lists have been dened and tested for more general cyclic-task systems modelled by timed Petri nets.
This paper concerns the performance of list schedules for the general cyclic scheduling problem on
m
identical machines (GCSP
in abbreviated form). In Section 2, the general cyclic scheduling problem onm
identical processors is specied. In Section 3, a dominance property in the set of schedules as well as some properties of arbitrary schedules are given; in particular the number of ready or active tasks at any instant is shown to be at least the minimum heightH
of a directed circuit of the reduced precedence graph.In Section 4, the performance ratio of an arbitrary regular list schedule is shown to be (2 minfH
;m g
m ). This result, which may be seen as the analog of
the Graham's bound for non-cyclic list scheduling, shows that minf
H
;m
g)
is a good measure of the parallelism of the cyclic task system. The last section is devoted to some conclusions.
2 The cyclic scheduling problem
GCSPA scheduling problem is said to be cyclic if its innite task graph has a periodicstructure. In the case of
GCSP
, this structure is as follows:The tasks
The task set T is partitioned into an innite number of iterations where
each iteration is an instance of a nite set
T
=fT
1;T
2;
;T
Ngof so-calledgenerictasks. Each iteration is indexed by a natural number
n
1 and thetasks of the iteration
n
are denoted byT
nj;T
j 2T
. The taskT
njis called theinstance
n
ofT
j. Tasks are not preemptive and all the instancesT
nj;n
1of the same generic task
T
j have the same positive integer durationp
j. TheThe precedence constraints
The precedence constraints are dened from a nite set
U
= fu
1;
;u
Pgof so-called generic uniform precedence constraints. Each
u
k is a triple(
T
i;T
j;h
) whereT
i=u
k andT
j=u
+k are two generic tasks and whereh
isa natural number called the height of
u
k. The maximum height of a genericprecedence contraint is denoted by
h
max. Ifu
k = (T
i;T
j;h
) is a genericprecedence constraint then for each iteration
n
1, the taskT
ni must becompleted before the task
T
jn+h starts its execution.The precedence graph
G
is an innite directed acyclic graph with a periodic structure (see Figure 1). The set of the immediate predecessors (resp. suc-cessors) inG
of the taskT
ip is denoted byIN
(T
ip) (resp.OUT
(T
ip)). The directed graphG
b = (T;U
) whose nodes are the generic tasks and whosearcs correspond to the generic precedence constraints is called the reduced precedence graph(see Figure 2).
The reduced precedence graph of an instance of
GCSP
is assumed to be con-sistent(i.e: every simple circuit has a strictly positive height) and strongly connected. Consistency is needed for the set of schedules to be non empty while strong connectivity provides essential stability properties to schedules. LetH
be the minimum height of a simple circuit ofb
G
. Since the height of an arc is a non-negative integer, then any circuit ofG
b has a non-negativeheight and
H
may be computed in polynomial time using any \allshort-est paths" algorithm that denes the cost of an arc to be its height. As a consequence, the consistency property may be decided in polynomial time.
The resource constraints
m
identical processors fP
1;
;P
mg are available to execute the tasks. Asusual, the execution of each task
T
nj;T
j 2T;n
1 requires one processorand, at any instant, one processor may execute at most one task.
Schedule, average cycle time and optimization
An instance
I
= (G;h;p;m
) ofGCSP
is thus specied by a strongly-connected graphG
b = (T;U
), non-negative integral arc heightsh
(u
);u
2
U
,positive integral processing times
p
i;T
i2T
and the numberm
of processors.A schedule
S
= (s;
) ofI
assigns each taskT
kj;T
j 2T;k
1 a startingtime
s
(i;k
) and a processor(i;k
) such that all the resource and precedence constraints are satised. The completion timeC
n(S
) of iterationn
is equalT1
T2
T4
T3
it#6 it#1 it#2 it#3 it#4 it#5
Figure 1: The precedence graph
G
.4 generic tasks T1,T2,T3,T4 p1=3, p2=3, p3=4, p4=2 an arc is labelled by its height
T1 T2 T3 T4 1 1 1 2 1 0
by limsupn!1(
C
n(S
)=n
). The absolute minimum average cycle time (I
)is the greatest lower bound of the values
!
(S
) over the set of schedules ofI
. The scheduling problem is to determine a schedule whose average cycle time is as small as possible.Let
K
be a positive integer and letr
be a positive rational number. A scheduleS
is said to beK
-periodic with periodr
if there exists a positive integerN
0 such that for any generic taskT
i, the sequence fs
(i;n
)jn
0gsatises: 8
n
N
0:s
(i;n
+K
) =s
(i;n
) +r
. Note that in this case, wehave
!
(S
) = limn!1C
n(S
)=n
=r=K
.K
is called the periodicity factor ofS
whereasN
0 is the length of the transient phase ofS
.3 Schedule properties
3.1 Arbitrary schedules
We introduce in this section some general denitions and properties that refer to an arbitrary schedule
S
= (s;
) of an instanceI
ofGCSP
.The number of instances of
T
istarted in the time interval [0;t
] (respectively[0
;t
[) is denoted byD
+i(t
) (respectivelyD
i (t
)). The number of instances ofT
i completed in the time interval [0;t
] is denoted byF
i(t
). The taskT
ki is said to be active at timet
inS
ifs
(i;k
)< t < s
(i;k
) +p
i. Thenumber
A
i(t
) of instances ofT
i, which are active at timet
inS
is thus equalto
D
i (t
)F
i(t
). These denitions are illustrated for the schedule shownin Figure 3. The following lemma shows that every schedule satises the so-called balance property.
Lemma 1
LetH
1 be the maximum height of any simple path ofG
b. For anytwo generic tasks
T
i andT
j and for any timet
0, jD
j (t
)D
i (t
)jH
1. Pro of. | LetT
i andT
j be two generic tasks. Sinceb
G
is strongly con-nected, there is a simple path inG
b fromT
i to
T
j. Leth
() be the heightof
. For everyk > h
(), any start in [0;t
[ of a taskT
kj is preceded by the start in [0;t
[ of the taskT
ik h(), so we haveD
j (t
)h
() +D
i (t
). Wethus conclude thatj
D
j (t
)D
i (t
)jH
1Let
u
k = (T
i;T
j;h
) be an arc ofG
b. The pre-markingM
k (
t
)(respec-tively post-marking
M
+k(t
)) ofu
k at timet
is dened ash
+F
i(t
)D
j (t
)Lemma 2
For any timet
0 and any arcu
k, we haveM
+k(t
)0. Pro of. | Letu
k = (T
i;T
j;h
). LetN
1(j
) (respectivelyN
2(j
)) be thenumber of tasks
T
kj withk > h
(respectivelyk
h
) started in [0;t
]. Sincefor any
k > h
, a start in [0;t
] of a taskT
kj withk > h
is preceded by the completion in [0;t
] of the taskT
ik h, we haveF
i(t
)N
1(j
). It isstraightfor-ward from the denitions that:
N
1(j
) +N
2(j
) =D
+j(t
) andN
2(j
)h
. Wethus conclude that
D
+j(t
)h
+F
i(t
) or equivalently thatM
+k(t
)0.Even if
S
= (s;
) is such that the resource constraint is satised and the post-marking of every arc remains positive, thenS
may not be a schedule. Consider for example a single generic taskT
1 withp
1 = 1, a single genericprecedence constraint (
T
1;T
1;
1) and only one machine. The assignments
(1;
2) = 0,s
(1;
1) = 1,ands
(1;k
) =k
1 fork
3 is such that for anyt
0,M
+1(t
)0 but is not a schedule.Lemma 3
Letbe an arbitrary simple circuit ofG
b. At any timet
0, we haveP uk 2
M
k (t
) + P Ti 2A
i(t
) =h
().Pro of.|Let
u
k = (T
i;T
j;h
) be an arc of. SinceA
i(t
) =D
i (t
)F
i(t
),we have
M
k (t
) =h
+F
i(t
)D
j (t
)=h
+(D
i (t
)D
j (t
))A
i(t
). Summingover the arcs of
, we get: Puk 2
M
k (t
) + P Ti 2A
i(t
) =h
().3.2 Regular schedules
S
= (s;
) is said to be regular if for every generic taskT
i, the time sequences
(i;k
) satises: 8k
1;s
(i;k
+ 1)s
(i;k
). The next lemma shows thatif
S
= (s;
) is regular and meets the resource constraint, then the non-negativity of the post-marking ensures thatS
is a schedule.Lemma 4
IfS
= (s;
) is a time and processor assignment such that a)S
is regular, b) for any time
t
0 and any arcu
k 2P
:M
+k(t
)0 and c) theresource constraint is satied, then
S
is a schedule.Pro of. | Consider an arc
u
k = (T
i;T
j;h
). From b), we know thatfor any
t
0,M
+k(t
) =h
+F
i(t
)D
+j(t
) 0. Let us assume that forT1 T 2 T3 T4 1 1 1 2 1 0 T1 T2 T3 T4 1 0 1 0 0 0 T2 T3 T4 2 0 1 1 1 0 T4 T1 T2 T3 2 0 1 1 1 1
the post-marking M+ the final marking M~ the pre-marking M -0 3 6 7 12 15 T1,1 T1,2 T3,3 T2,1 T2,2 T2,3 T2,4 T3,1 T3,2 T3,4 T4,1 T4,2 2-periodic pattern T4,4 T2,5 T2,6 T1,4 T3,6 24 T3,5 T1,3 T1,5 T4,3 T4,5 T2
Instantaneous values at time 6 i D D F 1 2 3 4 1 2 2 1 2 3 2 1 1 2 1 1 + -4 9 T1 6 6 6 i i i
F
i(t
)k h
. Again from the regularity ofS
we get thats
(i;k
+h
)+p
it
.We thus conclude that the generic precedence
u
k is satised byS
. SoS
isa schedule since it also meets the resource constraint (assumption c) of the lemma).
It is now easy to derive from Lemmas 2 and 4 that the regular schedules make a dominant subset.
Theorem 1
For any instance ofGCSP
, there is an optimal schedule which is regular.Pro of.| Let
S
= (s;
) be a schedule of an instanceI
. The task subset fT
nijn
0gmay be totally ordered byS with respect toS
= (s;
) whereT
ip ST
q
i if
s
(i;p
)< s
(i;q
) or ((s
(i;p
) =s
(i;q
)) and ((i;p
)<
(i;q
))).For each generic task
T
i, let us denote byT
iki the instance of
T
i whose rankis
k
with respect to S. Consider now the time and processor assignmentS
0= (s
0;
0) we get by replacing in the processor-time diagram ofS
each taskT
jkj by the task
T
kj, i.e: for each taskT
ki:s
0(i;k
) =s
(i;i
k)
;
0(i;k
) =(i;i
k).
Clearly
S
0 is regular and satises the processor constraint. Moreover fromthe denition of
S
0, the marking functionsM
+ andM
0+ associatedrespec-tively with
S
andS
0 are identical. SinceS
is a schedule, we know fromLemma 2 that for any
u
k 2P
and for anyt
0,M
+k(t
)0. We thus havethat for any
u
k 2P
and for anyt
0,M
0+k(t
)0. Finally we conclude
from Lemma 4 that
S
0is a regular schedule ofI
such that!
(S
) =!
(S
0).At any time
t
0, we denote byE
(t
) the subset of the tasks whoseexecution has started in [0
;t
[ and byG
(t
) the subgraph ofG
induced by the tasks ofE
(t
). The restriction ofS
to the tasks ofE
(t
) is denoted byS
(t
).S
(t
) is clearly a schedule ofG
(t
). The nal marking ~M
(t
) ofS
(t
) is such that for any arcu
k = (T
i;T
j;h
) of ^G
: ~M
k(t
) =M
k (t
) +A
i(t
). Figure 3shows the nal marking at time 6 for the corresponding schedule. The task
T
ki is said to be ready at timet
inS
ifT
ki 62E
(t
) and if each task inIN
(T
ki)is completed by time
t
inS
. The number of instances ofT
j that are readyat time
t
inS
is denoted byR
j(t
). The following lemma characterizes theready tasks.
Lemma 5
IfminfM
k (t
)ju
+k=T
jg=r
andD
j(t
) =q
, then the instancesPro of. | Let
u
k = (T
i;T
j;h
). Ifr
+q < h
, then there is no instanceof
T
i inIN
(T
jr+q). Otherwise, from the denitions ofr
andq
, we haveM
k (t
) =h
+F
i(t
)q
r
, from which we get thatF
i(t
)r
+q h
.In either case the task
T
ir+q h is completed by timet
inS
. SoT
jr+q is ready at timet
inS
and the same is true for the tasksT
j1+q;
;T
jr 1+q.We thus have
R
j(t
)r
. Moreover from the denition ofr
, we knowthere is
u
k0 = (T
i0;T
j;h
0) such thatM
k0 =
r
, from which we get thatF
i0(t
) =r
+q h
0. ThusT
r+q h0+1
i0 is not completed by time
t
inS
. So thetask
T
jr+q+1 is not ready at timet
inS
and the same is true for the tasksT
jr+q+k withk >
1. We thus haveR
j(t
) =r
.The above characterization of the ready tasks leads us to derive a lower bound on the number
RA
(t
) of the ready or active tasks at timet
inS
. This will be the key property for the performance analysis of the regular list schedules.Theorem 2
LetH
be the minimal height of a simple circuit of ^G
. Forany schedule
S
and any timet
0, we haveRA
(t
)H
.Pro of.|Let
t
0. With each generic taskT
j, we associate an arcu
k(j)such that
u
+k(j) =
T
j and ~M
k(j)(t
) = minfM
~k(t
)ju
+k =T
jg. The subgraphof ^
G
induced by the arcsu
k(j);T
j 2T
has at least one simple circuit. FromLemma 5 and since
A
j(t
) =D
j (t
)F
j(t
), we haveR
j(t
) +A
j(t
) =M
k(j)(t
) +A
j(t
) =h
k(j)+F
uk (j )(
t
)F
j(t
)Let us now consider the number of ready or active instances of the generic tasks of
. From the denition of the arcsu
k(i), we have:X Tj 2 (
R
j(t
) +A
j(t
)) = X (Ti;Tj;h) 2 (h
+F
i(t
)F
j(t
)) =h
()We thus conclude that
RA
(t
) = X Tj2T (R
j(t
) +A
j(t
)) X Tj2 (R
j(t
) +A
j(t
))H
We now show that
H
is a best lower bound forRA
(t
) since there is aschedule
S
and a timet
such thatRA
(t
) =H
.Without loss of generality, let us assume that
C
= fT
N c+1;
;T
Ng arethe generic tasks of a simple circuit of ^
G
whose height isH
. A task subset T is said to beC
-initial (whereC
=fT
1;
;T
N cg) if:1.
T
jq 2 )T
j 2C
; 2. (T
jq2 andT
p i 2IN
(T
q j)) )T
p i 2.A subset
T is regular if = [Ni=1fT
i1;
;T
ik ig where by convention f
T
i1;
;T
iki
g=;if
k
i = 0. A regularC
-initial subset may thus be denotedby
(k
1;
;k
i;
;k
N c). A regularC
-initial subset is locally maximalif for any
i
2 f1;
;N c
g, (k
1;
;k
i+ 1;
;k
N c) is not aC
-initialsubset. The next lemma shows that there is a locally maximal
C
-initial subset.Lemma 6
IfC
= (T
N c;T
N c+1;
;T
N;T
N c) is a simple circuit of thereduced precedence graph, there is a locally maximal
C
-initial subset.Pro of.|Since ^
G
is strongly connected, for everyT
j;j
2f1;
;N c
g,there is a path from
T
N toT
j in ^G
. So for everyT
j;j
2 f1;
;N c
g,there is a positive integer
h
j such thatT
hjj does not belong to any
C
-initialsubset. Since the empty set is a regular
C
-initial subset, there is a locally maximumC
-initial subset.Theorem 3
There is a schedule and a time t such thatRA
(t
) =H
. Pro of. | Let ^K
be a regularC
-initial subset and lett
=P
Tq j
2^K
p
j.Consider a regular schedule
S
, which rst executes on the same processor the tasks of ^K
. Since ^K
is locally maximal, any taskT
jq withT
j 2C
isneither ready for
S
at timet
nor active at timet
inS
. So the only tasks that might be ready or active at timet
inS
are the tasksT
jq withT
j 2C
.Let
u
k(j) be the arc inC
whose output node isT
j. From Lemma 3, weknow that P
Tj2C(
M
k(j)(t
) +A
j(t
)) =H
. Since from Lemma 5, we have
R
j(t
)M
k(j)(t
) for anyT
j 2C
, we get thatRA
(t
)H
and from
Let us illustrate this result on the instance of Figure 2. Here we have
H
= 2 andC
= (T
1
;T
3;T
4;T
1) is a circuit with height 2. fT
12;T
22g is alocally maximal
C
-initial subset . Once these two tasks are executed, the only ready tasks areT
11 andT
13.4 The performance of regular list schedules
4.1 List schedules and regular list schedules
A schedule
S
is a list schedule if for any idling interval [t;t
+[ (>
0) of a processor , any task scheduled at timeu > t
has at least one of its predecessors being processed at timet
inS
.A list algorithm is such that at any time when at least a new task may be performed (decision time), as many ready tasks as possible are assigned to the free processors.
A list algorithm is said to be regular if , at each decision time
, the ready instances of a generic task are assigned to free processors according to in-creasing iteration numbers. More precisely, ifT
ipis assigned a free processorat decision time
, then so is every taskT
iq withq < p
that is ready at time .The following property shows that regular list algorithms generate regular list schedules.
Property 1
The schedule provided by a regular list algorithm is a regular list schedule. Conversely, a regular list schedule is the schedule provided by a regular list algorithm.Pro of.|Let
S
=A(I
) be the schedule provided by the regular listalgo-rithmAon the instance
I
ofGCSP
and letn;n
0 be the sequence of thedecision times of
S
. We show by induction onn
that the partial scheduleS
+(n) associated with the tasks started in [0
;
n] is regular. This holds forn
= 0 since a) A is regular and b) ifT
q
j is ready at time
0 = 0, then sois every task
T
jp withp
q
. Assume now thatS
+(n 1) is regular and letlast
(i
) be the instance ofT
i inS
+(n 1) with the highest iteration index.Again since
S
+(n 1) is regular, then if
T
ip is ready at timen in
S
, thenso is every instance
T
ri withlast
(i
)< r
p
. Now sinceA is regular, we getthat
S
+(n) is a regular list schedule.
Conversely, if
S
is a regular list schedule of the instanceI
ofGCSP
, let us denote byL
(S
) the (innite) list of the tasks ordered by increasing startingtimes using increasing processor numbers for tie-breaking. Since
S
is reg-ular, it is clear that the list algorithm algorithm associated withL
(S
) is a regular list algorithm that provides the the scheduleS
.The periodic schedule shown on Figure 3 is a list schedule of the instance of the GCSP instance shown in Figure 2.
4.2 The performance ratio of regular list schedules
Let
I
= (G;h;p;m
) be an arbitrary instance ofGCSP
. We show in this section that the average cycle time of every regular list scheduleS
ofI
is at most (2 Km)
(I
) where (I
) is the absolute minimum average cycle timeof
I
andK
= min fH
;m
g. We rst recall the following characterization of
(I
) that has has been proved in [9] where
G
nis the subgraph ofG
induced by then
rst instances of each generictask, i.e: byf
T
p
i j
i
2f1;
;N
g;p
2f1;
;n
ggO
n is an optimal schedule ofG
n.Lemma 7
LetM
(O
n) be the makespan of an optimal schedule ofG
n. Theabsolute minimum average cycle time of
I
islimsupn!1M(On)
n
Theorem 4
LetI
= (G;h;p;m
) be an arbitrary instance ofGCSP
. Every regular list scheduleS
ofI
satises!
(S
)(2 K
m )
(I
)Pro of. |Let Abe a regular list algorithm and let
S
=A(I
) be theas-sociated regular list schedule. We consider the time window
W
= [0;C
n(S
)]of the Gantt time diagram of
S
.W
may be partitionned into total activity periods where all the processors are busy and partial activity periods where at least one processor is idle (see Figure 4).Let [
a;b
] be one partial activity period. We denote byd
0;
;d
r thedecision times of
S
in [a;b
]. Note that we haved
0 =a
,d
0<
<d
r andd
r =b
. Since A is a list algorithm, for every decision timed
i, the numberm
i of busy processors in [d
i;d
i+1] is minfm;a
i+r
ig wherea
i (respectivelyr
i) is the number of ready (respectively active) tasks at timed
i inS
. FromTheorem 2, we have
a
i +r
iH
. Since [
d
i
;d
i+1] belongs to a partialactivity period andAis a list algorithm, we get
a
i+r
i< m
. We thus havem
i =a
i+r
i, from which we conclude thatm
iminfm;H
g=
K
.Cn(S) 0
busy period idle period task of µ(n)
Figure 4: Structure of the time window
W
following the lines of the well-known Graham's proof in [11], we know that there is a path
n of tasks inG
n whose last task isT
niand whose successiveexecution time intervals in
S
totally overlaps the partial activity periods ofW
. So, ifL
n is the sum of the durations of the tasks on n, we haveC
n(S
)L
nfrom which we get:!
(S
)limsupn!1
L
nn
Let us now denote by
R
n(S
) the sum of the durations of the tasksT
kjstarted in the time interval [0
;C
n(S
)[ and such thatk > n
. LetQ
be themaximum height of a simple circuit of ^
G
. We know from Lemma 3 that at mostQ
instances of the generic taskT
i complete at time
C
n(S
) and fromthe regularity of
S
, we derive thatD
i (C
n(S
))n
+Q
. From Lemma 1,
we know that for every generic task
T
j, (j
6=i
), we havek
n
+H
1+Q
.We thus conclude that:
R
n(S
)(H
1+Q
) X Ti 2Tp
iAs usual, we nally consider the time window
W
of the Gantt-diagram ofS
. Since the cumulative sum of the idle processor periods is at most (m K
)L
n and the cumulative sum of the busy processor periods is at
most
n
P Ti 2Tp
i+R
n(S
), we get that:mC
n(S
)n
X Ti 2Tp
i+R
n(S
) + (m K
)L
nfrom which we get:
C
n(S
)n
P Ti 2Tp
im
+ 1m
R
nn
(S
)+ (m K
)m
L
n
nNow since
L
nM
(O
n) and PT i
2Tp i
m
(I
), we derive from Lemma 7 that:!
(S
) = limsupn !1C
n(S
)n
(2K
m
)(I
)5 Conclusion
In this paper, we have studied the performance of list-scheduling a cyclic set of non-preemptive, interdependent and reentrant generic tasks. Regu-lar schedules, where the instances of each generic task must be scheduled in the order of increasing iteration numbers, have been shown to make a dominating set of schedules. Then, from the property that in any regular schedule, the number of active or ready tasks is at least minf
m;H
g(where
H
is the the minimum height of a simple circuit in the reduced precedencegraph) the average cycle time of any regular list schedule has been shown to be at most (2 minfm;H
g
m ) times the minimum absolute average cycle time.
This latter result, which extends the ratio 2 1m previously shown to apply to the special case of non-reentrant tasks may be considered as the analog for GCSP of the well-known Graham's bound. It also brings a quantitative insight to the rather intuitive idea that a list scheduling algorithm should behave better on a cyclic set of tasks than on a nite number of its iterations. Another interesting aspect is that if
H
m
, any regular list schedule isoptimal. So 2 minfm;H
g
m is a best bound and
H
is a good measure of theparallellism of the innite task graph.
Acknowledgements
References
[1] J.K. Lenstra and D.B. Shmoys (1995). Computing near optimal sched-ules, Scheduling theory and its applications, chap. 1, 193-224, Eds P. Chretienne, E.G. Coman, Jr, J.K. Lenstra and Z. Liu, Wiley.
[2] E.G. Lawler, J.K. Lenstra, A.H.G. Rinnoy Kan and D.B. Shmoys (1994). Sequencing and Scheduling: algorithms and complexity, Report BS-R8909, Center for Mathematics and Computer Science, Amsterdam. [3] C. Hanen and A.Munier (1995). A study of the cyclic scheduling
prob-lem on parallel processors, Disc. Appl. Math., 57, 167-192.
[4] C. Hanen and A. Munier (1995). Cyclic scheduling on parallel proces-sors, Scheduling theory and its applications, chap. 9, 193-224, Eds: P. Chretienne, E.G. Coman, Jr, J.K. Lenstra and Z. Liu, Wiley.
[5] F. Gasperoni and U. Schwiegelshohn (1994). Generating close to opti-mal loop schedules on parallel processors, Par. Proc. Let., 4(4), 391-403. [6] A. Munier (1991). Contribution a l'etude des ordonnancements
cy-cliques, PhD thesis, P. and M. Curie University.
[7] P. Chretienne (1985). Transient and limiting behavior of timed event graphs, RAIRO-TSI, 4, 127-142.
[8] P. Chretienne (1991). The basic cyclic scheduling problem with dead-lines, Disc. Appl. Math., 30, 109-123.
[9] P. Chretienne (1997). List schedules for cyclic scheduling, to appear in Disc. Appl. Math..
[10] G. Cohen, D. Dubois, J.P. Quadrat and M. Viot (1985). A linear system theoretic view of discrete event process and its use for performance evaluation in manufacturing, IEEE Trans. Aut. Cont., 30, 3.
[11] R.L. Graham (1969). Bounds on multiprocessing timing anomalies, SIAM J. Appl. Math., 17, 416-429.
[12] E.G. Coman,Jr and R.L. Graham (1972). Optimal scheduling for two processors systems, Act. Inf., 13, 200-213.
[13] T. Watanabe and M.Yamauchi (1993). New priority lists for scheduling in timed Petri nets. ICATPN93, LNCS 691, Chicago.