Hengming Zou and Farnam Jahanian. The University of Michigan. Ann Arbor, Michigan fzou,

Size: px
Start display at page:

Download "Hengming Zou and Farnam Jahanian. The University of Michigan. Ann Arbor, Michigan fzou,"

Transcription

1 Optmzaton of a Real-Tme Prmary-Backup Replcaton Servce Hengmng Zou and Farnam Jahanan Real-tme Computng Laboratory Department of Electrcal Engneerng and Computer Scence The Unversty of Mchgan Ann Arbor, Mchgan fzou, farnamg@eecs.umch.edu Abstract The prmary-backup replcaton model s one of the commonly adopted approaches to provdng fault tolerant data servces. Its extenson to the real-tme envronment, however, mposes the addtonal constrant of tmng predctablty, whch requres a bounded overhead for managng redundancy. Ths paper dscusses the trade-o between reducng system overhead and ncreasng (temporal) consstency between the prmary and backup, and explores ways to optmze such a system to mnmze ether the nconsstency or the system overhead whle mantanng the temporal consstency guarantees of the system. An mplementaton bult on top of the exstng RTPB model [20] was developed wthn the x-kernel archtecture on the Mach OSF platform runnng MK 7.2. Results of an expermental evaluaton of the proposed optmzaton technques are dscussed. 1 Introducton A common approach to buldng fault-tolerant dstrbuted systems s to replcate servers that fal ndependently. The man approaches for structurng fault-tolerant servers are actve (state-machne) and passve (prmary-backup) replcaton. In actve replcaton, a collecton of dentcal servers mantan copes of the system state. Clent wrte operatons are appled atomcally to all of the replcas so that after detectng a server falure, the remanng servers can contnue the servce. The man attracton of the statemachne approach s the transparency n falure recovery. The clent does not see, nor does t need to know, that there are faulty servers. However, the desgn and mplementaton of the underlyng agreement protocol s often trcky and complcated. Passve replcaton, on the other hand, s smpler n desgn and nvolves less redundant processng. It dstngushes one replca as the prmary server, whch handles all clent requests. A wrte operaton at the prmary server nvokes the transmsson of an update message to the backup servers whch updates the backups. If the prmary fals, a falover occurs and one of the backups becomes the new prmary. The major drawback of the passve approach s that the clents need to partcpate n the recovery process and the recovery takes longer than that of the actve scheme. Whle each of the two approaches has ts advantages and dsadvantages, nether drectly solves the problem of accessng data n a real-tme envronment. Many embedded real-tme applcatons, such as computer-aded manufacturng and process control, requre tmely executon of tasks, and ther own processng needs should not be compromsed by fault tolerant access to data repostores. Therefore t s mportant for replcaton servers to provde tmely access to the servce. In such a real-tme envronment, the scheme employed n most of the conventonal replcaton systems may prove nsucent for the needs of applcatons. Partcularly, when tme s scarce and the overhead for managng redundancy s too hgh, an alternatve soluton s requred to provde both tmng predctablty and fault tolerance. Ths paper bulds on our Real-Tme Prmary- Backup (RTPB) Replcaton [20] model that acheves a balance between fault tolerance and tmng dependablty. However, the proposed schedulng algorthm n [20] s not optmal n the sense that t mnmzes nether the temporal nconsstency between the prmary and backup nor the system overhead n mantanng a gven bound on the nconsstency. The objectve of ths paper s to extend the desgn of the RTPB servce to support optmzaton wthn the system n the above two aspects. The most mportant contrbutons of ths paper are the formulaton of the optmzaton

2 problems and the solutons to them. As a by-product, we prove that the problem of mnmzng system overhead n mantanng a gven bound on the temporal nconsstency between the prmary and backup s ntractable but the soluton n the case when a temporal bound s mposed for each ndvdual object s polynomal. Expermental data that valdates the results are presented. The next secton descrbes the underlyng RTPB model and denes the concept of average temporal dstance. Secton 3 and 4 dscuss the optmzaton problem from the two perspectves we have mentoned. Secton 5 extends the results by consderng faults. Secton 6 s the mplementaton followed by performance analyss n Secton 7. Secton 8 dscusses the related work, and nally, Secton 9 s our concluson. 2 The RTPB model The RTPB scheme developed n [20] s an extenson of the tradtonal prmary-backup approach to support real-tme computaton and temporal consstency guarantees. The man features that set RTPB apart from ts tradtonal counterpart are the decouplng of clent request processes from backup updates and bounded temporal nconsstency between the prmary and backup. Ths earler work ntroduced the concepts of phase varance, external and nter-object temporal consstency, and the consstency model and schedulng algorthm that guarantees such consstences. External temporal consstency deals wth the relatonshp between an object n the external world and ts mage on the servers. For example, a trackng system must update the postonal data of an arplane quckly after t changes poston n the ar. The nterobject temporal consstency concerns the relatonshp between derent objects or events. For example, n an ar trac control system, there s a tme bound between the updates of the postons of two arplanes that are watng to land at the same arport. The RTPB system conssts of a prmary and a backup wth the prmary beng responsble for processng clent requests and keepng the backup n a temporal consstent state. We assume that the consstency at the prmary s mantaned by the tmely updates of objects by the clents of the system. The external temporal consstency stpulates that the tmestamp of any object at tme t s no more than P tme unts apart from t on prmary and B on backup; the nter-object temporal consstency requres that the derence between the tmestampes of any two related objects and j s no more than j. Fgure 1 llustrates the model. External World t 6 jt, T P jt, T B (t)j P (t)j B jt P j (t), T P (t)j P j jt B j (t), T B (t)j B j? Prmary Backup T - P (t);tp(t) j T B (t);tb j (t) Fgure 1: real-tme prmary-backup replcaton The derence between the tmestamps of object 's copes at the prmary and backup s a good measurement of the closeness of the two servers wth respect to object, and s convenently called temporal dstance of the object n the system. If we know the temporal dstance for every object n the system, we can dene the overall closeness between the prmary and backup to be the arthmetc average of the closeness wth respect to each object. We call ths arthmetc average average temporal dstance (ATD) or temporal nconsstency between the prmary and backup. Let O P and O B denote object at the prmary and backup, respectvely, and T P (t) and T B (t) denote the correspondng tmestamps of O P and O B at tme t: Denton 1: The temporal dstance between the prmary and backup wth regard to object at tme t s jt P (t), T B (t)j. The average temporal dstance between the prmary and backup at tme t P s n =1 jt P (t), T B (t)j=n, where n s the total number of objects regstered n the replcaton servce. The dentons of temporal dstance and average temporal dstance also suggest a way to compute ther values. In partcular, to compute the temporal dstance for any sngle object at any tme t, we need to calculate the absolute derences between the tme nstants at whch object was last updated on the prmary and backup, respectvely. To compute ATD n artpb system at any gven tme t, we need to compute the temporal dstance for each object and then take ther arthmetc average. In the followng sectons, we dscuss ways to mnmze the ATD and the system overhead n mantanng a gven bound on the ATD.

3 3 Mnmzng the ATD Observe that the more frequently updates are sent to backup, the smaller the ATD wll be. Thus, f the perod of the updates sent tobackup for each object s mnmzed, the ATD between the prmary and backup s also mnmzed. Furthermore, the mnmzaton of the update perod at the backup for each object results n the mnmzaton of the sum of the update perods for all objects, and vce versa. Hence, we can use the sum of the update perods for all objects as our objectve functon. Let: p P denote the perod of the task that updates O P. e P denote the executon tme of the task updatng O P. p U denote the perod of the task that updates O B. e U denote the executon tme of the task updatng O B. P ;B denote temporal constrant for O P ;OB. Then our optmzaton problem can be stated as: mnmze P P objectve functon: p U under constrant: =1 (eu =pu n + e P =pp ) 2n(21=2n, 1) and ;=1; 2;:::;n p P p U B The constrant P n =1 (eu =pu +ep =pp ) 2n(21=2n, 1) s needed to guarantee task schedulablty under both the Rate-Monotonc [14] and Dstance- Constraned [4] schedulng algorthms. 1 The nequalty p U B ensures that the temporal constrant mposed on object at the backup s mantaned whle nequalty p P p U guarantees that no unnecessary update s sent to the backup snce more frequent updates at backup would not make any derence when there s no message loss between servers. However, such formulaton of the optmzaton problem s not very useful n practce because t s not n a normalzed form and the solutons to t are skewed towards the boundares. In other words, for most objects, the perods are ether very hgh or very low. For example, f we have four objects n the system wth e P = e U = f1; 2; 3; 4g;p P = f10; 20; 30; 40g; B = f50; 50; 60; P 70g, respectvely, then the mnmzaton of p U s acheved f p U = f45; 20; 30; 40g. All values except one n the p U vector are on the lower lmts (skewed soluton) n the constrantng nequaltes. In fact, we can show that n any optmal soluton (f one exsts) for the above optmzaton problem, there s only exactly one object that has ts perod strctly bounded between the boundares gven n the constranng nequaltes. Indeed, we can generalze ths observaton to the followng theorem: 1 An exposton of schedulng algorthms s beyond the scope of ths paper, refer to the references for detal. P n =1 c x subject to P n Theorem 1: The optmal soluton n maxmzng =1 a x b, l x u for =1;:::;n has at most one of the varables bounded strctly between ts lower and upper boundares Snce our optmzaton problem can be converted to the form stated n Theorem 1, any soluton to t s skewed toward boundares and thus not acceptable n practce. Ths analyss necesstates a need to nd a normalzed objectve functon whose solutons are not skewed toward any extreme. One sutable alternatve sthemaxmzaton of the mnmum p P =pu, =1; 2;:::;n. Ths objectve functon s smple and ts soluton can be easly found by a polynomal tme algorthm. Furthermore, all the perods are made as small as possble together wthout skew. Now the optmzaton problem can be formulated as: maxmze P objectve functon mn(p P =pu) under constrant n =1 (eu =pu + e P =pp ) 2n(21=2n, 1) and p P p U B ; = 1; 2;:::;n The proof that the above functon ndeed mnmzes the ATD s beyond the scope of ths paper. However, t correctness can be explaned ntutvely as follows: snce the maxmzaton of the mnmum of (p P =pu) mnmzes the update transmsson perod p U proportonally to ts correspondng update perod at the prmary, the overall update frequency at the backup s therefore maxmzed proportonally, whch results n the mnmzaton of the ATD. The above formulaton states that to mnmze the ATD, one needs to mnmze the maxmum perod of the update tasks for the object set subject to both schedulablty and temporal constrant tests. A polynomal tme algorthm that acheves ths objectve s dscussed below. We dstngush between Statc and dynamc allocaton. Statc allocaton deals wth the case where the set of objects to be regstered are known ahead of tme. The goal s to assgn the update schedulng perod for each object such that the vaule of the object functon s maxmzed. Dynamc allocaton deals wth the case where a new object s watng to be regstered n a runnng system n whch a set of objects have already been regstered. Statc allocaton: Snce all objects are know a pror, the algorthm for schedulng updates from prmary to 2 Due to space lmtaton, we omt the proof here. Refer to the extended verson [19] for all the proofs of the theorems

4 backup s relatvely straghtforward: 1. Assgn p U = B ntally 2. Check schedulablty test usng rate-monotonc [14] or dstance-constraned [4] schedulng. If the test fals, then t s mpossble to schedule the task set wthout volatng the gven temporal constrant. 3. Otherwse, sort the terms p P =pu ; =1;:::;n nto ascendng order. 4. Shorten the update perod (p U ) of the rst term n the ordered lst untl ether t becomes the second smallest term, or the update perod reaches the lower bound (p P ), or the utlzaton rate of the whole task set s saturated. 5. Repeat steps 3-4 untl the utlzaton becomes saturated. Note that steps 3-4 can be mplemented ecently by usng bnary nserton whch s bounded by log n, and the runnng tme of the algorthm s domnated by the number of teratons of steps 3-4 whch s bounded by (max(p P =pu ), mn(pp =pu ))2, the total runnng tme of our algorthm s O((max(p P =pu ), mn(p P =pu ))2 log n). Dynamc allocaton: A new object s beng regstered wth a system n whch other objects have already been checked n. We want to nd out f the new object can be admtted and at what frequency we can optmally schedule ts update task. We can pursue ether a local optmum or global optmum wth the dfference beng that local optmum algorthm does not adjust the perods of tasks that are already admtted and global optmum algorthm consders all tasks n devsng an optmal schedulng. Local optmal 1. Assgn the smallest value that s p P but B to the new task such that the total utlzaton of the task set s stll under 2n(2 1=2n, 1) (Ths ensures that the whole task set s schedulable under ratemonotonc [14] or dstance-constraned schedulng [4]). 2. If Step 1 fals, then reject the object. Global optmal 1. Insert term p P =pu nto the ordered lst that we obtaned n statc or prevous allocatons. 2. Rerun the statc allocaton algorthm. 3. If Step 2 fals, then reject the new object. The runnng tme for local optmum algorthm s lnear (wth respect to the number of objects); The tme complexty for the global optmum algorthm s the same as that of the statc allocaton algorthm whch s polynomal. 4 Mnmzng system overhead Ths secton dscusses the problem of mnmzng system overhead n mantanng a gven bound on the ATD. Snce system overhead s manly caused by the schedulng of updates from the prmary to backup, the mnmzaton of ths overhead means the mnmzaton of the number of updates sent to the backup, whch s equvalent to the maxmzaton of the perods of the update tasks under the gven ATD. We assume that the transmsson of an update message of any object takes the same amount of prmary resource. Snce the temporal dstance s determned by the frequency of the updates that are sent to the backup, the bound on the ATD can be converted to a bound on the perods of the updatng tasks. Moreover, f we normalze the perod of each update task wth the denomnator P, p P, the gven constrant P onatd can be transformed to the nequalty p U =(P,pP ) B, where B s the bound derved from the gven constrant on the ATD. Observe that we do not need to know the actual value of B. The mportant thng here s that B can be derved from the bound on ATD. Thus, our optmzaton problem P can be formulated as maxmzaton of functon p P U under constrant p U =(P, p P ) B, where B s some postve constant. Unfortunately, ths problem turns out to be ntractable. Theorem 2: The problem of the mnmzng the number of updates from prmary to backup n mantanng a gven bound on the ATD s NP-complete. 2 However, the problem becomes polynomal f we mpose a temporal constrant onevery ndvdual object (nstead of global temporal constrant on the ATD for the whole object set). Ths polynomal soluton can be used as an approxmaton to the soluton of the NPcomplete verson of the problem. Suppose we have the addtonal constrant p U B ;=1; 2;:::;n, then the followng algorthm acheves the mnmzaton of overhead n mantanng the temporal constrants for the correspondng objects n the system: 1. For each object, assgn perod: p U = B. 2. Perform schedulablty test. If the test fals, then we cannot guarantee the temporal consstency of the object set. Reject the object set. 3. Otherwse, accept the object. The ratonale behnd the algorthm s that to mnmze the overhead n achevng the gven temporal

5 constrant, we smply schedule the least number of updates to the backup as possble for each object subject to the ndvdual temporal constrant whch s acheved by assgnng the update perod from the prmary to backup to the ndvdual temporal constrant. The runnng tme complexty of the above algorthm s lnear. 5 Optmzaton under faults The dscusson n the prevous two sectons does not take nto consderaton message loss. Update messages from the prmary to backup can be lost due to a send omsson, receve omsson, or lnk falure. In ths secton, we devse a new schedulng protocol that takes message loss nto consderaton. We dene the probablty of a message loss from the prmary to the backup to be, and the probablty of the temporal consstency guarantee we want to acheve tobep. Then for an update to reach backup wth probablty P, the number of transmssons needed s log(1, P )= log(). Hence, the problem of mnmzng the ATD between prmary and backup can be formulated as: maxmze objectve functon mn((p P log())=(pu log(1,p ))) under constrant P n =1 (eu =pu + e P =pp ) 2n(21=2n, 1) and (p P log())= log(1, P ) pu B The goal s to send updates to the backup more frequently n case of a message loss. The frequency of update transmsson can be ncreased up to the frequency at whch any update wll reach the backup wth the probablty P. The maxmzaton of the mnmum term n the objectve functon results n the overall mnmzaton of perods of the update tasks, whch consequently results n the mnmzaton of the ATD wth probablty P. The constrants n the formulaton ensure schedulablty whle mantanng temporal consstency of each ndvdual object and avodng unnecessary updates to the backup. Wth proper substtuton of terms, the same algorthm ntroduced n secton 3 can be appled here. Due to space lmtaton, we omt t. Smlarly, the mnmzaton of system overhead n mantanng a gven temporal bound on the ATD when message loss occurs becomes the maxmzaton P P n of =1 P U under the constrant of p U log(1, P )=[log (P, p P )] B. Agan, the problem s NP-complete but an alternate formulaton of the problem, where a temporal bound on each ndvdual object s mposed, can be solved n polynomal tme. The same algorthm descrbed n Secton 4 can be used here f we substtute the upper bound B n the constranng nequalty by B log()= log(1, P ). 6 Implementaton We have ntegrated the optmzaton technques developed n ths paper nto the RTPB prototype that was bult n our prevous work [20]. The new prototype s mplemented as a user-level x-kernel [7] based server on the MK 7.2 mcrokernel from the Open Group. 3 Our system ncludes a prmary server and a backup server. A clent applcaton resdes on the same machne as the prmary. The clent contnuously senses the envronment and perodcally sends updates to the prmary. The prmary s responsble for backng up the data on the backup ste and lmtng the nconsstency of the data between the two stes wthn some speced wndow. The followng assumptons are made n the mplementaton: Lnk falures are handled usng physcal redundancy such that network parttons are avoded. An upper bound exsts on the communcaton delay between the prmary and backup. Mssed message deadlnes are treated as performance falures. Servers are assumed to suer crash falures only. Fgure 2 shows the RTPB system archtecture wthn the x-kernel protocol stack. At the top level s the RTPB API whch s used to connect the outsde clents to the Mach server on one end, and Mach server to the x-kernel on the other end. The RTPB protocol sts rght below the API layer and serves as an anchor protocol n the x-kernel protocol stack. From above, t provdes an nterface between the x-kernel and the outsde host operatng system (the MK kernel n ths case). From below, t connects wth the rest of the protocol stack through the x-kernel unform protocol nterface. The underlyng transport protocol s UDP. The prmary host nteracts wth the backup host through the underlyng RTPB protocol. There are two dentcal versons of the clent applcaton resdng on the prmary and backup hosts. Normally, only the prmary clent applcaton s runnng. But when the backup takes over n case of prmary falure, t also actvates the backup clent applcaton and brngs t up to a consstent system state. 6.1 Admsson control Before a clent starts to send perodc updates of a data object to the prmary, t rst regsters the object wth the RTPB servce so that the prmary can 3 formerly known as the Open Software Foundaton (OSF).

6 Prmary RTPB API RTPB UDP IP ETH ETHDRV RTPB server OSF MACH KERNEL x-kernel paths Ethernet Backup RTPB API RTPB UDP IP ETH ETHDRV RTPB server OSF MACH KERNEL Fgure 2: system archtecture and protocol stack perform admsson control. Durng regstraton, the clent reserves the necessary resource for the object on the prmary and backup servers. In addton, the clent speces the update perod p and the temporal constrants for the object on both the prmary P and backup B. Because the copy of object on the prmary changes only when the clent sends a new update, the nconsstency between the real data and ts mage on the prmary s dependent on the frequency of clent updates. The prmary server performs the temporal constrant test by comparng the value of P and p. If p P, then the nconsstency between the real data and the prmary copy wll always fall nto the speced consstency wndow. If the condton does not hold, the prmary wll not admt the object. Each nter-object temporal constrant j for object, j can be met at the prmary f p j and p j j. The temporal constrant for object on the backup s also checked to ensure that t can be met [20]. After testng that the temporal constrants hold for object, the prmary needs to check f t can schedule a perodc update event (to the backup) for object that wll meet the consstency constrant of the object on the backup wthout volatng the consstency constrants of all exstng objects by performng a schedulablty test based on the rate-monotonc or dstanceconstraned schedulng algorthm. If the test s successful, the object s admtted nto the system. 6.2 Update schedulng In our model, clent updates are decoupled from the updates to the backup. The prmary needs to send updates to the backup perodcally for all objects admtted n the servce. If ATD mnmzaton s desred, then the algorthm descrbed n secton 3 s used. If the mnmzaton of system overhead s sought, then the algorthm dscussed n secton 4 s used. But n ether of these cases, f a clent modes an object, the prmary must send an update for the object to backup wthn the next,` tme unts, where = B,P s the wndow of allowed nconsstency between the prmary and the backup; otherwse the object on backup may fall out of the consstency wndow. For nterobject temporal constrant, the prmary need not send updates to the backup wthn the next,` tme unts after the prmary s updated. But rather, t schedules the two updates for object and j wthn j tme unts. If both the probablty of message loss from the prmary to backup and the probablty toacheve guarantees of temporal consstency n the system are gven, then we apply the optmzaton technque that deals wth faults descrbed n secton Falure detecton and recovery Falure detecton and recovery s a key component of the replcaton servce. Our approach requres that all replcaton servers exchange perodc png messages whch serve as the heartbeats among those servers. Each server acknowledges the png message from the other one. If a server receves no acknowledgment for repeated png messages, t wll declare the other end dead. If the backup s dead, the prmary cancels the png messages as well as update events for each regstered object. If the prmary crashes, the backup takes over as the new prmary. The new prmary nvokes a backup verson of the clent applcaton at the local machne, feeds the new clent wth nformaton stored n ts memory va an upcall, starts lstenng to all clent requests, and then wats to recrut a new backup. The new clent replaces the clent at the crashed machne to perform the applcaton task. Our mplementaton supports the ntegraton of a new backup after a falure s detected. 7 Performance Evaluaton Ths secton evaluates the proposed optmzaton technques aganst the RTPB servce developed n [20]. we consder two metrcs: average temporal dstance and average duraton of backup nconsstency, whch are nuenced by several parameters ncludng clent

7 wrte rate, number of objects beng accepted, wndow sze, and message loss probablty. 7.1 The ATD metrcs To demonstrate the optmzaton technque proposed n ths paper, we measured the ATD under two condtons wth and wthout optmzaton. Fgure 3(a) and (b) compare the results of optmzaton to that of wthout optmzaton assumng no message loss. As Average Maxmum Dstance (mllseconds) W = 100 mllseconds W = 300 mllseconds W = 700 mllseconds W = 1000 mllseconds Number of Objects Accepted at Prmary (a) wthout optmzaton Average Maxmum Dstance (mllseconds) W = 100 mllseconds W = 300 mllseconds W = 700 mllseconds W = 1000 mllseconds Number of Objects Accepted at Prmary (b) wth optmzaton Fgure 3: Average prmary-backup temporal dstance shown by the two graphs, the ATD wth optmzaton n eect s about 40% smaller than that wthout optmzaton under the same set of parameters. The optmzed RTPB attempts to send as many updates as possble to the backup. It must be noted that n both graphs, larger wndow sze results n smaller ATD, whch conforms to the result presented n [20]. Fgure 4 does the same comparson but wth consderaton of message losses. The two graphs show an Average Maxmum Dstance (mllseconds) W = 100 mllseconds W = 300 mllseconds W = 700 mllseconds W = 1000 mllseconds Probablty of Message Loss (a) wthout optmzaton Average Maxmum Dstance (mllseconds) W = 100 mllseconds W = 300 mllseconds W = 700 mllseconds W = 1000 mllseconds Probablty of Message Loss (b) wth optmzaton Fgure 4: ATD under fault assumpton approxmate 35% mprovement on the ATD due to the applcaton of the optmzaton technques descrbed n ths paper. Furthermore, we note that the shape of the graph under optmzaton s much smoother than that when no optmzaton s used, because the effect of message loss s compensated by more frequent schedulng of update messages. 7.2 Duraton of backup nconsstency Snce the optmzed RTPB mnmzes the ATD between the prmary and backup, t s expected that the duraton of backup nconsstency should also be reduced under the new moded RTPB model. Fgure 5(a) and (b) show the duraton of backup nconsstency as a functon of the probablty of message loss between the prmary and backup. The gures show Average Duraton of Inconsstency (mllseconds) W = 100 mllseconds W = 300 mllseconds W = 700 mllseconds W = 1000 mllseconds Probablty of Message Loss (a) wthout optmzaton Average Duraton of Inconsstency (mllseconds) W = 100 mllseconds W = 300 mllseconds W = 700 mllseconds W = 1000 mllseconds Probablty of Message Loss (b) wth optmzaton Fgure 5: duraton of backup nconsstency that the optmzed RTPB has a hgher degree of tolerance to message loss than that of normal schedulng. Wth optmzaton, there s no backup nconsstency untl the message loss rate exceeds 6%, and after that the duraton of nconsstency ncreases slowly. But the one wthout optmzaton suers backup nconsstency when the message loss rate exceeds approxmately 1%, and the duraton of nconsstency ncreases rapdly as message loss rate ncreases. In both cases, for the same message loss rate, the larger the wndow sze, the shorter s the perod n whch the backup stays n an nconsstent state. Larger wndow sze would mean shorter duraton of backup nconsstency because the update frequency at the backup s much hgher than that at the prmary. Before we leave ths secton, t should be mentoned that wehave studed the clent response tme wth and wthout optmzaton and found out that ther performance are not much derent. The orgnal RTPB model already schedules a mnmum number ofup- dates to the backup (hence leaves maxmum avalable resources at the prmary for clent request processng). See Fgure 6 and 7 n [20] for graphs of ths metrcs.

8 8 Related work 8.2 Consstency semantcs 8.1 Replcaton models Past work on synchronous and asynchronous replcaton protocols has focused, n most cases, on applcatons for whch tmng predctablty s not a key requrement. Real-tme applcatons, however, operate under strct tmng and dependablty constrants that requre the system to ensure tmely delvery of servces and to meet certan consstency constrants. Hence, the problem of server replcaton posses addtonal challenges n a real-tme envronment. In recent years, several expermental projects have begun to address the problem of replcaton n dstrbuted hard real-tme systems. For example, TTP [6] s a tme-trggered dstrbuted real-tme system: ts archtecture s based on the assumpton that the worst-case load s determned apror at desgn tme, and the system response to external events s cyclc at predetermned tme-ntervals. The TTP provdes faulttolerance by mplementng actve redundancy through a collecton of replcated components wth each reles on a number of hardware and software mechansms for error detecton to ensure a fal-slent behavor. RTCAST [18] s a lghtweght fault-tolerant multcast and membershp servce for real-tme process groups whch exchange perodc and aperodc messages. The servce supports bounded-tme message transport, atomcty, and order for multcasts wthn a group of communcatng processes n the presence of processor crashes and communcaton falures. It guarantees agreement on membershp among the communcatng processors, and ensures that membershp changes resultng from processor jons or departures are atomc and ordered wth respect to multcast messages. Both TTP and RTCAST are based on actve replcaton whereas RTPB s a passve scheme. Rajkumar [2, 3] presents a publsher/subscrber model for dstrbuted real-tme systems. It provdes a smple user nterface for publshng messages on a logcal \channel", and for subscrbng to selected channels as needed by each applcaton. In the absence of faults each message sent by a publsher on a channel should be receved by all subscrbers. The abstracton hdes a portable, analyzable, scalable and ecent mechansm for group communcaton. It does not, however, attempt to guarantee atomcty and order n the presence of falures, whch may compromse consstency. The approach proposed n ths paper bounds the overhead by relaxng the requrements on the consstency of the replcated data. For a large class of realtme applcatons, the system can recover from a server falure even though the servers may not have mantaned dentcal copes of the replcated state. Ths facltates alternatve approaches that trade atomc or causal consstency amongst the replcas for less expensve replcaton protocols. Enforcng a weaker correctness crteron has been studed extensvely for derent purposes and applcaton domans. In partcular, anumber of researchers have observed that seralzablty s too strct as a correctness crteron for realtme databases. Relaxed correctness crtera facltate hgher concurrency by permttng a lmted amount of nconsstency n how a transacton vews the database state [5,8, 9, 11{13,16, 17]. For example, a recent work [10] [11] proposed a class of real-tme data access protocols called SSP (Smlarty Stack Protocol) applcable to dstrbuted real-tme systems. The correctness of the SSP protocol s just- ed by the concept of smlarty whch allows derent but sucently tmely data to be used n a computaton wthout adversely aectng the outcome. Data tems that are smlar would produce the same result f used as nput. SSP schedules are deadlock-free, subject to lmted blockng and do not use locks. Furthermore, a schedulablty bound can be gven for the SSP scheduler. Smulaton results show that SSP s especally useful for schedulng real-tme data access on multprocessor systems. Smlarly, the noton of mprecse computaton [15] explores weaker applcaton semantcs and guarantees tmely completon of tasks by relaxng the accuracy requrements of the computaton. Ths s partcularly useful n applcatons that use dscrete samples of contnuous tme varables, snce these values can be approxmated when there s not sucent tme to compute an exact value. Weak consstency can also mprove performance n non-real-tme applcatons. For nstance, the quas-copy model permts some nconsstency between the central data and ts cached copes at remote stes [1]. Ths gves the scheduler more exblty n propagatng updates to the cached copes. In the same sprt, the RTPB replcaton servce allows computaton that may otherwse be dsallowed by exstng actve or passve protocols that support atomc updates to a collecton of replcas.

9 9 Concluson Ths paper presents the optmzaton of a real-tme prmary-backup replcaton servce from two perspectves. By applyng the approprate optmzaton technque, we can mnmze ether the average temporal dstance or the system overhead n mantanng temporal consstency between the prmary and backup. Expermental results ndcate that the technques developed n ths work can ndeed mprove system performance over the orgnal RTPB model. Avenues for future studes nclude extenson of the concepts of ths paper to actve replcaton and a probablstc analyss of the system. References [1] R. Alonso, D. Barbara, and H. Garca-Molna. Data cachng ssues n an nformaton retreval system. ACM Transacton on Database Systems, 15(3):359{384, September [2] R. Rajkumar et al. The real-tme publshersubscrber nter-process communcaton model for dstrbuted real-tme systems: Desgn and mplementaton. In Proc. Real-Tme Technology and Applcatons Symposum, pages 66{75, May [3] M. Gaglard, R.Rajkumar, and L. Sha. Desgnng for evolvablty: Buldng blocks for evolvable real-tme systems. In Proc. Real-Tme Technology and Applcatons Symposum, June [4] C-C Han and K-J Ln. Schedulng dstanceconstraned real-tme tasks. In Proc. RTSS'92. [5] H.F.Korth, N.Soparkar, and A. Slberschatz. Trggered real-tme databases wth consstency constrants. In Proc. Int'l Conf. on Very Large Data Bases, August [6] H.Kopetz and G. Grunstedl. Ttp - a protocol for fault-tolerant real-tme systems. In IEEE Computer, volume 27, pages 14{23, January [7] N. C. Hutchnson and L. L. Peterson. The x- kernel: An archtecture for mplementng network protocols. IEEE Transactons on Software Engneerng, 17(1):64{76, Janruary [8] B. Kao and H. Garca-Molna. An overvew of real-tme database systems. In S.H. Son, edtor, Advances n Real-Tme systems, pages 463{486. Prentce Hall, [9] T-W Kuo and A.K.Mok. Ssp: A semantcsbased protocol for real-tme data access. In Proc. RTSS'93. [10] T-W Kuo and A.K.Mok. Ssp: A semantcs-based protocol for real-tme data access. In Proceedngs of IEEE 14th Real-Tme Systems Symposum, December [11] Te-We Kuo, D. Locke, and F. Wang. Error propagaton analyss of real-tme data ntensve applcaton. In IEEE Real-Tme Technology and Applcatons Symposum, June [12] K-J Ln. Consstency ssues n real-tme database systems. In Proc. ICSS'89, pages 654{661. [13] K-J Ln and F. Jahanan. Issues and applcatons. In Sang Son, edtor, Real-tme Database Systems. Kluwer Academc Publshers, [14] C. L. Lu and J. W. Layland. Schedulng algorthms for multprogrammng n a hard real-tme envronment. Journal of the ACM, 20(1):46{61, January [15] J.W.S. Lu, W.-K. Shh, and K.-J. Ln. Imprecse computaton. In Proceedngs of IEEE, volume 82, pages 83{94, January [16] C. Pu and A. Le. Replca control n dstrbuted systems: An asynchronous approach. In Proc. of ACM SIGMOD, pages 377{386, May [17] S.B.Davdson and A. Watters. Partal computaton n real-tme database systems. In Proc. Workshop on Real-Tme Operatng Systems and Software, pages 117{121, May [18] T.Abdelzaher, A.Shakh, S.Johnson, F.Jahanan, and K.G.Shn. Rtcast: Lghtweght multcast for real-tme process groups. In IEEE Real-Tme Technology and Applcatons Symposum, [19] H. Zou and F. Jahanan. Optmzaton of a realtme prmary-backup replcaton servce. Techncal Report CSE-TR , Unversty of Mchgan, July [20] H. Zou and F. Jahanan. Real-tme prmarybackup replcatons wth temporal consstency guarantees. In Proc. ICDCS, pages 48{56, May 1998.

AADL : about scheduling analysis

AADL : about scheduling analysis AADL : about schedulng analyss Schedulng analyss, what s t? Embedded real-tme crtcal systems have temporal constrants to meet (e.g. deadlne). Many systems are bult wth operatng systems provdng multtaskng

More information

Parallelism for Nested Loops with Non-uniform and Flow Dependences

Parallelism for Nested Loops with Non-uniform and Flow Dependences Parallelsm for Nested Loops wth Non-unform and Flow Dependences Sam-Jn Jeong Dept. of Informaton & Communcaton Engneerng, Cheonan Unversty, 5, Anseo-dong, Cheonan, Chungnam, 330-80, Korea. seong@cheonan.ac.kr

More information

Design and Evaluation of a Window-Consistent Replication Service

Design and Evaluation of a Window-Consistent Replication Service 986 IEEE TRANSACTIONS ON COMPUTERS, VOL. 46, NO. 9, SEPTEMBER 1997 Desgn and Evaluaton of a Wndow-Consstent Replcaton Servce Ashsh Mehra, Student Member, IEEE, Jennfer Rexford, Member, IEEE, and Farnam

More information

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory

Virtual Memory. Background. No. 10. Virtual Memory: concept. Logical Memory Space (review) Demand Paging(1) Virtual Memory Background EECS. Operatng System Fundamentals No. Vrtual Memory Prof. Hu Jang Department of Electrcal Engneerng and Computer Scence, York Unversty Memory-management methods normally requres the entre process

More information

Concurrent Apriori Data Mining Algorithms

Concurrent Apriori Data Mining Algorithms Concurrent Apror Data Mnng Algorthms Vassl Halatchev Department of Electrcal Engneerng and Computer Scence York Unversty, Toronto October 8, 2015 Outlne Why t s mportant Introducton to Assocaton Rule Mnng

More information

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields

A mathematical programming approach to the analysis, design and scheduling of offshore oilfields 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 A mathematcal programmng approach to the analyss, desgn and

More information

Support Vector Machines

Support Vector Machines /9/207 MIST.6060 Busness Intellgence and Data Mnng What are Support Vector Machnes? Support Vector Machnes Support Vector Machnes (SVMs) are supervsed learnng technques that analyze data and recognze patterns.

More information

Efficient Distributed File System (EDFS)

Efficient Distributed File System (EDFS) Effcent Dstrbuted Fle System (EDFS) (Sem-Centralzed) Debessay(Debsh) Fesehaye, Rahul Malk & Klara Naherstedt Unversty of Illnos-Urbana Champagn Contents Problem Statement, Related Work, EDFS Desgn Rate

More information

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz

Compiler Design. Spring Register Allocation. Sample Exercises and Solutions. Prof. Pedro C. Diniz Compler Desgn Sprng 2014 Regster Allocaton Sample Exercses and Solutons Prof. Pedro C. Dnz USC / Informaton Scences Insttute 4676 Admralty Way, Sute 1001 Marna del Rey, Calforna 90292 pedro@s.edu Regster

More information

an assocated logc allows the proof of safety and lveness propertes. The Unty model nvolves on the one hand a programmng language and, on the other han

an assocated logc allows the proof of safety and lveness propertes. The Unty model nvolves on the one hand a programmng language and, on the other han UNITY as a Tool for Desgn and Valdaton of a Data Replcaton System Phlppe Quennec Gerard Padou CENA IRIT-ENSEEIHT y Nnth Internatonal Conference on Systems Engneerng Unversty of Nevada, Las Vegas { 14-16

More information

Maintaining temporal validity of real-time data on non-continuously executing resources

Maintaining temporal validity of real-time data on non-continuously executing resources Mantanng temporal valdty of real-tme data on non-contnuously executng resources Tan Ba, Hong Lu and Juan Yang Hunan Insttute of Scence and Technology, College of Computer Scence, 44, Yueyang, Chna Wuhan

More information

Simulation Based Analysis of FAST TCP using OMNET++

Simulation Based Analysis of FAST TCP using OMNET++ Smulaton Based Analyss of FAST TCP usng OMNET++ Umar ul Hassan 04030038@lums.edu.pk Md Term Report CS678 Topcs n Internet Research Sprng, 2006 Introducton Internet traffc s doublng roughly every 3 months

More information

Channel 0. Channel 1 Channel 2. Channel 3 Channel 4. Channel 5 Channel 6 Channel 7

Channel 0. Channel 1 Channel 2. Channel 3 Channel 4. Channel 5 Channel 6 Channel 7 Optmzed Regonal Cachng for On-Demand Data Delvery Derek L. Eager Mchael C. Ferrs Mary K. Vernon Unversty of Saskatchewan Unversty of Wsconsn Madson Saskatoon, SK Canada S7N 5A9 Madson, WI 5376 eager@cs.usask.ca

More information

CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION

CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION 24 CHAPTER 2 PROPOSED IMPROVED PARTICLE SWARM OPTIMIZATION The present chapter proposes an IPSO approach for multprocessor task schedulng problem wth two classfcatons, namely, statc ndependent tasks and

More information

The Codesign Challenge

The Codesign Challenge ECE 4530 Codesgn Challenge Fall 2007 Hardware/Software Codesgn The Codesgn Challenge Objectves In the codesgn challenge, your task s to accelerate a gven software reference mplementaton as fast as possble.

More information

A Binarization Algorithm specialized on Document Images and Photos

A Binarization Algorithm specialized on Document Images and Photos A Bnarzaton Algorthm specalzed on Document mages and Photos Ergna Kavalleratou Dept. of nformaton and Communcaton Systems Engneerng Unversty of the Aegean kavalleratou@aegean.gr Abstract n ths paper, a

More information

GSLM Operations Research II Fall 13/14

GSLM Operations Research II Fall 13/14 GSLM 58 Operatons Research II Fall /4 6. Separable Programmng Consder a general NLP mn f(x) s.t. g j (x) b j j =. m. Defnton 6.. The NLP s a separable program f ts objectve functon and all constrants are

More information

RAP. Speed/RAP/CODA. Real-time Systems. Modeling the sensor networks. Real-time Systems. Modeling the sensor networks. Real-time systems:

RAP. Speed/RAP/CODA. Real-time Systems. Modeling the sensor networks. Real-time Systems. Modeling the sensor networks. Real-time systems: Speed/RAP/CODA Presented by Octav Chpara Real-tme Systems Many wreless sensor network applcatons requre real-tme support Survellance and trackng Border patrol Fre fghtng Real-tme systems: Hard real-tme:

More information

Wishing you all a Total Quality New Year!

Wishing you all a Total Quality New Year! Total Qualty Management and Sx Sgma Post Graduate Program 214-15 Sesson 4 Vnay Kumar Kalakband Assstant Professor Operatons & Systems Area 1 Wshng you all a Total Qualty New Year! Hope you acheve Sx sgma

More information

Smoothing Spline ANOVA for variable screening

Smoothing Spline ANOVA for variable screening Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory

More information

Load-Balanced Anycast Routing

Load-Balanced Anycast Routing Load-Balanced Anycast Routng Chng-Yu Ln, Jung-Hua Lo, and Sy-Yen Kuo Department of Electrcal Engneerng atonal Tawan Unversty, Tape, Tawan sykuo@cc.ee.ntu.edu.tw Abstract For fault-tolerance and load-balance

More information

Parallel matrix-vector multiplication

Parallel matrix-vector multiplication Appendx A Parallel matrx-vector multplcaton The reduced transton matrx of the three-dmensonal cage model for gel electrophoress, descrbed n secton 3.2, becomes excessvely large for polymer lengths more

More information

with `ook-ahead for Broadcast WDM Networks TR May 14, 1996 Abstract

with `ook-ahead for Broadcast WDM Networks TR May 14, 1996 Abstract HPeR-`: A Hgh Performance Reservaton Protocol wth `ook-ahead for Broadcast WDM Networks Vjay Svaraman George N. Rouskas TR-96-06 May 14, 1996 Abstract We consder the problem of coordnatng access to the

More information

A Novel Fault Tolerant Scheduling Technique In Real-Time Heterogeneous Distributed Systems Using Distributed Recovery Block

A Novel Fault Tolerant Scheduling Technique In Real-Time Heterogeneous Distributed Systems Using Distributed Recovery Block Proceedngs of Natonal Conference VISION 07 on Hgh Performance Computng 2 nd Aprl 07 Government College of Engneerng, Department of CSE, Trunelvel, Taml Nadu, INDIA A Novel Fault Tolerant Schedulng Technque

More information

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS

A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Proceedngs of the Wnter Smulaton Conference M E Kuhl, N M Steger, F B Armstrong, and J A Jones, eds A MOVING MESH APPROACH FOR SIMULATION BUDGET ALLOCATION ON CONTINUOUS DOMAINS Mark W Brantley Chun-Hung

More information

Problem Set 3 Solutions

Problem Set 3 Solutions Introducton to Algorthms October 4, 2002 Massachusetts Insttute of Technology 6046J/18410J Professors Erk Demane and Shaf Goldwasser Handout 14 Problem Set 3 Solutons (Exercses were not to be turned n,

More information

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data

A Fast Content-Based Multimedia Retrieval Technique Using Compressed Data A Fast Content-Based Multmeda Retreval Technque Usng Compressed Data Borko Furht and Pornvt Saksobhavvat NSF Multmeda Laboratory Florda Atlantc Unversty, Boca Raton, Florda 3343 ABSTRACT In ths paper,

More information

An Optimal Algorithm for Prufer Codes *

An Optimal Algorithm for Prufer Codes * J. Software Engneerng & Applcatons, 2009, 2: 111-115 do:10.4236/jsea.2009.22016 Publshed Onlne July 2009 (www.scrp.org/journal/jsea) An Optmal Algorthm for Prufer Codes * Xaodong Wang 1, 2, Le Wang 3,

More information

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization

Problem Definitions and Evaluation Criteria for Computational Expensive Optimization Problem efntons and Evaluaton Crtera for Computatonal Expensve Optmzaton B. Lu 1, Q. Chen and Q. Zhang 3, J. J. Lang 4, P. N. Suganthan, B. Y. Qu 6 1 epartment of Computng, Glyndwr Unversty, UK Faclty

More information

An Entropy-Based Approach to Integrated Information Needs Assessment

An Entropy-Based Approach to Integrated Information Needs Assessment Dstrbuton Statement A: Approved for publc release; dstrbuton s unlmted. An Entropy-Based Approach to ntegrated nformaton Needs Assessment June 8, 2004 Wllam J. Farrell Lockheed Martn Advanced Technology

More information

CS 268: Lecture 8 Router Support for Congestion Control

CS 268: Lecture 8 Router Support for Congestion Control CS 268: Lecture 8 Router Support for Congeston Control Ion Stoca Computer Scence Dvson Department of Electrcal Engneerng and Computer Scences Unversty of Calforna, Berkeley Berkeley, CA 9472-1776 Router

More information

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique

The Greedy Method. Outline and Reading. Change Money Problem. Greedy Algorithms. Applications of the Greedy Strategy. The Greedy Method Technique //00 :0 AM Outlne and Readng The Greedy Method The Greedy Method Technque (secton.) Fractonal Knapsack Problem (secton..) Task Schedulng (secton..) Mnmum Spannng Trees (secton.) Change Money Problem Greedy

More information

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr)

Helsinki University Of Technology, Systems Analysis Laboratory Mat Independent research projects in applied mathematics (3 cr) Helsnk Unversty Of Technology, Systems Analyss Laboratory Mat-2.08 Independent research projects n appled mathematcs (3 cr) "! #$&% Antt Laukkanen 506 R ajlaukka@cc.hut.f 2 Introducton...3 2 Multattrbute

More information

Video Proxy System for a Large-scale VOD System (DINA)

Video Proxy System for a Large-scale VOD System (DINA) Vdeo Proxy System for a Large-scale VOD System (DINA) KWUN-CHUNG CHAN #, KWOK-WAI CHEUNG *# #Department of Informaton Engneerng *Centre of Innovaton and Technology The Chnese Unversty of Hong Kong SHATIN,

More information

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms

Course Introduction. Algorithm 8/31/2017. COSC 320 Advanced Data Structures and Algorithms. COSC 320 Advanced Data Structures and Algorithms Course Introducton Course Topcs Exams, abs, Proects A quc loo at a few algorthms 1 Advanced Data Structures and Algorthms Descrpton: We are gong to dscuss algorthm complexty analyss, algorthm desgn technques

More information

Needed Information to do Allocation

Needed Information to do Allocation Complexty n the Database Allocaton Desgn Must tae relatonshp between fragments nto account Cost of ntegrty enforcements Constrants on response-tme, storage, and processng capablty Needed Informaton to

More information

TripS: Automated Multi-tiered Data Placement in a Geo-distributed Cloud Environment

TripS: Automated Multi-tiered Data Placement in a Geo-distributed Cloud Environment TrpS: Automated Mult-tered Data Placement n a Geo-dstrbuted Cloud Envronment Kwangsung Oh, Abhshek Chandra, and Jon Wessman Department of Computer Scence and Engneerng Unversty of Mnnesota Twn Ctes Mnneapols,

More information

User Authentication Based On Behavioral Mouse Dynamics Biometrics

User Authentication Based On Behavioral Mouse Dynamics Biometrics User Authentcaton Based On Behavoral Mouse Dynamcs Bometrcs Chee-Hyung Yoon Danel Donghyun Km Department of Computer Scence Department of Computer Scence Stanford Unversty Stanford Unversty Stanford, CA

More information

An Iterative Solution Approach to Process Plant Layout using Mixed Integer Optimisation

An Iterative Solution Approach to Process Plant Layout using Mixed Integer Optimisation 17 th European Symposum on Computer Aded Process Engneerng ESCAPE17 V. Plesu and P.S. Agach (Edtors) 2007 Elsever B.V. All rghts reserved. 1 An Iteratve Soluton Approach to Process Plant Layout usng Mxed

More information

Verification by testing

Verification by testing Real-Tme Systems Specfcaton Implementaton System models Executon-tme analyss Verfcaton Verfcaton by testng Dad? How do they know how much weght a brdge can handle? They drve bgger and bgger trucks over

More information

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance

Tsinghua University at TAC 2009: Summarizing Multi-documents by Information Distance Tsnghua Unversty at TAC 2009: Summarzng Mult-documents by Informaton Dstance Chong Long, Mnle Huang, Xaoyan Zhu State Key Laboratory of Intellgent Technology and Systems, Tsnghua Natonal Laboratory for

More information

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1)

For instance, ; the five basic number-sets are increasingly more n A B & B A A = B (1) Secton 1.2 Subsets and the Boolean operatons on sets If every element of the set A s an element of the set B, we say that A s a subset of B, or that A s contaned n B, or that B contans A, and we wrte A

More information

5 The Primal-Dual Method

5 The Primal-Dual Method 5 The Prmal-Dual Method Orgnally desgned as a method for solvng lnear programs, where t reduces weghted optmzaton problems to smpler combnatoral ones, the prmal-dual method (PDM) has receved much attenton

More information

Overview. Basic Setup [9] Motivation and Tasks. Modularization 2008/2/20 IMPROVED COVERAGE CONTROL USING ONLY LOCAL INFORMATION

Overview. Basic Setup [9] Motivation and Tasks. Modularization 2008/2/20 IMPROVED COVERAGE CONTROL USING ONLY LOCAL INFORMATION Overvew 2 IMPROVED COVERAGE CONTROL USING ONLY LOCAL INFORMATION Introducton Mult- Smulator MASIM Theoretcal Work and Smulaton Results Concluson Jay Wagenpfel, Adran Trachte Motvaton and Tasks Basc Setup

More information

Real-time Fault-tolerant Scheduling Algorithm for Distributed Computing Systems

Real-time Fault-tolerant Scheduling Algorithm for Distributed Computing Systems Real-tme Fault-tolerant Schedulng Algorthm for Dstrbuted Computng Systems Yun Lng, Y Ouyang College of Computer Scence and Informaton Engneerng Zheang Gongshang Unversty Postal code: 310018 P.R.CHINA {ylng,

More information

Mixed-Criticality Scheduling on Multiprocessors using Task Grouping

Mixed-Criticality Scheduling on Multiprocessors using Task Grouping Mxed-Crtcalty Schedulng on Multprocessors usng Task Groupng Jankang Ren Lnh Th Xuan Phan School of Software Technology, Dalan Unversty of Technology, Chna Computer and Informaton Scence Department, Unversty

More information

A New Token Allocation Algorithm for TCP Traffic in Diffserv Network

A New Token Allocation Algorithm for TCP Traffic in Diffserv Network A New Token Allocaton Algorthm for TCP Traffc n Dffserv Network A New Token Allocaton Algorthm for TCP Traffc n Dffserv Network S. Sudha and N. Ammasagounden Natonal Insttute of Technology, Truchrappall,

More information

Cluster Analysis of Electrical Behavior

Cluster Analysis of Electrical Behavior Journal of Computer and Communcatons, 205, 3, 88-93 Publshed Onlne May 205 n ScRes. http://www.scrp.org/ournal/cc http://dx.do.org/0.4236/cc.205.350 Cluster Analyss of Electrcal Behavor Ln Lu Ln Lu, School

More information

A New Transaction Processing Model Based on Optimistic Concurrency Control

A New Transaction Processing Model Based on Optimistic Concurrency Control A New Transacton Processng Model Based on Optmstc Concurrency Control Wang Pedong,Duan Xpng,Jr. Abstract-- In ths paper, to support moblty and dsconnecton of moble clents effectvely n moble computng envronment,

More information

S1 Note. Basis functions.

S1 Note. Basis functions. S1 Note. Bass functons. Contents Types of bass functons...1 The Fourer bass...2 B-splne bass...3 Power and type I error rates wth dfferent numbers of bass functons...4 Table S1. Smulaton results of type

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS ARPN Journal of Engneerng and Appled Scences 006-017 Asan Research Publshng Network (ARPN). All rghts reserved. NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS Igor Grgoryev, Svetlana

More information

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints

Sum of Linear and Fractional Multiobjective Programming Problem under Fuzzy Rules Constraints Australan Journal of Basc and Appled Scences, 2(4): 1204-1208, 2008 ISSN 1991-8178 Sum of Lnear and Fractonal Multobjectve Programmng Problem under Fuzzy Rules Constrants 1 2 Sanjay Jan and Kalash Lachhwan

More information

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration

Improvement of Spatial Resolution Using BlockMatching Based Motion Estimation and Frame. Integration Improvement of Spatal Resoluton Usng BlockMatchng Based Moton Estmaton and Frame Integraton Danya Suga and Takayuk Hamamoto Graduate School of Engneerng, Tokyo Unversty of Scence, 6-3-1, Nuku, Katsuska-ku,

More information

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning

Outline. Type of Machine Learning. Examples of Application. Unsupervised Learning Outlne Artfcal Intellgence and ts applcatons Lecture 8 Unsupervsed Learnng Professor Danel Yeung danyeung@eee.org Dr. Patrck Chan patrckchan@eee.org South Chna Unversty of Technology, Chna Introducton

More information

Some Advanced SPC Tools 1. Cumulative Sum Control (Cusum) Chart For the data shown in Table 9-1, the x chart can be generated.

Some Advanced SPC Tools 1. Cumulative Sum Control (Cusum) Chart For the data shown in Table 9-1, the x chart can be generated. Some Advanced SP Tools 1. umulatve Sum ontrol (usum) hart For the data shown n Table 9-1, the x chart can be generated. However, the shft taken place at sample #21 s not apparent. 92 For ths set samples,

More information

Module Management Tool in Software Development Organizations

Module Management Tool in Software Development Organizations Journal of Computer Scence (5): 8-, 7 ISSN 59-66 7 Scence Publcatons Management Tool n Software Development Organzatons Ahmad A. Al-Rababah and Mohammad A. Al-Rababah Faculty of IT, Al-Ahlyyah Amman Unversty,

More information

Analysis of Collaborative Distributed Admission Control in x Networks

Analysis of Collaborative Distributed Admission Control in x Networks 1 Analyss of Collaboratve Dstrbuted Admsson Control n 82.11x Networks Thnh Nguyen, Member, IEEE, Ken Nguyen, Member, IEEE, Lnha He, Member, IEEE, Abstract Wth the recent surge of wreless home networks,

More information

Term Weighting Classification System Using the Chi-square Statistic for the Classification Subtask at NTCIR-6 Patent Retrieval Task

Term Weighting Classification System Using the Chi-square Statistic for the Classification Subtask at NTCIR-6 Patent Retrieval Task Proceedngs of NTCIR-6 Workshop Meetng, May 15-18, 2007, Tokyo, Japan Term Weghtng Classfcaton System Usng the Ch-square Statstc for the Classfcaton Subtask at NTCIR-6 Patent Retreval Task Kotaro Hashmoto

More information

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions

Sorting Review. Sorting. Comparison Sorting. CSE 680 Prof. Roger Crawfis. Assumptions Sortng Revew Introducton to Algorthms Qucksort CSE 680 Prof. Roger Crawfs Inserton Sort T(n) = Θ(n 2 ) In-place Merge Sort T(n) = Θ(n lg(n)) Not n-place Selecton Sort (from homework) T(n) = Θ(n 2 ) In-place

More information

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

More information

124 Chapter 8. Case Study: A Memory Component ndcatng some error condton. An exceptonal return of a value e s called rasng excepton e. A return s ssue

124 Chapter 8. Case Study: A Memory Component ndcatng some error condton. An exceptonal return of a value e s called rasng excepton e. A return s ssue Chapter 8 Case Study: A Memory Component In chapter 6 we gave the outlne of a case study on the renement of a safe regster. In ths chapter wepresent the outne of another case study on persstent communcaton;

More information

Lecture 5: Multilayer Perceptrons

Lecture 5: Multilayer Perceptrons Lecture 5: Multlayer Perceptrons Roger Grosse 1 Introducton So far, we ve only talked about lnear models: lnear regresson and lnear bnary classfers. We noted that there are functons that can t be represented

More information

Repeater Insertion for Two-Terminal Nets in Three-Dimensional Integrated Circuits

Repeater Insertion for Two-Terminal Nets in Three-Dimensional Integrated Circuits Repeater Inserton for Two-Termnal Nets n Three-Dmensonal Integrated Crcuts Hu Xu, Vasls F. Pavlds, and Govann De Mchel LSI - EPFL, CH-5, Swtzerland, {hu.xu,vasleos.pavlds,govann.demchel}@epfl.ch Abstract.

More information

Comparison of Heuristics for Scheduling Independent Tasks on Heterogeneous Distributed Environments

Comparison of Heuristics for Scheduling Independent Tasks on Heterogeneous Distributed Environments Comparson of Heurstcs for Schedulng Independent Tasks on Heterogeneous Dstrbuted Envronments Hesam Izakan¹, Ath Abraham², Senor Member, IEEE, Václav Snášel³ ¹ Islamc Azad Unversty, Ramsar Branch, Ramsar,

More information

ARTICLE IN PRESS. Signal Processing: Image Communication

ARTICLE IN PRESS. Signal Processing: Image Communication Sgnal Processng: Image Communcaton 23 (2008) 754 768 Contents lsts avalable at ScenceDrect Sgnal Processng: Image Communcaton journal homepage: www.elsever.com/locate/mage Dstrbuted meda rate allocaton

More information

Virtual Machine Migration based on Trust Measurement of Computer Node

Virtual Machine Migration based on Trust Measurement of Computer Node Appled Mechancs and Materals Onlne: 2014-04-04 ISSN: 1662-7482, Vols. 536-537, pp 678-682 do:10.4028/www.scentfc.net/amm.536-537.678 2014 Trans Tech Publcatons, Swtzerland Vrtual Machne Mgraton based on

More information

Support Vector Machines

Support Vector Machines Support Vector Machnes Decson surface s a hyperplane (lne n 2D) n feature space (smlar to the Perceptron) Arguably, the most mportant recent dscovery n machne learnng In a nutshell: map the data to a predetermned

More information

Adaptive Resource Allocation Control with On-Line Search for Fair QoS Level

Adaptive Resource Allocation Control with On-Line Search for Fair QoS Level Adaptve Resource Allocaton Control wth On-Lne Search for Far QoS Level Fumko Harada, Toshmtsu Usho, Graduate School of Engneerng Scence Osaka Unversty {harada@hopf, usho@}sysesosaka-uacjp Yukkazu akamoto

More information

Resource and Virtual Function Status Monitoring in Network Function Virtualization Environment

Resource and Virtual Function Status Monitoring in Network Function Virtualization Environment Journal of Physcs: Conference Seres PAPER OPEN ACCESS Resource and Vrtual Functon Status Montorng n Network Functon Vrtualzaton Envronment To cte ths artcle: MS Ha et al 2018 J. Phys.: Conf. Ser. 1087

More information

Transaction-Consistent Global Checkpoints in a Distributed Database System

Transaction-Consistent Global Checkpoints in a Distributed Database System Proceedngs of the World Congress on Engneerng 2008 Vol I Transacton-Consstent Global Checkponts n a Dstrbuted Database System Jang Wu, D. Manvannan and Bhavan Thurasngham Abstract Checkpontng and rollback

More information

A Genetic Algorithm Based Dynamic Load Balancing Scheme for Heterogeneous Distributed Systems

A Genetic Algorithm Based Dynamic Load Balancing Scheme for Heterogeneous Distributed Systems Proceedngs of the Internatonal Conference on Parallel and Dstrbuted Processng Technques and Applcatons, PDPTA 2008, Las Vegas, Nevada, USA, July 14-17, 2008, 2 Volumes. CSREA Press 2008, ISBN 1-60132-084-1

More information

11. APPROXIMATION ALGORITHMS

11. APPROXIMATION ALGORITHMS Copng wth NP-completeness 11. APPROXIMATION ALGORITHMS load balancng center selecton prcng method: vertex cover LP roundng: vertex cover generalzed load balancng knapsack problem Q. Suppose I need to solve

More information

ELEC 377 Operating Systems. Week 6 Class 3

ELEC 377 Operating Systems. Week 6 Class 3 ELEC 377 Operatng Systems Week 6 Class 3 Last Class Memory Management Memory Pagng Pagng Structure ELEC 377 Operatng Systems Today Pagng Szes Vrtual Memory Concept Demand Pagng ELEC 377 Operatng Systems

More information

Scheduling Remote Access to Scientific Instruments in Cyberinfrastructure for Education and Research

Scheduling Remote Access to Scientific Instruments in Cyberinfrastructure for Education and Research Schedulng Remote Access to Scentfc Instruments n Cybernfrastructure for Educaton and Research Je Yn 1, Junwe Cao 2,3,*, Yuexuan Wang 4, Lanchen Lu 1,3 and Cheng Wu 1,3 1 Natonal CIMS Engneerng and Research

More information

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6)

Harvard University CS 101 Fall 2005, Shimon Schocken. Assembler. Elements of Computing Systems 1 Assembler (Ch. 6) Harvard Unversty CS 101 Fall 2005, Shmon Schocken Assembler Elements of Computng Systems 1 Assembler (Ch. 6) Why care about assemblers? Because Assemblers employ some nfty trcks Assemblers are the frst

More information

Private Information Retrieval (PIR)

Private Information Retrieval (PIR) 2 Levente Buttyán Problem formulaton Alce wants to obtan nformaton from a database, but she does not want the database to learn whch nformaton she wanted e.g., Alce s an nvestor queryng a stock-market

More information

Real-time Scheduling

Real-time Scheduling Real-tme Schedulng COE718: Embedded System Desgn http://www.ee.ryerson.ca/~courses/coe718/ Dr. Gul N. Khan http://www.ee.ryerson.ca/~gnkhan Electrcal and Computer Engneerng Ryerson Unversty Overvew RTX

More information

Real-Time Systems. Real-Time Systems. Verification by testing. Verification by testing

Real-Time Systems. Real-Time Systems. Verification by testing. Verification by testing EDA222/DIT161 Real-Tme Systems, Chalmers/GU, 2014/2015 Lecture #8 Real-Tme Systems Real-Tme Systems Lecture #8 Specfcaton Professor Jan Jonsson Implementaton System models Executon-tme analyss Department

More information

Topology Design using LS-TaSC Version 2 and LS-DYNA

Topology Design using LS-TaSC Version 2 and LS-DYNA Topology Desgn usng LS-TaSC Verson 2 and LS-DYNA Wllem Roux Lvermore Software Technology Corporaton, Lvermore, CA, USA Abstract Ths paper gves an overvew of LS-TaSC verson 2, a topology optmzaton tool

More information

Determining the Optimal Bandwidth Based on Multi-criterion Fusion

Determining the Optimal Bandwidth Based on Multi-criterion Fusion Proceedngs of 01 4th Internatonal Conference on Machne Learnng and Computng IPCSIT vol. 5 (01) (01) IACSIT Press, Sngapore Determnng the Optmal Bandwdth Based on Mult-crteron Fuson Ha-L Lang 1+, Xan-Mn

More information

Unsupervised Learning

Unsupervised Learning Pattern Recognton Lecture 8 Outlne Introducton Unsupervsed Learnng Parametrc VS Non-Parametrc Approach Mxture of Denstes Maxmum-Lkelhood Estmates Clusterng Prof. Danel Yeung School of Computer Scence and

More information

Reducing Frame Rate for Object Tracking

Reducing Frame Rate for Object Tracking Reducng Frame Rate for Object Trackng Pavel Korshunov 1 and We Tsang Oo 2 1 Natonal Unversty of Sngapore, Sngapore 11977, pavelkor@comp.nus.edu.sg 2 Natonal Unversty of Sngapore, Sngapore 11977, oowt@comp.nus.edu.sg

More information

Lecture 7 Real Time Task Scheduling. Forrest Brewer

Lecture 7 Real Time Task Scheduling. Forrest Brewer Lecture 7 Real Tme Task Schedulng Forrest Brewer Real Tme ANSI defnes real tme as A Real tme process s a process whch delvers the results of processng n a gven tme span A data may requre processng at a

More information

Network Coding as a Dynamical System

Network Coding as a Dynamical System Network Codng as a Dynamcal System Narayan B. Mandayam IEEE Dstngushed Lecture (jont work wth Dan Zhang and a Su) Department of Electrcal and Computer Engneerng Rutgers Unversty Outlne. Introducton 2.

More information

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour

6.854 Advanced Algorithms Petar Maymounkov Problem Set 11 (November 23, 2005) With: Benjamin Rossman, Oren Weimann, and Pouya Kheradpour 6.854 Advanced Algorthms Petar Maymounkov Problem Set 11 (November 23, 2005) Wth: Benjamn Rossman, Oren Wemann, and Pouya Kheradpour Problem 1. We reduce vertex cover to MAX-SAT wth weghts, such that the

More information

DESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT

DESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT DESIGNING TRANSMISSION SCHEDULES FOR WIRELESS AD HOC NETWORKS TO MAXIMIZE NETWORK THROUGHPUT Bran J. Wolf, Joseph L. Hammond, and Harlan B. Russell Dept. of Electrcal and Computer Engneerng, Clemson Unversty,

More information

Outline. Digital Systems. C.2: Gates, Truth Tables and Logic Equations. Truth Tables. Logic Gates 9/8/2011

Outline. Digital Systems. C.2: Gates, Truth Tables and Logic Equations. Truth Tables. Logic Gates 9/8/2011 9/8/2 2 Outlne Appendx C: The Bascs of Logc Desgn TDT4255 Computer Desgn Case Study: TDT4255 Communcaton Module Lecture 2 Magnus Jahre 3 4 Dgtal Systems C.2: Gates, Truth Tables and Logc Equatons All sgnals

More information

Mathematics 256 a course in differential equations for engineering students

Mathematics 256 a course in differential equations for engineering students Mathematcs 56 a course n dfferental equatons for engneerng students Chapter 5. More effcent methods of numercal soluton Euler s method s qute neffcent. Because the error s essentally proportonal to the

More information

Ecient Computation of the Most Probable Motion from Fuzzy. Moshe Ben-Ezra Shmuel Peleg Michael Werman. The Hebrew University of Jerusalem

Ecient Computation of the Most Probable Motion from Fuzzy. Moshe Ben-Ezra Shmuel Peleg Michael Werman. The Hebrew University of Jerusalem Ecent Computaton of the Most Probable Moton from Fuzzy Correspondences Moshe Ben-Ezra Shmuel Peleg Mchael Werman Insttute of Computer Scence The Hebrew Unversty of Jerusalem 91904 Jerusalem, Israel Emal:

More information

3. CR parameters and Multi-Objective Fitness Function

3. CR parameters and Multi-Objective Fitness Function 3 CR parameters and Mult-objectve Ftness Functon 41 3. CR parameters and Mult-Objectve Ftness Functon 3.1. Introducton Cogntve rados dynamcally confgure the wreless communcaton system, whch takes beneft

More information

Load Balancing for Hex-Cell Interconnection Network

Load Balancing for Hex-Cell Interconnection Network Int. J. Communcatons, Network and System Scences,,, - Publshed Onlne Aprl n ScRes. http://www.scrp.org/journal/jcns http://dx.do.org/./jcns.. Load Balancng for Hex-Cell Interconnecton Network Saher Manaseer,

More information

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface.

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface. IDC Herzlya Shmon Schocken Assembler Shmon Schocken Sprng 2005 Elements of Computng Systems 1 Assembler (Ch. 6) Where we are at: Human Thought Abstract desgn Chapters 9, 12 abstract nterface H.L. Language

More information

High-Boost Mesh Filtering for 3-D Shape Enhancement

High-Boost Mesh Filtering for 3-D Shape Enhancement Hgh-Boost Mesh Flterng for 3-D Shape Enhancement Hrokazu Yagou Λ Alexander Belyaev y Damng We z Λ y z ; ; Shape Modelng Laboratory, Unversty of Azu, Azu-Wakamatsu 965-8580 Japan y Computer Graphcs Group,

More information

Network Cloud. Internal Network. Internal Network. Internal Network. Border Switch. Border Switch. Border Switch. Network. Internal. Border.

Network Cloud. Internal Network. Internal Network. Internal Network. Border Switch. Border Switch. Border Switch. Network. Internal. Border. Multplexng VBR Trac Flows wth Guaranteed Applcaton-level QoS Usng Statstcal Rate Monotonc Schedulng Ala K. Atlas and Azer Bestavros Computer Scence Department Boston Unversty Boston, MA 0225 fakatlas,

More information

Optimizing Document Scoring for Query Retrieval

Optimizing Document Scoring for Query Retrieval Optmzng Document Scorng for Query Retreval Brent Ellwen baellwe@cs.stanford.edu Abstract The goal of ths project was to automate the process of tunng a document query engne. Specfcally, I used machne learnng

More information

Analysis of Continuous Beams in General

Analysis of Continuous Beams in General Analyss of Contnuous Beams n General Contnuous beams consdered here are prsmatc, rgdly connected to each beam segment and supported at varous ponts along the beam. onts are selected at ponts of support,

More information

CMPS 10 Introduction to Computer Science Lecture Notes

CMPS 10 Introduction to Computer Science Lecture Notes CPS 0 Introducton to Computer Scence Lecture Notes Chapter : Algorthm Desgn How should we present algorthms? Natural languages lke Englsh, Spansh, or French whch are rch n nterpretaton and meanng are not

More information

CS 534: Computer Vision Model Fitting

CS 534: Computer Vision Model Fitting CS 534: Computer Vson Model Fttng Sprng 004 Ahmed Elgammal Dept of Computer Scence CS 534 Model Fttng - 1 Outlnes Model fttng s mportant Least-squares fttng Maxmum lkelhood estmaton MAP estmaton Robust

More information

Avoiding congestion through dynamic load control

Avoiding congestion through dynamic load control Avodng congeston through dynamc load control Vasl Hnatyshn, Adarshpal S. Seth Department of Computer and Informaton Scences, Unversty of Delaware, Newark, DE 976 ABSTRACT The current best effort approach

More information

Improved Resource Allocation Algorithms for Practical Image Encoding in a Ubiquitous Computing Environment

Improved Resource Allocation Algorithms for Practical Image Encoding in a Ubiquitous Computing Environment JOURNAL OF COMPUTERS, VOL. 4, NO. 9, SEPTEMBER 2009 873 Improved Resource Allocaton Algorthms for Practcal Image Encodng n a Ubqutous Computng Envronment Manxong Dong, Long Zheng, Kaoru Ota, Song Guo School

More information