loaded system. In AEVD, the virtual deadlines are
computed based on both arrival times and deadlines.
Since transactions with longer execution times will
arrive earlier relative to their deadlines, AEVD can
raise their priorities in a more rapid pace as their du-
rations in the system increase. Consequently, longer
transactions can exceed the priorities of shorter trans-
actions that have earlier deadlines but later arrival
times. To resolve some weaknesses of AEVD, Datta
et al. (Datta et al., 1996) have introduced priority
based scheduling policy, called AAP (Adaptive Ac-
cess Parameter) method where they use explicit ad-
mission control. In (Han et al., 2012), authors have
proposed a new scheduling algorithms called Adap-
tive Earliest Deadline First Co-Scheduling (AEDF-
Co). In AEDF-Co, a dynamic scheduling approach is
adopted to adaptively schedule the update and appli-
cation jobs based on their deadlines. The performance
goal of AEDF-Co is to determine a schedule for given
sets of periodic application and update transactions
such that the deadline constraints of all the applica-
tion transactions are satisfied and at the same time to
maximize the quality of data (QoD) of the real-time
data objects.
In this paper, we propose an improvement of the
GEDF scheduling policy presented by Semghouni et
al. (Semghouni et al., 2007). To this purpose, we ac-
curately study the GEDF scheduling policy and par-
ticularly study (i) the influence of the weight of the
SPriority (see formula 1), (ii) the rank assigned to
weight of transaction in the SPriority formula (see for-
mula 3) on RTDBSs performances according to the
workload, under the main concurrency and schedul-
ing protocol 2PL-HP (Two phase locking high pri-
ority). GEDF is based on a weight technique, i.e. a
weight is assigned to a transaction according to its
importance in the system. GEDF proposes to over-
come the shortcoming of EDF and is considered as
a generalization of EDF due to its flexibility and its
adaptability to the system workload conditions. To
show the improvement of GEDF scheduling policy
on RTDBSs performances, the system performances
according to the transactions success ratio with dif-
ferent values of the weight of the Spriority and the
transactions priority parameters are analyzed. Then
the optimal values of these parameters according to
the workload are deduced. To this purpose, we have
conducted intensive Monte Carlo simulations on the
RTDBSs simulator we have developed. The simula-
tor is based on components generally encountered in
RTDBSs (Kim and Son, 1996; Ramamritham et al.,
2004).
The remainder of this paper is organized as fol-
lows. In Section 2, we briefly present GEDF policy
and the simulator components. We present the met-
rics used in section 3. Section 4 presents the Monte
Carlo simulation experiments and shows how we can
improve the success ratio of GEDF by choosing the
optimal values of influent factors according to the sys-
tem status. Finally, in section 5, we conclude the pa-
per and discuss some aspects of our future work.
2 SYSTEM MODEL
AND SIMULATOR
2.1 System Model
Only firm real-time transactions are considered and
classified into update and user transactions. Update
transactions are periodic and only write temporal data
which capture the continuously state changing envi-
ronment. We assume that an update transaction is re-
sponsible for updating a single temporal data item in
the system. Each temporal data item is updated fol-
lowing a more-less approach where the period of an
update transaction is assigned to be more than half of
the validity interval of the temporal data (Xiong and
Ramamritham, 2004). User transactions can read or
write non-temporal data and only read temporal data.
User transactions arrive in the system according to a
Poisson process with an average rate λ. The number
of operations generated for each user transaction is
uniformly distributed in the user transaction size in-
terval (denoted User
SInerval
). Data accessed by the
operations of the transaction are randomly generated
and built according to the level of data conflicts (for
more detail see (Semghouni et al., 2008) ).
GEDF is a dynamic scheduling policy where
transactions are processed in an order determined
by their priorities, i.e. the next transaction to run is
the transaction with the highest priority in the active
queue. The priority is assigned according to both the
deadline which expresses the criticality of time and
the SPriority which expresses the importance of the
transaction. We consider that the zero value of the
Priority (Priority = 0), corresponds to the highest
priority in the system. Transaction T is assigned a
priority by the formula:
Priority(T ) = (1 − a) × Deadline(T ) + a × SPriority(T )
(1)
where :
• SPriority. System priority is a parameter related
to each transaction. It expresses the degree of im-
portance of the task(s) executed by a transaction
and defines its rank among all the transactions in
ICEIS2013-15thInternationalConferenceonEnterpriseInformationSystems
232