Quick Verification of Concurrent Programs by Iteratively Relaxed Scheduling

Size: px
Start display at page:

Download "Quick Verification of Concurrent Programs by Iteratively Relaxed Scheduling"

Transcription

1 Quick Verificaion of Concurren Programs by Ieraively Relaxed Scheduling Parick Mezler, Habib Saissi, Péer Bokor, Neeraj Suri Technische Univerisä Darmsad, Germany {mezler, saissi, pbokor, Absrac The mos prominen advanage of sofware verificaion over esing is a rigorous check of every possible sofware behavior. However, large sae spaces of concurren sysems, due o non-deerminisic scheduling, resul in a slow auomaed verificaion process. Therefore, verificaion inroduces a large delay beween compleion and deploymen of concurren sofware. This paper inroduces a novel ieraive approach o verificaion of concurren programs ha drasically reduces his delay. By resricing he execuion of concurren programs o a small se of admissible schedules, verificaion complexiy and ime is drasically reduced. Ieraively adding admissible schedules afer heir verificaion evenually resores non-deerminisic scheduling. Thereby, our framework allows o find a swee spo beween a low verificaion delay and sufficien execuion ime performance. Our evaluaion of a prooype implemenaion on well-known benchmark programs shows ha afer verifying only few schedules of he program, execuion ime overhead is compeiive o exising deerminisic muli-hreading frameworks. I. INTRODUCTION Auomaed verificaion of concurren programs wih nondeerminisic scheduling is known o be challenging: verificaion has o consider all possible schedules a concurren program may be execued wih, which may resul in exponenially many saes o be verified, known as sae space explosion []. Parial order reducion (POR) is able o reduce he sae space of a concurren program by idenifying equivalence classes of program execuions such ha only one represenaive of each class needs o be verified [2] [4]. Such an equivalence class is called Mazurkiewicz race or simply race. However, he reduced sae space may sill be of exponenial size [3]. Hence, he high complexiy of sae space exploraion for concurren sysems remains and hinders a wide applicaion of auomaed verificaion (e.g., model checking) in indusrial sofware developmen. In paricular, verificaion inroduces a considerable delay beween compleion and deploymen of sofware. When developmen of a candidae program is complee, i may be deployed only afer he verifier approved ha i is correc under all possible schedules. This verificaion delay reaches large values for benchmark programs even if sae-of-he-ar POR is used [5], [6]. We conjecure ha he verificaion delay is unaccepably high for large areas of indusrial sofware developmen. Neverheless, individual races can be verified quickly as can be seen when relaing verificaion ime o he number of explored races. Inernal pre-prin version only copyrigh for he original aricle is held by IEEE. In he area of concurrency esing, deerminisic mulihreading (DMT) can help o reduce he number of necessary es cases. Several echniques exis o resric scheduling such ha () scheduling is deerminisic for a paricular inpu and/or (2) only a reduced se of schedules may occur [7], [8]. Such DMT echniques rade poenial execuion ime overhead (compared o execuing he unmodified program) for reduced non-deerminism ha may simplify esing. However, hese approaches do no allow o conrol he schedule ha will occur in advance, which renders hem unsuiable for auomaed verificaion of concurren programs. We are no aware of any exising ool or concep ha allows o execue seleced schedules afer hey are successfully verified. Moreover, i is no possible o adjus he amoun of non-deerminism in exising DMT approaches. We propose o make he amoun of non-deerminism and hereby he verificaion delay adjusable by using inermediae verificaion resuls and reducing non-deerminism by dynamically consrained scheduling. In paricular, insead of waiing for verificaion o complee, we propose o use inermediae verificaion resuls ha guaranee program correcness for one or more schedules. By generalizing he concep of Mazurkiewicz races [9] for symbolic model checking, we are able o use POR as a verificaion echnique wih inermediae verificaion resuls. As soon as a single race is verified, he program may be used inside a suiable execuion environmen wih consrained scheduling. By coninuously verifying and permiing more races, scheduling consrains are ieraively relaxed and, as shown by our evaluaion, execuion ime overhead is reduced. Thus, execuion ime overhead can be raded for verificaion delay. We provide he following conribuions. () We develop a formal framework for ieraive, auomaed verificaion of concurren programs. (2) We inroduce he concep of symbolic races as an exension and generalizaion of Mazurkiewicz races o symbolic model checking. (3) We discuss implemenaion issues for a suiable execuion environmen using our prooype implemenaion for LLVM programs [0]. (4) We show experimenally ha only few races need o be verified o considerably reduce execuion ime overhead. II. OVERVIEW We propose ieraively relaxed scheduling (IRS) for concurren programs wih non-deerminisic scheduling as an improvemen over he convenional approach o program verificaion:

2 2 Verifier Verify program Execuion environmen (unconsrained scheduling) (a) Convenional Program can be safely used Verifier Verify program Submi iniial schedule Ieraively submi addiional schedules Permi all schedules IRS Execuion environmen (b) IRS Program can be safely used Figure : The program verificaion process (sequence diagram) () Develop a program (or program updae). (2) Verify he program. (3) The program can be safely used (wih unconsrained scheduling). In case verificaion is successful, correcness is ensured for all feasible schedules of he program. This guarany comes a he price of a ypically large verificaion delay because of exponenially many schedules when unconsrained (nondeerminisic) scheduling is used. Insead of waiing unil he program is verified for all feasible schedules, we propose o sar using he program already afer a use case-specific hreshold of schedules has been verified. Correcness is guaraneed by wrapping he program in an IRS execuion environmen, which permis only verified schedules by consraining scheduling. We provide deails abou IRS execuion environmens in Secion III. Specifically, verifying a concurren program wih IRS proceeds as follows. () Develop a program (or program updae). (2) Coninuously verify individual schedules or ses of schedules. (3) As soon as one admissible schedule is available, he program can be safely used inside an IRS execuion environmen. (4) Addiional verified schedules may be added during program usage o relax scheduling consrains. The difference beween convenional verificaion and IRS is illusraed in Figure. While convenionally he verificaion delay corresponds o he full verificaion ime, IRS enables o adjus verificaion delay and he amoun of non-deerminism in scheduling: he longer he verificaion delay, he more schedules are verified and he fewer scheduling consrains are necessary o enforce ha only admissible schedules may occur. Consraining scheduling presumably inroduces considerable execuion ime overhead. While execuion ime overhead may be considerable, relaxing scheduling consrains is able o quickly reduce his overhead. Our experimens show ha ieraively relaxing scheduling consrains also ieraively reduces execuion ime overhead, which we deail in Secion V. Given a posiive relaionship beween relaxed scheduling consrains and decreased execuion ime overhead, IRS may be used o exploi he swee spo beween a shor verificaion delay and small execuion ime overhead. In oher words, IRS enables o use as much non-deerminism in scheduling as needed for execuion ime performance and no more nondeerminism han necessary in order o limi he verificaion delay. An addiional advanage of IRS over convenional program verificaion is ha programs ha show boh correc and erroneous schedules can be used safely, as erroneous schedules are never enabled. Such a program may be eiher correced such ha evenually, all schedules can be enabled, or lef unchanged such ha he program is used wih erroneous schedules disabled. In conras, convenional verificaion requires o correc he program so ha he program is only available afer verificaion is resared and compleed successfully. Please noe ha i is well possible ha a program ha is used inside an IRS execuion environmen has erroneous schedules. However, program usage inside he IRS environmen is always safe as only correc schedules are enabled. The only limiaion in such a case is ha he program canno be used safely wih all schedules enabled (e.g., ouside he IRS execuion environmen). Several scenarios of how o use IRS are conceivable, e.g.: () Safely deploy programs wih large sae spaces due o concurrency ha are infeasible o fully verify. (2) In case a program updae inroduces a bug bu correc schedules can sill be found, safely deploy he program wih erroneous schedules disabled unil he bug is fixed. (3) For a given ime budge for verificaion (maximum verificaion delay), verify as much schedules as possible unil he hreshold is reached and deploy he program (wih he remaining schedules disabled). Verificaion delay is reduced. (4) For a given budge of execuion ime performance (e.g., maximum execuion ime overhead), sar verificaion and coninuously es he execuion ime performance for he so far verified schedules. As soon as he program is fas enough, deploy he program (wih he remaining schedules disabled). Verificaion delay is reduced. (5) In addiion o (4), coninue verificaion afer deploymen and coninuously exend he se of verified and enabled schedules. Execuion ime performance is increased afer deploymen. (I is required o updae scheduling consrains online. Wih a suiable implemenaion, i is no necessary o updae he program iself.) Depending on he specific requiremens of a use case, i may be suiable or even necessary o combine or exend hese scenarios. As we deail in Secion IV, i is possible o realize an IRS execuion environmen compleely inside an applicaion program, wihou modifying he operaing sysem.

3 3 In order o execue programs safely inside an IRS execuion environmen (i.e., such ha he specificaion is never violaed) while preserving usabiliy (i.e., such ha full program funcionaliy is available), i mus be ensured ha inermediae verificaion resuls correspond o scheduling consrains ha describe how o remain inside he known-o-be-safe sae space for arbirary program inpus. Thereby, i is guaraneed ha he program is safely execued regardless of he curren inpu. While his requiremen may be srong for programs wih non-deerminisic inpus, he same limiaion applies for verificaion of sequenial programs. Alhough here exis echniques o deerminisically execue concurren programs (e.g., [7], [8], []) in order o suppor concurrency esing, IRS consiues a novel approach o verifying concurren programs. To our bes knowledge, all exising DMT approaches depend on concree program inpus for enforcemen of a deerminisic execuion: no guarany is given abou which schedule is used afer a change in program inpus. However, program verificaion requires correc behavior for every possible program inpu. Consequenly, using an exising DMT approach for verificaion would require o verify a program separaely for each individual inpu, which is ypically infeasible. III. APPROACH A key requiremen for a verificaion echnique o be useful in conjuncion wih IRS is o yield meaningful inermediae verificaion resuls. Oherwise, safe execuion of he program would have o wai unil he program has been verified for all schedules and IRS would be reduced o convenional verificaion. Meaningful inermediae verificaion resuls eiher show a couner example for program correcness or guaranee correcness under cerain scheduling consrains. No addiional consrains should be necessary such as consrains abou program inpus or execuion lengh, as a program may no be fully operaional under such consrains. Therefore, echniques such as explici sae model checking or bounded model checking are unsuiable for IRS. Parial order reducion (POR) is a sae space reducion echnique suiable for symbolic model checking [2], alhough i is ofen presened for explici-sae model checking [4] [6]. We choose POR as a verificaion echnique o insaniae IRS and exend he noion of Mazurkiewicz races o a novel concep of symbolic races in order o suppor symbolic model checking wih meaningful inermediae verificaion resuls. An alernaive echnique for reducing he complexiy of non-deerminisic scheduling, ieraive conex bounding (ICB) [3], would equally fi o produce meaningful inermediae verificaion resuls. However, o our knowledge, ICB has no been applied o symbolic model checking before. A. Sysem Model A (concurren) program P is a ransiion sysem (S, S ini, Σ, ) where S is a finie se of saes, S ini S is a se of iniial saes (program inpus), Σ is a finie se of hreads, and P (S Σ) S is an acyclic ransiion Algorihm : IRS Daa: V he se of admissible races, iniially empy Verifier: 2 for each race o in races(p ) do 3 verify o; 4 if o is correc hen 5 add o o he se of admissible races V ; 6 Execuion environmen: 7 se he curren parial execuion (s 0, u) o he empy sequence; 8 while P has no erminaed do 9 choose some hread from admissible(v, s 0, u); 0 execue he nex even of ; append o u; relaion (for a given sae and hread, here is a mos one successor sae). We wrie s s2 o denoe (s,, s 2 ). A parial execuion of P is an iniial sae (he program inpu for his execuion) and a sequence (s 0, u) S ini Σ, where u =... n such ha here exis saes s,..., s n wih s 0 s n sn (s 0 may be omied if i is clear from he conex or arbirary). In order o uniquely describe each occurrence i of a hread in u, i is associaed wih an even e Σ N such ha e = (, k) wih k = { j : j < i j = i }, i.e., e specifies he hread i and he number of hread occurrences of i ha occur before posiion i in u. We assume he exisence of a dependency relaion for P ha induces a happens-before relaion beween evens and a noion of Mazurkiewicz equivalence on parial execuions [6], [9]. We exend he noion of Mazurkiewicz races o symbolic races as follows. A symbolic race or simply race o of P is a graph o = (E o, C o, o ) ha represens a parial order, he happens-before relaion, of some parial execuion u of P and all parial execuions ha are Mazurkiewicz equivalen o u. We say ha u is a linearizaion of o. Le u =... n be an arbirary linearizaion of o such ha here exis saes s,..., s n wih s 0 s n sn. E o = {e,..., e n } is a se of evens such ha e i corresponds o i for i n. C o is a se of ses of pah consrains (ha may be colleced during model checking). o E o C o E o is an edge relaion beween evens annoaed wih pah consrains such ha for every even e i E o and every incoming edge of e i wih pah consrains C, s i saisfies C. We wrie races(p ) for a se of races ha compleely cover he sae space of P, i.e., i is sufficien o verify all races in races(p ) in order o decide correcness of P. B. Algorihm Given a program P, we define an IRS execuion environmen ha is able o () coninuously receive represenaions of admissible races from a verifier and (2) schedule he program P such ha only admissible execuions occur. Verifier and execuion environmen of P are defined by Algorihm.

4 4 During execuion of a program, he IRS execuion environmen mainains ha he curren parial execuion (s 0, u) adheres o he scheduling consrains represened by some admissible race o, for which we wrie (s 0, u) o. We formalize his noion for a sequence u =... n wih n s 0 s sn for some saes s 0,..., s n and o wih evens E o = {e,..., e m } as (s 0, u) o if () u is empy or (2) here exiss some e i E o ha represens and for all incoming edges wih pah consrains C, s 0 does no saisfy C and (s, 2... n ) remove(e i, o) where remove(e i, o) is o wih e i and all incoming and ougoing edges of e i removed. Inuiively, (s 0, u) o can be checked as follows: if u is empy, he condiion is saisfied, as hey do no conain any evens ha can violae any ordering given by o. If u is no empy, check wheher he firs elemen of u corresponds o an even e i in o ha has no incoming edge ha saisfies he curren pah consrains (i.e., no even has o be scheduled before under he curren program inpus). The condiion is saisfied if u wihou is firs elemen adheres o o wih e i and all adjacen edges removed. For a given parial execuion (s 0, u) and a se of admissible races V, we define he se of all hreads ha can be execued nex, wihou violaing adherence o an admissible race, as admissible(v, s 0, u) := { Σ P : o V. (s 0, u ) o}. When large fracions of a program s sae space are o be explored, i.e., when V conains many races, ime and space complexiy of checking admissible(v, s 0, u) and (s 0, u) o may be relevan. An efficien implemenaion of Algorihm may use, for example, a compac represenaion of muliple races in a single daa srucure. The execuion environmen represenaion of Algorihm corresponds o he inerleaving semanics of concurren programs. I does no show explicily when hreads wai for permission o execue heir nex memory access. In a simple implemenaion, a hread wais before each memory access, which corresponds o one wai operaion per loop ieraion of he execuion environmen. For a possible implemenaion of an execuion environmen, please refer o Secion IV. Correcness In order o use IRS for program verificaion, i is necessary o ensure ha an IRS execuion environmen permis only correc races, i.e., races ha show correc program behavior. For Algorihm, i is clear ha only execuions ha adhere o a admissible race may occur by he definiion of admissible(). Progress Besides correcness, progress is required in order o safely use a program inside an IRS execuion environmen wih he same funcionaliy as he unmodified program. Progress for an IRS execuion environmen expresses ha as long as a program has no ye erminaed, here exiss a hread ha can be scheduled nex in coherence wih a admissible race, i.e., admissible(v, s 0, u) is no empy. In oher words, progress means ha IRS does no inroduce addiional deadlocks ino he program. Algorihm provides progress, as only complee races are added by he verifier. %20 = call %his) 2 %2 = alloca i32 3 sore i32 %20, i32 %2 4 %22 = load i32, i32 %2 5 %23 = bicas i32 %7 o i8 6 call %22, i8 %23, i64 4, i32 ) 7 %24 = cmpxchg i32 %7, i32 0, i32 %9 seq_cs seq_cs 8 call %22) Lising : A global memory access (cmpxchg) afer insering callbacks direcly before and afer. IV. IMPLEMENTATION We have implemened IRS in a C++ prooype ha uses he LLVM compiler infrasrucure [0] o auomaically insrumen LLVM-IR code and enforces a se of admissible races when execuing he program. This design allows o use IRS for programs ha can be ranslaed o LLVM-IR, e.g., C or C++ programs. Afer insrumening a program and linking o our IRS library, he program can be safely used (provided ha a leas one correc schedule is known) wihou modifying he operaing sysem or any oher parameers of he environmen. We do no see fundamenal obsacles o implemen IRS differenly, e.g., inside a Java virual machine (for programs ha can be ranslaed o Java byecode) or wih a cusomized scheduler inside he operaing sysem. Our implemenaion consiss of an LLVM pass responsible for insrumenaion and a library ha enforces specified races in insrumened code. The insrumenaion insers a callback o he library direcly before and afer memory access insrucions (load, sore, compare-and-swap). Only hose memory accesses are insrumened ha direcly access a global variable or where he address of he access depends (possibly ransiively) on he value of a global variable. Hence, he library sees hread execuions as a sequence of evens ha conain exacly one global memory access. We consider wo evens dependen if hey access he same memory locaion and a leas one of hem is a wrie operaion. Lising shows he global memory access of he Indexer benchmark [4] and how callbacks are insered. Idenifiers have been renamed for easier readabiliy. Only line 7 (conaining he compare-and-swap insrucion cmpxchg) is conained in he original program. All addiional lines are added by our insrumenaion. Before he memory access, hread ID, memory locaion and wheher he access can modify he memory are repored by callback before_memory_access o he library, where he even is recorded. Afer he memory access, callback afer_memory_access signals ha he memory access is compleed. A he beginning of he program, an addiional scheduler hread is sared, which collecs recorded evens and decides wheher an even is currenly admissible. When a program hread eners he callback funcion before a memory access, i checks wheher i is necessary o wai for an oher hread in order o follow he se of admissible races. Only if his is he case, synchronizaion wih he scheduler hread is necessary. The program hread appends is curren even o a queue of requess and wais on a C++ condiion variable. Once he scheduler hread reads he reques and he corresponding even is admissible, he program hread is

5 5 signaled and coninues by locking he memory locaion of he curren access, performing he memory operaion, and recording he execued even. When esing our implemenaion, we found ha as expeced, locks and condiion variables are responsible for a large porion of execuion ime overhead. In order o reduce he number of locks, we inroduced busy-waiing in he scheduler hread, which made synchronizaion beween program hreads and he scheduler hread faser for mos cases. However, in some cases, synchronizaion may also be much slower, which may be a disadvanage if execuion ime should never exceed a igh maximum. We expec furher improvemen by he use of more advanced lock-less synchronizaion. Alernaive implemenaion approaches ha do no use an addiional scheduler hread are well conceivable and we expec imporan insighs from comparing differen implemenaion approaches. For example, i migh be overall faser o perform scheduling asks locally in program hreads insead of he scheduler hread. Even if his duplicaes work, execuion ime migh be improved by omiing synchronizaion. V. EXPERIMENTAL EVALUATION We concenrae our experimenal evaluaion on supporing he claim ha ieraively relaxing scheduling consrains decreases execuion ime overhead. Experimenally validaing his claim would show ha i is feasible o use IRS o adjus and find a swee spo beween verificaion delay and execuion ime overhead. As developmen of our prooype is only in an early sage, we do no provide a full experimenal evaluaion bu repor preliminary resuls for wo benchmark programs Indexer [4] and Las Zero [6] ha are used o evaluae POR algorihms. These programs have been chosen because hey are suppored by our prooype and model-checking hem wih POR is well-sudied. We use he Las Zero benchmark wih 5 worker hreads, for which Abdulla e al. repor races and 83s execuion ime for POR. For Indexer, we use 5 hreads, where Abdulla e al. repor 4096 races and 355s execuion ime for POR [6]. Table I shows our experimenal resuls. Each benchmark is run wihou insrumenaion (plain) and insrumened by our prooype (IRS). The number of admissible races is gradually increased. Each configuraion is run 000 imes. We repor he median execuion ime and execuion ime overhead in comparison o he unmodified benchmark. Illusraing he inerplay of execuion ime overhead and verificaion delay, we show he linearly inerpolaed verificaion delay for verificaion imes given by Abdulla e al. as an approximaion of how long a model checker would need o verify he corresponding number of races. For boh benchmarks, execuion ime overhead can be reduced considerably by permiing only a small porion of all races. For Las Zero, permiing less han % of all races reduces execuion ime overhead from 230% o 68%. For Indexer, permiing 6% of all races reduces execuion ime overhead from 32% o 367%. However, execuion ime overhead is reduced less drasically when addiional races are permied. Neverheless, execuion ime overhead wih only Benchmark #Traces Time (µs) Overhead Delay (s) (inerpolaed) Las Zero (IRS) % 0 Las Zero (IRS) % 2 Las Zero (IRS) % 3 Las Zero (IRS) % 20 Las Zero (plain) % 83 Indexer (IRS) % Indexer (IRS) % 2 Indexer (IRS) % 97 Indexer (IRS) % 578 Indexer (plain) % 355 Table I: Execuion ime overhead of IRS and inerpolaed verificaion delay few admissible races is compeiive wih he execuion ime overhead of up o abou 700% and 300% repored for CoreDe and Dhreads [7]. VI. RELATED WORK Approaches ha aemp o limi he amoun of nondeerminism in he behavior of muli-hreaded programs perform deerminisic muli-hreading (DMT) and may be implemened using runime sysems [8], [], [4], libraries [7], and OS modificaions [5]. Liu e al. presen Dhreads [7] as a replacemen for he muli-hreading library Phreads. For a given inpu, Dhreads forces a deerminisic execuion by allowing hreads o execue in parallel, updaing separae copies of he shared sae. The separae copies are hen merged back in a deerminisic order once a synchronizaion poin is reached. In [], Cui e al. propose o enforce deerminisic schedules by recording iniial execuions and reusing he execued schedule subsequenly on compaible execuions wih similar inpus. Anoher deerminisic approach is Parro [8], which combines a runime environmen wih consrained scheduling wih a model checker for bug-finding. Only performance-criical pars of he program need o be model-checked ha are manually excluded from deerminisic scheduling. The main difference beween hese DMT approaches and IRS is ha he former suppor concurrency esing, while our approach is suiable for program verificaion by supporing symbolic program inpus. Using exising DMT approaches for verificaion seems unrealisic as heir scheduling consrains depend on concree program inpus, which would require o verify all possible inpus separaely. Anoher limiaion of above described DMT approaches are fixed scheduling consrains ha canno be relaxed a runime. In conras, our approach allows o auomaically and ieraively relax scheduling consrains a runime, evenually leading o all schedules (ha are successfully verified) being permied. Addiionally, hese DMT approaches eiher provide no fairness in scheduling (compleely deerminisic execuion) or provide fairness for pars of he program by compleely unconsrained scheduling. IRS, in conras, may provide conrolled fairness by enabling corresponding schedules and enabling hem. Anoher line of work deals wih limiing he number of conex swiches o faciliae concurrency bug deecion and concurrency esing. In [6] and [7], programs are modelchecked using bounded model checking (BMC) where he SMT formula is furher consrained o allow only a cerain

6 6 number of conex swiches. By doing so, hey reduce he number of program execuions ha he SAT/SMT solver has o consider. Musuvahi e al. [3] ake his furher by using an ieraive approach o conex swich bounding (ICB). They sar wih an iniial number of conex swiches, and ieraively allow more o gain a higher confidence in he correcness of he program. In his approach, he model checker implemens an explici sae space exploraion sraegy ha sysemaically explores all possible execuions as long as a number of conex swiches is no exceeded. While hese echniques only deal wih bug finding and concurrency esing, IRS proposes a complee verificaion deploymen soluion. Neverheless, we expec ha he concep of ICB can be applied o symbolic model checking as well and herefore could be used as a verificaion echnique under IRS. To our knowledge, ICB has no ye been applied o symbolic model checking. In addiion o scheduling, a source of non-deerminism are relaxed memory models in modern archiecures. Relaxed memory models allow more feasible orderings han he more resriced sequenial consisency model (SC) leading o more program behavior ha has o be covered by he model checker. In [8], a memory monioring approach is proposed o make sure ha SC is mainained during he execuion of a program. Fang e al. in [9] presen an auomaed memory fence inserion echnique o enforce SC using insrumenaion a he source code level. In boh cases, he program can be safely verified under he assumpion ha SC holds wih a reduced sae space. Similarly o IRS, hese approaches resric he amoun of non-deerminism. However, in conras o IRS, hey are no able o dynamically adap he amoun of nondeerminism and are resriced o non-deerminism due o relaxed memory access. VII. CONCLUSION We propose a formal framework for ieraively relaxed scheduling (IRS) as a mehod o make boh verificaion delay and he amoun of non-deerminism in scheduling of concurren programs adjusable. By enforcing scheduling consrains, muli-hreaded programs can be safely used even if he program has only parially been verified. We ouline several scenarios of how o use IRS o enable verificaion of programs wih inracably-large sae spaces, enable safe deploymen of programs wih erroneous schedules, handle verificaion wihin a given ime budge, manage execuion ime overhead, and increase execuion ime performance afer deploymen. Our preliminary experimenal resuls sugges ha ieraively relaxing scheduling consrains gradually reduces execuion ime overhead. [2] E. M. Clarke, O. Grumberg, M. Minea, and D. Peled, Sae space reducion using parial order echniques, Inernaional Journal on Sofware Tools for Technology Transfer (STTT), vol. 2, no. 3, 999. [3] P. Godefroid, Parial-Order Mehods for he Verificaion of Concurren Sysems - An Approach o he Sae-Explosion Problem, ser. LNCS. Springer, 996, vol [4] C. Flanagan and P. Godefroid, Dynamic parial-order reducion for model checking sofware, in Symposium on Principles of Programming Languages (POPL). ACM, [5] G. Guea, C. Flanagan, E. Yahav, and M. Sagiv, Caresian parialorder reducion, in Inernaional SPIN Workshop, ser. LNCS, vol Springer, [6] P. A. Abdulla, S. Aronis, B. Jonsson, and K. F. Sagonas, Opimal dynamic parial order reducion, in Symposium on Principles of Programming Languages (POPL). ACM, 204. [7] T. Liu, C. Cursinger, and E. D. Berger, Dhreads: efficien deerminisic mulihreading, in Symposium on Operaing Sysems Principles (SOSP). ACM, 20. [8] H. Cui, J. Simsa, Y. Lin, H. Li, B. Blum, X. Xu, J. Yang, G. A. Gibson, and R. E. Bryan, Parro: a pracical runime for deerminisic, sable, and reliable hreads, in Symposium on Operaing Sysems Principles (SOSP). ACM, 203. [9] A. W. Mazurkiewicz, Trace heory, in Advances in Peri Nes, 986. [0] The LLVM compiler infrasrucure, hp://llvm.org. [] H. Cui, J. Wu, J. Gallagher, H. Guo, and J. Yang, Efficien deerminisic mulihreading hrough schedule relaxaion, in Symposium on Operaing Sysems Principles (SOSP). ACM, 20. [2] B. Wacher, D. Kroening, and J. Ouaknine, Verifying muli-hreaded sofware wih impac, in Formal Mehods in Compuer-Aided Design (FMCAD). IEEE, 203. [3] M. Musuvahi and S. Qadeer, Ieraive conex bounding for sysemaic esing of mulihreaded programs, in Conference on Programming Language Design and Implemenaion (PLDI). ACM, [4] T. Bergan, O. Anderson, J. Deviei, L. Ceze, and D. Grossman, Corede: a compiler and runime sysem for deerminisic mulihreaded execuion, in Inernaional Conference on Archiecural Suppor for Programming Languages and Operaing Sysems (ASPLOS). ACM, 200. [5] A. Aviram, S. Weng, S. Hu, and B. Ford, Efficien sysem-enforced deerminisic parallelism, in Symposium on Operaing Sysems Design and Implemenaion (OSDI). USENIX Associaion, 200. [6] I. Rabinoviz and O. Grumberg, Bounded model checking of concurren programs, in Inernaional Conference Compuer Aided Verificaion (CAV), ser. LNCS, vol Springer, [7] L. C. Cordeiro and B. Fischer, Verifying muli-hreaded sofware using sm-based conex-bounded model checking, in Inernaional Conference on Sofware Engineering (ICSE), 20. [8] S. Burckhard and M. Musuvahi, Effecive program verificaion for relaxed memory models, in Inernaional Conference Compuer Aided Verificaion (CAV), ser. LNCS, vol Springer, [9] X. Fang, J. Lee, and S. P. Midkiff, Auomaic fence inserion for shared memory muliprocessing, in Inernaional Conference on Supercompuing (ICS). ACM, VIII. ACKNOWLEDGMENTS We hank he anonymous reviewers for heir consrucive commens. Research suppored, in par, by H (ESCUDO-CLOUD). REFERENCES [] A. Valmari, The sae explosion problem, in Lecures on Peri Nes I: Basic Models, Advances in Peri Nes, ser. LNCS, vol. 49. Springer, 996.

Implementing Ray Casting in Tetrahedral Meshes with Programmable Graphics Hardware (Technical Report)

Implementing Ray Casting in Tetrahedral Meshes with Programmable Graphics Hardware (Technical Report) Implemening Ray Casing in Terahedral Meshes wih Programmable Graphics Hardware (Technical Repor) Marin Kraus, Thomas Erl March 28, 2002 1 Inroducion Alhough cell-projecion, e.g., [3, 2], and resampling,

More information

Scheduling. Scheduling. EDA421/DIT171 - Parallel and Distributed Real-Time Systems, Chalmers/GU, 2011/2012 Lecture #4 Updated March 16, 2012

Scheduling. Scheduling. EDA421/DIT171 - Parallel and Distributed Real-Time Systems, Chalmers/GU, 2011/2012 Lecture #4 Updated March 16, 2012 EDA421/DIT171 - Parallel and Disribued Real-Time Sysems, Chalmers/GU, 2011/2012 Lecure #4 Updaed March 16, 2012 Aemps o mee applicaion consrains should be done in a proacive way hrough scheduling. Schedule

More information

PART 1 REFERENCE INFORMATION CONTROL DATA 6400 SYSTEMS CENTRAL PROCESSOR MONITOR

PART 1 REFERENCE INFORMATION CONTROL DATA 6400 SYSTEMS CENTRAL PROCESSOR MONITOR . ~ PART 1 c 0 \,).,,.,, REFERENCE NFORMATON CONTROL DATA 6400 SYSTEMS CENTRAL PROCESSOR MONTOR n CONTROL DATA 6400 Compuer Sysems, sysem funcions are normally handled by he Monior locaed in a Peripheral

More information

The Impact of Product Development on the Lifecycle of Defects

The Impact of Product Development on the Lifecycle of Defects The Impac of Produc Developmen on he Lifecycle of Rudolf Ramler Sofware Compeence Cener Hagenberg Sofware Park 21 A-4232 Hagenberg, Ausria +43 7236 3343 872 rudolf.ramler@scch.a ABSTRACT This paper invesigaes

More information

Coded Caching with Multiple File Requests

Coded Caching with Multiple File Requests Coded Caching wih Muliple File Requess Yi-Peng Wei Sennur Ulukus Deparmen of Elecrical and Compuer Engineering Universiy of Maryland College Park, MD 20742 ypwei@umd.edu ulukus@umd.edu Absrac We sudy a

More information

Why Waste a Perfectly Good Abstraction?

Why Waste a Perfectly Good Abstraction? Why Wase a Perfecly Good Absracion? Arie Gurfinkel and Marsha Chechik Deparmen of Compuer Science, Universiy of Torono, Torono, ON M5S 3G4, Canada. Email: arie,chechik@cs.orono.edu Absrac. Sofware model-checking

More information

Network management and QoS provisioning - QoS in Frame Relay. . packet switching with virtual circuit service (virtual circuits are bidirectional);

Network management and QoS provisioning - QoS in Frame Relay. . packet switching with virtual circuit service (virtual circuits are bidirectional); QoS in Frame Relay Frame relay characerisics are:. packe swiching wih virual circui service (virual circuis are bidirecional);. labels are called DLCI (Daa Link Connecion Idenifier);. for connecion is

More information

EECS 487: Interactive Computer Graphics

EECS 487: Interactive Computer Graphics EECS 487: Ineracive Compuer Graphics Lecure 7: B-splines curves Raional Bézier and NURBS Cubic Splines A represenaion of cubic spline consiss of: four conrol poins (why four?) hese are compleely user specified

More information

Optimal Crane Scheduling

Optimal Crane Scheduling Opimal Crane Scheduling Samid Hoda, John Hooker Laife Genc Kaya, Ben Peerson Carnegie Mellon Universiy Iiro Harjunkoski ABB Corporae Research EWO - 13 November 2007 1/16 Problem Track-mouned cranes move

More information

A time-space consistency solution for hardware-in-the-loop simulation system

A time-space consistency solution for hardware-in-the-loop simulation system Inernaional Conference on Advanced Elecronic Science and Technology (AEST 206) A ime-space consisency soluion for hardware-in-he-loop simulaion sysem Zexin Jiang a Elecric Power Research Insiue of Guangdong

More information

Automatic Calculation of Coverage Profiles for Coverage-based Testing

Automatic Calculation of Coverage Profiles for Coverage-based Testing Auomaic Calculaion of Coverage Profiles for Coverage-based Tesing Raimund Kirner 1 and Waler Haas 1 Vienna Universiy of Technology, Insiue of Compuer Engineering, Vienna, Ausria, raimund@vmars.uwien.ac.a

More information

Rule-Based Multi-Query Optimization

Rule-Based Multi-Query Optimization Rule-Based Muli-Query Opimizaion Mingsheng Hong Dep. of Compuer cience Cornell Universiy mshong@cs.cornell.edu Johannes Gehrke Dep. of Compuer cience Cornell Universiy johannes@cs.cornell.edu Mirek Riedewald

More information

4 Error Control. 4.1 Issues with Reliable Protocols

4 Error Control. 4.1 Issues with Reliable Protocols 4 Error Conrol Jus abou all communicaion sysems aemp o ensure ha he daa ges o he oher end of he link wihou errors. Since i s impossible o build an error-free physical layer (alhough some shor links can

More information

Simple Network Management Based on PHP and SNMP

Simple Network Management Based on PHP and SNMP Simple Nework Managemen Based on PHP and SNMP Krasimir Trichkov, Elisavea Trichkova bsrac: This paper aims o presen simple mehod for nework managemen based on SNMP - managemen of Cisco rouer. The paper

More information

STEREO PLANE MATCHING TECHNIQUE

STEREO PLANE MATCHING TECHNIQUE STEREO PLANE MATCHING TECHNIQUE Commission III KEY WORDS: Sereo Maching, Surface Modeling, Projecive Transformaion, Homography ABSTRACT: This paper presens a new ype of sereo maching algorihm called Sereo

More information

Voltair Version 2.5 Release Notes (January, 2018)

Voltair Version 2.5 Release Notes (January, 2018) Volair Version 2.5 Release Noes (January, 2018) Inroducion 25-Seven s new Firmware Updae 2.5 for he Volair processor is par of our coninuing effors o improve Volair wih new feaures and capabiliies. For

More information

Service Oriented Solution Modeling and Variation Propagation Analysis based on Architectural Building Blocks

Service Oriented Solution Modeling and Variation Propagation Analysis based on Architectural Building Blocks Carnegie Mellon Universiy From he SelecedWorks of Jia Zhang Ocober, 203 Service Oriened Soluion Modeling and Variaion Propagaion Analysis based on Archiecural uilding locks Liang-Jie Zhang Jia Zhang Available

More information

STRING DESCRIPTIONS OF DATA FOR DISPLAY*

STRING DESCRIPTIONS OF DATA FOR DISPLAY* SLAC-PUB-383 January 1968 STRING DESCRIPTIONS OF DATA FOR DISPLAY* J. E. George and W. F. Miller Compuer Science Deparmen and Sanford Linear Acceleraor Cener Sanford Universiy Sanford, California Absrac

More information

A Matching Algorithm for Content-Based Image Retrieval

A Matching Algorithm for Content-Based Image Retrieval A Maching Algorihm for Conen-Based Image Rerieval Sue J. Cho Deparmen of Compuer Science Seoul Naional Universiy Seoul, Korea Absrac Conen-based image rerieval sysem rerieves an image from a daabase using

More information

Concurrency Control and Recovery in Transactional Process Management

Concurrency Control and Recovery in Transactional Process Management In: Proceedings of he ACM Symposium on Principles of Daabase Sysems (PODS 99), pages 316-326, Philadelphia, Pennsylvania, USA, May/June, 1999. Concurrency Conrol and Recovery in Transacional Process Managemen

More information

Axiomatic Foundations and Algorithms for Deciding Semantic Equivalences of SQL Queries

Axiomatic Foundations and Algorithms for Deciding Semantic Equivalences of SQL Queries Axiomaic Foundaions and Algorihms for Deciding Semanic Equivalences of SQL Queries Shumo Chu, Brendan Murphy, Jared Roesch, Alvin Cheung, Dan Suciu Paul G. Allen School of Compuer Science and Engineering

More information

Less Pessimistic Worst-Case Delay Analysis for Packet-Switched Networks

Less Pessimistic Worst-Case Delay Analysis for Packet-Switched Networks Less Pessimisic Wors-Case Delay Analysis for Packe-Swiched Neworks Maias Wecksén Cenre for Research on Embedded Sysems P O Box 823 SE-31 18 Halmsad maias.wecksen@hh.se Magnus Jonsson Cenre for Research

More information

Quantitative macro models feature an infinite number of periods A more realistic (?) view of time

Quantitative macro models feature an infinite number of periods A more realistic (?) view of time INFINIE-HORIZON CONSUMPION-SAVINGS MODEL SEPEMBER, Inroducion BASICS Quaniaive macro models feaure an infinie number of periods A more realisic (?) view of ime Infinie number of periods A meaphor for many

More information

MATH Differential Equations September 15, 2008 Project 1, Fall 2008 Due: September 24, 2008

MATH Differential Equations September 15, 2008 Project 1, Fall 2008 Due: September 24, 2008 MATH 5 - Differenial Equaions Sepember 15, 8 Projec 1, Fall 8 Due: Sepember 4, 8 Lab 1.3 - Logisics Populaion Models wih Harvesing For his projec we consider lab 1.3 of Differenial Equaions pages 146 o

More information

MIC2569. Features. General Description. Applications. Typical Application. CableCARD Power Switch

MIC2569. Features. General Description. Applications. Typical Application. CableCARD Power Switch CableCARD Power Swich General Descripion is designed o supply power o OpenCable sysems and CableCARD hoss. These CableCARDs are also known as Poin of Disribuion (POD) cards. suppors boh Single and Muliple

More information

NRMI: Natural and Efficient Middleware

NRMI: Natural and Efficient Middleware NRMI: Naural and Efficien Middleware Eli Tilevich and Yannis Smaragdakis Cener for Experimenal Research in Compuer Sysems (CERCS), College of Compuing, Georgia Tech {ilevich, yannis}@cc.gaech.edu Absrac

More information

An Adaptive Spatial Depth Filter for 3D Rendering IP

An Adaptive Spatial Depth Filter for 3D Rendering IP JOURNAL OF SEMICONDUCTOR TECHNOLOGY AND SCIENCE, VOL.3, NO. 4, DECEMBER, 23 175 An Adapive Spaial Deph Filer for 3D Rendering IP Chang-Hyo Yu and Lee-Sup Kim Absrac In his paper, we presen a new mehod

More information

Outline. EECS Components and Design Techniques for Digital Systems. Lec 06 Using FSMs Review: Typical Controller: state

Outline. EECS Components and Design Techniques for Digital Systems. Lec 06 Using FSMs Review: Typical Controller: state Ouline EECS 5 - Componens and Design Techniques for Digial Sysems Lec 6 Using FSMs 9-3-7 Review FSMs Mapping o FPGAs Typical uses of FSMs Synchronous Seq. Circuis safe composiion Timing FSMs in verilog

More information

Chapter 4 Sequential Instructions

Chapter 4 Sequential Instructions Chaper 4 Sequenial Insrucions The sequenial insrucions of FBs-PLC shown in his chaper are also lised in secion 3.. Please refer o Chaper, "PLC Ladder diagram and he Coding rules of Mnemonic insrucion",

More information

Analysis of Various Types of Bugs in the Object Oriented Java Script Language Coding

Analysis of Various Types of Bugs in the Object Oriented Java Script Language Coding Indian Journal of Science and Technology, Vol 8(21), DOI: 10.17485/ijs/2015/v8i21/69958, Sepember 2015 ISSN (Prin) : 0974-6846 ISSN (Online) : 0974-5645 Analysis of Various Types of Bugs in he Objec Oriened

More information

Packet Scheduling in a Low-Latency Optical Interconnect with Electronic Buffers

Packet Scheduling in a Low-Latency Optical Interconnect with Electronic Buffers Packe cheduling in a Low-Laency Opical Inerconnec wih Elecronic Buffers Lin Liu Zhenghao Zhang Yuanyuan Yang Dep Elecrical & Compuer Engineering Compuer cience Deparmen Dep Elecrical & Compuer Engineering

More information

4. Minimax and planning problems

4. Minimax and planning problems CS/ECE/ISyE 524 Inroducion o Opimizaion Spring 2017 18 4. Minima and planning problems ˆ Opimizing piecewise linear funcions ˆ Minima problems ˆ Eample: Chebyshev cener ˆ Muli-period planning problems

More information

CS 152 Computer Architecture and Engineering. Lecture 7 - Memory Hierarchy-II

CS 152 Computer Architecture and Engineering. Lecture 7 - Memory Hierarchy-II CS 152 Compuer Archiecure and Engineering Lecure 7 - Memory Hierarchy-II Krse Asanovic Elecrical Engineering and Compuer Sciences Universiy of California a Berkeley hp://www.eecs.berkeley.edu/~krse hp://ins.eecs.berkeley.edu/~cs152

More information

CAMERA CALIBRATION BY REGISTRATION STEREO RECONSTRUCTION TO 3D MODEL

CAMERA CALIBRATION BY REGISTRATION STEREO RECONSTRUCTION TO 3D MODEL CAMERA CALIBRATION BY REGISTRATION STEREO RECONSTRUCTION TO 3D MODEL Klečka Jan Docoral Degree Programme (1), FEEC BUT E-mail: xkleck01@sud.feec.vubr.cz Supervised by: Horák Karel E-mail: horak@feec.vubr.cz

More information

Lecture 18: Mix net Voting Systems

Lecture 18: Mix net Voting Systems 6.897: Advanced Topics in Crypography Apr 9, 2004 Lecure 18: Mix ne Voing Sysems Scribed by: Yael Tauman Kalai 1 Inroducion In he previous lecure, we defined he noion of an elecronic voing sysem, and specified

More information

A Petri Net Approach for. Performance Oriented Parallel Program Design. A. Ferscha. Institut fur Statistik und Informatik, Universitat Wien

A Petri Net Approach for. Performance Oriented Parallel Program Design. A. Ferscha. Institut fur Statistik und Informatik, Universitat Wien A eri Ne Approach for erformance Oriened arallel rogram Design A. Ferscha Insiu fur Saisik und Informaik, Universia Wien Lenaugasse 2/8, A-1080 Vienna, AUSTRIA Tel.: +43 1 408 63 66 5, Fax: +43 1 408 63

More information

Learning in Games via Opponent Strategy Estimation and Policy Search

Learning in Games via Opponent Strategy Estimation and Policy Search Learning in Games via Opponen Sraegy Esimaion and Policy Search Yavar Naddaf Deparmen of Compuer Science Universiy of Briish Columbia Vancouver, BC yavar@naddaf.name Nando de Freias (Supervisor) Deparmen

More information

Discrete Event Systems. Lecture 14: Discrete Control. Continuous System. Discrete Event System. Discrete Control Systems.

Discrete Event Systems. Lecture 14: Discrete Control. Continuous System. Discrete Event System. Discrete Control Systems. Lecure 14: Discree Conrol Discree Even Sysems [Chaper: Sequenial Conrol + These Slides] Discree Even Sysems Sae Machine-Based Formalisms Saechars Grafce Laboraory 2 Peri Nes Implemenaion No covered in

More information

Test - Accredited Configuration Engineer (ACE) Exam - PAN-OS 6.0 Version

Test - Accredited Configuration Engineer (ACE) Exam - PAN-OS 6.0 Version Tes - Accredied Configuraion Engineer (ACE) Exam - PAN-OS 6.0 Version ACE Exam Quesion 1 of 50. Which of he following saemens is NOT abou Palo Alo Neworks firewalls? Sysem defauls may be resored by performing

More information

MORPHOLOGICAL SEGMENTATION OF IMAGE SEQUENCES

MORPHOLOGICAL SEGMENTATION OF IMAGE SEQUENCES MORPHOLOGICAL SEGMENTATION OF IMAGE SEQUENCES B. MARCOTEGUI and F. MEYER Ecole des Mines de Paris, Cenre de Morphologie Mahémaique, 35, rue Sain-Honoré, F 77305 Fonainebleau Cedex, France Absrac. In image

More information

Improving the Efficiency of Dynamic Service Provisioning in Transport Networks with Scheduled Services

Improving the Efficiency of Dynamic Service Provisioning in Transport Networks with Scheduled Services Improving he Efficiency of Dynamic Service Provisioning in Transpor Neworks wih Scheduled Services Ralf Hülsermann, Monika Jäger and Andreas Gladisch Technologiezenrum, T-Sysems, Goslarer Ufer 35, D-1585

More information

User Adjustable Process Scheduling Mechanism for a Multiprocessor Embedded System

User Adjustable Process Scheduling Mechanism for a Multiprocessor Embedded System Proceedings of he 6h WSEAS Inernaional Conference on Applied Compuer Science, Tenerife, Canary Islands, Spain, December 16-18, 2006 346 User Adjusable Process Scheduling Mechanism for a Muliprocessor Embedded

More information

A New Semantic Cache Management Method in Mobile Databases

A New Semantic Cache Management Method in Mobile Databases Journal o Compuer Science 1 (3): 351-354, 25 ISSN 1549-3636 Science Publicaions, 25 A New Semanic Cache Managemen Mehod in Mobile Daabases Shengei Shi, Jianzhong Li and Chaokun Wang School o Compuer Science

More information

Shortest Path Algorithms. Lecture I: Shortest Path Algorithms. Example. Graphs and Matrices. Setting: Dr Kieran T. Herley.

Shortest Path Algorithms. Lecture I: Shortest Path Algorithms. Example. Graphs and Matrices. Setting: Dr Kieran T. Herley. Shores Pah Algorihms Background Seing: Lecure I: Shores Pah Algorihms Dr Kieran T. Herle Deparmen of Compuer Science Universi College Cork Ocober 201 direced graph, real edge weighs Le he lengh of a pah

More information

Video Content Description Using Fuzzy Spatio-Temporal Relations

Video Content Description Using Fuzzy Spatio-Temporal Relations Proceedings of he 4s Hawaii Inernaional Conference on Sysem Sciences - 008 Video Conen Descripion Using Fuzzy Spaio-Temporal Relaions rchana M. Rajurkar *, R.C. Joshi and Sananu Chaudhary 3 Dep of Compuer

More information

Web System for the Remote Control and Execution of an IEC Application

Web System for the Remote Control and Execution of an IEC Application Web Sysem for he Remoe Conrol and Execuion of an IEC 61499 Applicaion Oana ROHAT, Dan POPESCU Faculy of Auomaion and Compuer Science, Poliehnica Universiy, Splaiul Independenței 313, Bucureși, 060042,

More information

Chapter 3 MEDIA ACCESS CONTROL

Chapter 3 MEDIA ACCESS CONTROL Chaper 3 MEDIA ACCESS CONTROL Overview Moivaion SDMA, FDMA, TDMA Aloha Adapive Aloha Backoff proocols Reservaion schemes Polling Disribued Compuing Group Mobile Compuing Summer 2003 Disribued Compuing

More information

Sam knows that his MP3 player has 40% of its battery life left and that the battery charges by an additional 12 percentage points every 15 minutes.

Sam knows that his MP3 player has 40% of its battery life left and that the battery charges by an additional 12 percentage points every 15 minutes. 8.F Baery Charging Task Sam wans o ake his MP3 player and his video game player on a car rip. An hour before hey plan o leave, he realized ha he forgo o charge he baeries las nigh. A ha poin, he plugged

More information

An Implementation of the PCP, SRP, D-PCP, M-PCP, and FMLP Real-Time Synchronization Protocols in LITMUS RT

An Implementation of the PCP, SRP, D-PCP, M-PCP, and FMLP Real-Time Synchronization Protocols in LITMUS RT An Implemenaion of he PCP, SRP, D-PCP, M-PCP, and FMLP Real-Time Synchronizaion Proocols in LITMUS RT Björn B. Brandenburg and James H. Anderson The Universiy of Norh Carolina a Chapel Hill Absrac We exend

More information

COSC 3213: Computer Networks I Chapter 6 Handout # 7

COSC 3213: Computer Networks I Chapter 6 Handout # 7 COSC 3213: Compuer Neworks I Chaper 6 Handou # 7 Insrucor: Dr. Marvin Mandelbaum Deparmen of Compuer Science York Universiy F05 Secion A Medium Access Conrol (MAC) Topics: 1. Muliple Access Communicaions:

More information

Construction Process. Transactional Process Scheduler. Production Process. 2.3 Transactional Subsystems. Test. CAD Documentation. Conflict!

Construction Process. Transactional Process Scheduler. Production Process. 2.3 Transactional Subsystems. Test. CAD Documentation. Conflict! Philadelphia, Pennsylvania, USA, May 31 - June 2, 1999. Concurrency Conrol and Recovery in Transacional Process Managemen Heo Schuld Gusavo Alonso Insiue of Informaion Sysems Swiss Federal Insiue of Technology

More information

Motor Control. 5. Control. Motor Control. Motor Control

Motor Control. 5. Control. Motor Control. Motor Control 5. Conrol In his chaper we will do: Feedback Conrol On/Off Conroller PID Conroller Moor Conrol Why use conrol a all? Correc or wrong? Supplying a cerain volage / pulsewidh will make he moor spin a a cerain

More information

An Improved Square-Root Nyquist Shaping Filter

An Improved Square-Root Nyquist Shaping Filter An Improved Square-Roo Nyquis Shaping Filer fred harris San Diego Sae Universiy fred.harris@sdsu.edu Sridhar Seshagiri San Diego Sae Universiy Seshigar.@engineering.sdsu.edu Chris Dick Xilinx Corp. chris.dick@xilinx.com

More information

SOT: Compact Representation for Triangle and Tetrahedral Meshes

SOT: Compact Representation for Triangle and Tetrahedral Meshes SOT: Compac Represenaion for Triangle and Terahedral Meshes Topraj Gurung and Jarek Rossignac School of Ineracive Compuing, College of Compuing, Georgia Insiue of Technology, Alana, GA ABSTRACT The Corner

More information

Image segmentation. Motivation. Objective. Definitions. A classification of segmentation techniques. Assumptions for thresholding

Image segmentation. Motivation. Objective. Definitions. A classification of segmentation techniques. Assumptions for thresholding Moivaion Image segmenaion Which pixels belong o he same objec in an image/video sequence? (spaial segmenaion) Which frames belong o he same video sho? (emporal segmenaion) Which frames belong o he same

More information

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab

Y. Tsiatouhas. VLSI Systems and Computer Architecture Lab CMOS INEGRAED CIRCUI DESIGN ECHNIQUES Universiy of Ioannina Clocking Schemes Dep. of Compuer Science and Engineering Y. siaouhas CMOS Inegraed Circui Design echniques Overview 1. Jier Skew hroughpu Laency

More information

The Roots of Lisp paul graham

The Roots of Lisp paul graham The Roos of Lisp paul graham Draf, January 18, 2002. In 1960, John McCarhy published a remarkable paper in which he did for programming somehing like wha Euclid did for geomery. 1 He showed how, given

More information

Chapter 8 LOCATION SERVICES

Chapter 8 LOCATION SERVICES Disribued Compuing Group Chaper 8 LOCATION SERVICES Mobile Compuing Winer 2005 / 2006 Overview Mobile IP Moivaion Daa ransfer Encapsulaion Locaion Services & Rouing Classificaion of locaion services Home

More information

The Data Locality of Work Stealing

The Data Locality of Work Stealing The Daa Localiy of Work Sealing Umu A. Acar School of Compuer Science Carnegie Mellon Universiy umu@cs.cmu.edu Guy E. Blelloch School of Compuer Science Carnegie Mellon Universiy guyb@cs.cmu.edu Rober

More information

Design and Application of Computer-aided English Online Examination System NONG DeChang 1, a

Design and Application of Computer-aided English Online Examination System NONG DeChang 1, a 3rd Inernaional Conference on Maerials Engineering, Manufacuring Technology and Conrol (ICMEMTC 2016) Design and Applicaion of Compuer-aided English Online Examinaion Sysem NONG DeChang 1, a 1,2 Guangxi

More information

MOBILE COMPUTING 3/18/18. Wi-Fi IEEE. CSE 40814/60814 Spring 2018

MOBILE COMPUTING 3/18/18. Wi-Fi IEEE. CSE 40814/60814 Spring 2018 MOBILE COMPUTING CSE 40814/60814 Spring 2018 Wi-Fi Wi-Fi: name is NOT an abbreviaion play on Hi-Fi (high fideliy) Wireless Local Area Nework (WLAN) echnology WLAN and Wi-Fi ofen used synonymous Typically

More information

MOBILE COMPUTING. Wi-Fi 9/20/15. CSE 40814/60814 Fall Wi-Fi:

MOBILE COMPUTING. Wi-Fi 9/20/15. CSE 40814/60814 Fall Wi-Fi: MOBILE COMPUTING CSE 40814/60814 Fall 2015 Wi-Fi Wi-Fi: name is NOT an abbreviaion play on Hi-Fi (high fideliy) Wireless Local Area Nework (WLAN) echnology WLAN and Wi-Fi ofen used synonymous Typically

More information

Restorable Dynamic Quality of Service Routing

Restorable Dynamic Quality of Service Routing QOS ROUTING Resorable Dynamic Qualiy of Service Rouing Murali Kodialam and T. V. Lakshman, Lucen Technologies ABSTRACT The focus of qualiy-of-service rouing has been on he rouing of a single pah saisfying

More information

Computer representations of piecewise

Computer representations of piecewise Edior: Gabriel Taubin Inroducion o Geomeric Processing hrough Opimizaion Gabriel Taubin Brown Universiy Compuer represenaions o piecewise smooh suraces have become vial echnologies in areas ranging rom

More information

Announcements. TCP Congestion Control. Goals of Today s Lecture. State Diagrams. TCP State Diagram

Announcements. TCP Congestion Control. Goals of Today s Lecture. State Diagrams. TCP State Diagram nnouncemens TCP Congesion Conrol Projec #3 should be ou onigh Can do individual or in a eam of 2 people Firs phase due November 16 - no slip days Exercise good (beer) ime managemen EE 122: Inro o Communicaion

More information

Data Structures and Algorithms. The material for this lecture is drawn, in part, from The Practice of Programming (Kernighan & Pike) Chapter 2

Data Structures and Algorithms. The material for this lecture is drawn, in part, from The Practice of Programming (Kernighan & Pike) Chapter 2 Daa Srucures and Algorihms The maerial for his lecure is drawn, in par, from The Pracice of Programming (Kernighan & Pike) Chaper 2 1 Moivaing Quoaion Every program depends on algorihms and daa srucures,

More information

Dynamic Route Planning and Obstacle Avoidance Model for Unmanned Aerial Vehicles

Dynamic Route Planning and Obstacle Avoidance Model for Unmanned Aerial Vehicles Volume 116 No. 24 2017, 315-329 ISSN: 1311-8080 (prined version); ISSN: 1314-3395 (on-line version) url: hp://www.ijpam.eu ijpam.eu Dynamic Roue Planning and Obsacle Avoidance Model for Unmanned Aerial

More information

FIELD PROGRAMMABLE GATE ARRAY (FPGA) AS A NEW APPROACH TO IMPLEMENT THE CHAOTIC GENERATORS

FIELD PROGRAMMABLE GATE ARRAY (FPGA) AS A NEW APPROACH TO IMPLEMENT THE CHAOTIC GENERATORS FIELD PROGRAMMABLE GATE ARRAY (FPGA) AS A NEW APPROACH TO IMPLEMENT THE CHAOTIC GENERATORS Mohammed A. Aseeri and M. I. Sobhy Deparmen of Elecronics, The Universiy of Ken a Canerbury Canerbury, Ken, CT2

More information

source managemen, naming, proecion, and service provisions. This paper concenraes on he basic processor scheduling aspecs of resource managemen. 2 The

source managemen, naming, proecion, and service provisions. This paper concenraes on he basic processor scheduling aspecs of resource managemen. 2 The Virual Compuers A New Paradigm for Disribued Operaing Sysems Banu Ozden y Aaron J. Goldberg Avi Silberschaz z 600 Mounain Ave. AT&T Bell Laboraories Murray Hill, NJ 07974 Absrac The virual compuers (VC)

More information

Why not experiment with the system itself? Ways to study a system System. Application areas. Different kinds of systems

Why not experiment with the system itself? Ways to study a system System. Application areas. Different kinds of systems Simulaion Wha is simulaion? Simple synonym: imiaion We are ineresed in sudying a Insead of experimening wih he iself we experimen wih a model of he Experimen wih he Acual Ways o sudy a Sysem Experimen

More information

Assignment 2. Due Monday Feb. 12, 10:00pm.

Assignment 2. Due Monday Feb. 12, 10:00pm. Faculy of rs and Science Universiy of Torono CSC 358 - Inroducion o Compuer Neworks, Winer 218, LEC11 ssignmen 2 Due Monday Feb. 12, 1:pm. 1 Quesion 1 (2 Poins): Go-ack n RQ In his quesion, we review how

More information

A non-stationary uniform tension controlled interpolating 4-point scheme reproducing conics

A non-stationary uniform tension controlled interpolating 4-point scheme reproducing conics A non-saionary uniform ension conrolled inerpolaing 4-poin scheme reproducing conics C. Beccari a, G. Casciola b, L. Romani b, a Deparmen of Pure and Applied Mahemaics, Universiy of Padova, Via G. Belzoni

More information

BI-TEMPORAL INDEXING

BI-TEMPORAL INDEXING BI-TEMPORAL INDEXING Mirella M. Moro Uniersidade Federal do Rio Grande do Sul Poro Alegre, RS, Brazil hp://www.inf.ufrgs.br/~mirella/ Vassilis J. Tsoras Uniersiy of California, Rierside Rierside, CA 92521,

More information

A pipeline polish string computer*

A pipeline polish string computer* A pipeline polish sring compuer* by GERARD G. BAILLE and JEAN P. SCHOELLKOPF Co--,np'ueT ATcli-iecure Group Grenoble "Universiy, France ABSTRACT This paper describes a new compuer organizaion which allows

More information

Verified Validation of Lazy Code Motion

Verified Validation of Lazy Code Motion Verified Validaion of Lazy Code Moion Jean-Bapise Trisan, Xavier Leroy To cie his version: Jean-Bapise Trisan, Xavier Leroy. Verified Validaion of Lazy Code Moion. ACM SIGPLAN conference on Programming

More information

Utility-Based Hybrid Memory Management

Utility-Based Hybrid Memory Management Uiliy-Based Hybrid Memory Managemen Yang Li Saugaa Ghose Jongmoo Choi Jin Sun Hui Wang Onur Mulu Carnegie Mellon Universiy Dankook Universiy Beihang Universiy ETH Zürich While he memory fooprins of cloud

More information

IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. XX, NO. XX, XX XXXX 1

IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. XX, NO. XX, XX XXXX 1 This is he auhor's version of an aricle ha has been published in his journal. Changes were made o his version by he publisher prior o publicaion. IEEE TRANSACTIONS ON WIRELESS COMMUNICATIONS, VOL. XX,

More information

COMP26120: Algorithms and Imperative Programming

COMP26120: Algorithms and Imperative Programming COMP26120 ecure C3 1/48 COMP26120: Algorihms and Imperaive Programming ecure C3: C - Recursive Daa Srucures Pee Jinks School of Compuer Science, Universiy of Mancheser Auumn 2011 COMP26120 ecure C3 2/48

More information

An Efficient Delivery Scheme for Coded Caching

An Efficient Delivery Scheme for Coded Caching 201 27h Inernaional Teleraffic Congress An Efficien Delivery Scheme for Coded Caching Abinesh Ramakrishnan, Cedric Wesphal and Ahina Markopoulou Deparmen of Elecrical Engineering and Compuer Science, Universiy

More information

Verified Validation of Lazy Code Motion

Verified Validation of Lazy Code Motion Verified Validaion of Lazy Code Moion Jean-Bapise Trisan INRIA Paris-Rocquencour jean-bapise.risan@inria.fr Xavier Leroy INRIA Paris-Rocquencour xavier.leroy@inria.fr Absrac Translaion validaion esablishes

More information

Performance Evaluation of Implementing Calls Prioritization with Different Queuing Disciplines in Mobile Wireless Networks

Performance Evaluation of Implementing Calls Prioritization with Different Queuing Disciplines in Mobile Wireless Networks Journal of Compuer Science 2 (5): 466-472, 2006 ISSN 1549-3636 2006 Science Publicaions Performance Evaluaion of Implemening Calls Prioriizaion wih Differen Queuing Disciplines in Mobile Wireless Neworks

More information

PROCESS AUTOMATION MANUAL TIMER RELAY KF**-DU-EX1.D ISO9001

PROCESS AUTOMATION MANUAL TIMER RELAY KF**-DU-EX1.D ISO9001 PROCESS AUTOMATION MANUAL TIMER RELAY KF**-DU-EX1.D ISO9001 Wih regard o he supply of producs, he curren issue of he following documen is applicable: The general erms of delivery for producs and services

More information

The Difference-bit Cache*

The Difference-bit Cache* The Difference-bi Cache* Toni Juan, Tomas Lang~ and Juan J. Navarro Deparmen of Compuer Archiecure Deparmen of Elecrical and Universia Poli&cnica de Caalunya Compuer Engineering Gran CapiiJ s/n, Modul

More information

Polling Efficiently on Stock Hardware

Polling Efficiently on Stock Hardware Polling Efficienly on Sock Hardware Marc Feeley D6paremen d nformaique e Recherche Opi%aionnelle Universi4 de Monr&l C.P. 628, SUCC. A, Monr&l, Canada H3C 3J7 f eeley@iro.umonreal. ca Absrac Two sraegies

More information

Time Expression Recognition Using a Constituent-based Tagging Scheme

Time Expression Recognition Using a Constituent-based Tagging Scheme Track: Web Conen Analysis, Semanics and Knowledge Time Expression Recogniion Using a Consiuen-based Tagging Scheme Xiaoshi Zhong and Erik Cambria School of Compuer Science and Engineering Nanyang Technological

More information

Po,,ll. I Appll I APP2 I I App3 I. Illll Illlllll II Illlll Illll Illll Illll Illll Illll Illll Illll Illll Illll Illll Illlll Illl Illl Illl

Po,,ll. I Appll I APP2 I I App3 I. Illll Illlllll II Illlll Illll Illll Illll Illll Illll Illll Illll Illll Illll Illll Illlll Illl Illl Illl Illll Illlllll II Illlll Illll Illll Illll Illll Illll Illll Illll Illll Illll Illll Illlll Illl Illl Illl US 20110153728A1 (19) nied Saes (12) Paen Applicaion Publicaion (10) Pub. No.: S 2011/0153728

More information

Combinatorial Optimization for Embedded System Design. Luca Benini

Combinatorial Optimization for Embedded System Design. Luca Benini Combinaorial Opimizaion for Embedded Sysem Design Luca Benini Work in cooperaion wih Michela Milano s group Embedded Sysems A rough definiion Any compuing sysem which is no a compuer Large variey of devices

More information

Michiel Helder and Marielle C.T.A Geurts. Hoofdkantoor PTT Post / Dutch Postal Services Headquarters

Michiel Helder and Marielle C.T.A Geurts. Hoofdkantoor PTT Post / Dutch Postal Services Headquarters SHORT TERM PREDICTIONS A MONITORING SYSTEM by Michiel Helder and Marielle C.T.A Geurs Hoofdkanoor PTT Pos / Duch Posal Services Headquarers Keywords macro ime series shor erm predicions ARIMA-models faciliy

More information

Abstracting Abstract Machines

Abstracting Abstract Machines Absracing Absrac Machines David Van Horn Norheasern Universiy dvanhorn@ccs.neu.edu Mahew Migh Universiy of Uah migh@cs.uah.edu Absrac We describe a derivaional approach o absrac inerpreaion ha yields novel

More information

Low-Cost WLAN based. Dr. Christian Hoene. Computer Science Department, University of Tübingen, Germany

Low-Cost WLAN based. Dr. Christian Hoene. Computer Science Department, University of Tübingen, Germany Low-Cos WLAN based Time-of-fligh fligh Trilaeraion Precision Indoor Personnel Locaion and Tracking for Emergency Responders Third Annual Technology Workshop, Augus 5, 2008 Worceser Polyechnic Insiue, Worceser,

More information

Constant-Work-Space Algorithms for Shortest Paths in Trees and Simple Polygons

Constant-Work-Space Algorithms for Shortest Paths in Trees and Simple Polygons Journal of Graph Algorihms and Applicaions hp://jgaa.info/ vol. 15, no. 5, pp. 569 586 (2011) Consan-Work-Space Algorihms for Shores Pahs in Trees and Simple Polygons Tesuo Asano 1 Wolfgang Mulzer 2 Yajun

More information

Handling uncertainty in semantic information retrieval process

Handling uncertainty in semantic information retrieval process Handling uncerainy in semanic informaion rerieval process Chkiwa Mounira 1, Jedidi Anis 1 and Faiez Gargouri 1 1 Mulimedia, InfoRmaion sysems and Advanced Compuing Laboraory Sfax Universiy, Tunisia m.chkiwa@gmail.com,

More information

Dimmer time switch AlphaLux³ D / 27

Dimmer time switch AlphaLux³ D / 27 Dimmer ime swich AlphaLux³ D2 426 26 / 27! Safey noes This produc should be insalled in line wih insallaion rules, preferably by a qualified elecrician. Incorrec insallaion and use can lead o risk of elecric

More information

A Routing Algorithm for Flip-Chip Design

A Routing Algorithm for Flip-Chip Design A Rouing Algorihm for Flip-hip Design Jia-Wei Fang, I-Jye Lin, and Yao-Wen hang, Graduae Insiue of Elecronics Engineering, Naional Taiwan Universiy, Taipei Deparmen of Elecrical Engineering, Naional Taiwan

More information

Real Time Contextual Summarization of Highly Dynamic Data Streams

Real Time Contextual Summarization of Highly Dynamic Data Streams Real Time Conexual Summarizaion of Highly Dynamic Daa Sreams Manoj K Agarwal Microsof Bing Search Technology Cener - India Hyderabad 500032, India agarwalm@microsof.com Krihi Ramamriham Dep. of Compuer

More information

SEINA: A Stealthy and Effective Internal Attack in Hadoop Systems

SEINA: A Stealthy and Effective Internal Attack in Hadoop Systems SEINA: A Sealhy and Effecive Inernal Aack in Hadoop Sysems Jiayin Wang, Teng Wang, Zhengyu Yang, Ying ao, Ningfang i, and Bo Sheng Deparmen of Compuer Science, Universiy of assachuses Boson, 1 orrissey

More information

Small Spacecraft Software Modeling: A Petri Net-Based Approach

Small Spacecraft Software Modeling: A Petri Net-Based Approach SSC13-VIII-3 Small Spacecraf Sofware Modeling: A Peri Ne-Based Approach Levi, Pasha Missouri Universiy of Science and Technology 400 Wes 13h Sree, Rolla, MO 65409-0050; 573-341-7280 lmnn3@ms.edu Faculy

More information

Achieving Security Assurance with Assertion-based Application Construction

Achieving Security Assurance with Assertion-based Application Construction Achieving Securiy Assurance wih Asserion-based Applicaion Consrucion Carlos E. Rubio-Medrano and Gail-Joon Ahn Ira A. Fulon Schools of Engineering Arizona Sae Universiy Tempe, Arizona, USA, 85282 {crubiome,

More information

Visualizing Complex Notions of Time

Visualizing Complex Notions of Time Visualizing Complex Noions of Time Rober Kosara, Silvia Miksch Insiue of Sofware Technology, Vienna Universiy of Technology, Vienna, Ausria Absrac Time plays an imporan role in medicine. Condiions are

More information

Petri Nets for Object-Oriented Modeling

Petri Nets for Object-Oriented Modeling Peri Nes for Objec-Oriened Modeling Sefan Wi Absrac Ensuring he correcness of concurren rograms is difficul since common aroaches for rogram design do no rovide aroriae mehods This aer gives a brief inroducion

More information