Tuning QoD in Stream Processing Engines

Size: px
Start display at page:

Download "Tuning QoD in Stream Processing Engines"

Transcription

1 Proc. 21st Australasan Database Conference (ADC 2010), Brsbane, Australa Tunng QoD n Stream Processng Engnes Mohamed A. Sharaf 1 Panos K. Chrysanths 2 Alexandros Labrnds 2 1 ECE Department, Unversty of Toronto 2 CS Department, Unversty of Pttsburgh msharaf@eecg.toronto.edu {panos, labrnd}@cs.ptt.edu Abstract Qualty of Servce (QoS) and Qualty of Data (QoD) are the two major dmensons for evaluatng any query processng system. In the context of data stream management systems (DSMSs), mult-query schedulng has been exploted to mprove QoS. In ths paper, we are proposng to explot query schedulng to mprove QoD n DSMSs. Specfcally, we are presentng a new polcy for schedulng multple contnuous queres wth the objectve of maxmzng the freshness of the output data streams and hence the QoD of such outputs. The proposed Freshness-Aware Schedulng of Multple Contnuous Queres (FAS-MCQ) polcy decdes the executon order of contnuous queres based on each query s propertes (.e., cost and selectvty) as well the propertes of the nput update streams (.e., varablty of updates). Our expermental results have shown that FAS-MCQ can mprove QoD by up to 50% compared to exstng schedulng polces used n DSMSs. Fnally, we propose and evaluate a parametrzed verson of our FAS-MCQ scheduler that s able to balance the trade-off between freshness and response tme accordng to the applcaton s requrements. Keywords: Qualty of Servce (QoS), Qualty of Data (QoD), Data Freshness, Data Stream Management Systems, Contnuous Queres, Operator Schedulng. 1 Introducton Data streams processng s an emergng research area that s drven by the growng need for montorng applcatons. A montorng applcaton contnuously processes streams of data for nterestng, sgnfcant, or anomalous events, as defned by the users. Montorng applcatons have been used n mportant busness and scentfc nformaton systems, for example, montorng network performance, real-tme detecton of dsease outbreaks, trackng the stock market, performng envronmental montorng va sensor networks, provdng personalzed and customzed Web pages. For example, consder the Unversty of Pttsburgh s Realtme Outbreak of Dsease Survellance The frst author s supported n part by the Ontaro Mnstry of Research and Innovaton Postdoctoral Fellowshp. Ths work s also partally supported by NSF under project AQSIOS (IIS ) and Career award (IIS ). Copyrght c 2010, Australan Computer Socety, Inc. Ths paper appeared at the The twenty-frst Australasan Database Conference (ADC2010), Brsbane, Australa, January Conferences n Research and Practce n Informaton Technology (CRPIT), Vol. 104, Heng Tao Shen and Athman Bouguettaya, Ed. Reproducton for academc, not-for proft purposes permtted provded ths text s ncluded. System ( Such a system receves data from dfferent sources (e.g., hosptals, clncs, pharmaces, etc.) and ntegrates t together n order to detect correlatons or abnormal events. In the event of detectng a dsease outbreak, CDC and health departments are notfed to start moblzng ther resources. Effcent employment of montorng applcatons needs advanced data processng technques that can support the contnuous processng of rapd unbounded data streams. Such technques go beyond the capabltes of tradtonal store-then-query Data Base Management Systems. Ths need has led to a new data processng paradgm and created a new generaton of data processng systems, called Data Stream Management Systems (DSMS) that support the executon of contnuous queres on data streams (Terry et al. 1992). Aurora (Carney et al. 2002), STREAM (Motwan et al. 2003), TelegraphCQ (Chandrasekaran et al. 2003), Trbeca (Sullvan 1996), Ggascope (Cranor et al. 2003), Nagara (Chen et al. 2000) and Nle (Hammad et al. 2004) are examples of current prototype DSMSs. In such systems, each montorng applcaton regsters a set of contnuous queres (CQs), where a CQ s contnuously executed wth the arrval of new relevant data (Fgure 1). In the Realtme Outbreak of Dsease System (RODS) example, health offcals regster queres for trackng specfc ndcators of dsease outbreaks by montorng multple nput data streams (e.g., prescrpton data from pharmaces). The arrval of new updates on the nput data streams trggers the executon of the regstered CQs. The output of such a frequent executon of a contnuous query s what we call an output data stream (see Fgure 1). As the amount of updates on the nput data streams ncreases and the number of regstered queres becomes large, advanced query processng technques are needed n order to effcently synchronze the results of the contnuous queres wth the avalable updates. Effcent schedulng of updates s one such query processng technque whch successfully mproves the Qualty of Data (QoD) provded by nteractve systems. QoD can be measured n dfferent dmensons such as accuracy, completeness, freshness etc. (Yeganeh et al. 2009). In ths paper, we focus on mprovng QoD n a DSMS n terms of freshness as we assume complete processng of stream data where the DSMS operates under a reasonable load wthout the need for employng load sheddng or approxmaton technques. As such, the DSMS provdes complete and accurate results that, however, mght be stale whch makes freshness the man QoD dmenson to consder for mprovement. Freshness s especally mportant, when we are nterested n an accurate vew of the current physcal 103

2 CRPIT Volume Database Technologes 2010 world, be t an outbreak of a dsease (as n the RODS system) or the detecton of traffc patterns and congestons n an urban settng durng a physcal dsaster. Such accurate vews must reflect all postve event sgnals (.e., updates) that satsfy the regstered CQs. Freshness, as well as schedulng polces for mprovng freshness, has been studed n contexts such as replcated databases (Cho & Garca-Molna 2000, 2003), Web databases (Labrnds & Roussopoulos 2001, Qu et al. 2006, Qu & Labrnds 2007), and dstrbuted caches (Olston & Wdom 2002). To the best of our knowledge, our work s the frst to study the problem of freshness n the context of data streams. In ths respect, our work can be regarded as complementary to the current work on the processng of contnuous queres, whch consders manly Qualty of Servce (QoS) metrcs lke response tme and throughput such as (Carney et al. 2003, Chandrasekaran et al. 2003, Babcock et al. 2003, Sutherland et al. 2005, Ba & Zanolo 2008, Sharaf et al. 2008). The contrbutons of ths paper are as follows: 1. We propose a polcy for Freshness-Aware Schedulng of Multple Contnuous Queres (FAS-MCQ). The proposed polcy, FAS-MCQ, has the followng salent features: It explots the varablty of the processng costs of dfferent contnuous queres regstered at the DSMS. It utlzes the dvergence n the arrval patterns and frequences of updates streamed from dfferent remote data sources. It consders the mpact of selectvty on the freshness of the output data stream. Revertng back to our RODS/event detecton example, our proposed polcy wll favor queres that lead to postve sgnals nstead of blndly processng queres that lead to negatve sgnals. 2. Beyond the basc FAS-MCQ polcy, we have also explored a weghted verson of our FAS-MCQ schedulng polcy that supports applcatons n whch queres have dfferent prortes. These prortes could reflect crtcalty, and hence ther mportance wth respect to QoD captured by freshness, or popularty, and thus be used to optmze the overall user satsfacton. 3. We study the trade-off between schedulng CQs wth the goal of mprovng QoD (usng FAS- MCQ) as opposed to schedulng to mprove QoS, whch s provded by Rate-based polces such as the ones proposed n (Sharaf et al. 2008, 2006, Urhan & Frankln 2001) 4. Fnally, we propose a parametrzed verson of our FAS-MCQ scheduler that s able to balance the trade-off between QoD and QoS accordng to the applcaton s requrements. In order to evaluate our proposed schedulng polces, we have mplemented a smulator of such DSMS scheduler and ran extensve experments. As our expermental results have shown, FAS-MCQ can mprove QoD by up to 55% compared to exstng schedulng polces used n DSMSs. FAS-MCQ acheves ths mprovement by decdng the executon order of contnuous queres based on ndvdual query propertes (.e., cost and selectvty) as well as propertes of the update streams (.e., varablty of updates). The rest of ths paper s organzed as follows. Secton 2 provdes the system model. In Secton 3, we Input Data Streams Fgure 1: queres Query Optmzer Query Scheduler Contnuous Query Q n Contnuous Query Q 1 Memory Manager Load Shedder Output Data Stream D n Output Data Stream D 1 A DSMS hostng multple contnuous defne our freshness-based QoD metrcs. Our proposed polces for mprovng freshness are presented n Secton 4. In Secton 5, we study the trade-off between QoD and QoS. Secton 6 descrbes our smulaton testbed, whereas Secton 7 dscusses our experments and results. Secton 8 surveys related work. We conclude n Secton 9. 2 System Model We assume a data stream management system (DSMS) where users regster multple contnuous queres over multple nput data streams (as shown n Fgure 1). In ths secton, we dscuss the detals of data stream processng n a DSMS, whereas n Secton 3, we defne our freshness-based QoD metrcs on data streams. In a DSMS, each nput data stream conssts of updates at remote data sources that are ether contnuously pushed to the DSMS or frequently pulled from the data sources. For example, sensor networks readngs are contnuously pushed to the DSMS, whereas updates to Web databases are frequently pulled usng Web crawlers. Each update u s assocated wth a tmestamp t. Ths tmestamp s ether assgned by the data source or by the DSMS. In the former case, the tmestamp reflects the tme when the update took place, whereas n the latter case, t represents the arrval tme of the update at the DSMS. In ths work, we assume sngle-stream queres where each query s defned over a sngle data stream. However, data streams can be shared by multple queres, n whch case each query wll operate on ts own copy of the data stream. Queres can also be shared among multple users, n whch case the results wll be shared among them. A sngle-stream query plan can be conceptualzed as a data flow dagram (Carney et al. 2002, Babcock et al. 2003),.e., as a sequence of nodes and edges, where the nodes are operators that process data and the edges represent the flow of data from one operator to another (as n Fgure 1). A query Q starts at a leaf node and ends at a root node (O r ). An edge from operator O 1 to operator O 2 means that the output of operator O 1 s an nput to operator O 2. Addtonally, each operator has ts own nput queue where data s buffered for processng. As a new update arrves at a query Q, t passes through the sequence of operators that compose Q. An update s processed untl t ether produces an output or untl t s dscarded by some predcate n 104

3 the query. An update produces an output only when t satsfes all the predcates n the query. In a query, each operator O x s assocated wth two values: processng tme or cost (c x ), and selectvty or productvty (s x ). As n tradtonal database systems, an operator wth selectvty s x n a DSMS produces s x tuples after processng one tuple for c x tme unts. s x s typcally less than or equal to 1 for operators lke flters. Selectvty expresses the behavor or power of a flter. Addtonally, for a query Q, we defne three parameters 1. maxmum cost (C ), 2. total selectvty or total productvty (S ), and 3. average cost (C avg ). For a query Q whch s composed of a stream of operators < O 1, O 2, O 3,..., O r >, the maxmum cost C, the total selectvty S and the average cost C avg are defned as follows: C = c 1 + c c r Proc. 21st Australasan Database Conference (ADC 2010), Brsbane, Australa If the tuple satsfes all the query s predcates, then D t = D +1. In ths case, the output data stream D s consdered stale durng the nterval [t, t ] as the new update occurred at tme t and t took untl tme t to append the update to the output data stream. If the tuple does not satsfy all the predcates, then D t = D. In ths case, the output data stream D s consdered fresh durng the nterval [t, t ] because the arrval of a new update has been dscarded by Q. Obvously, f there s no pendng update at the nput queue of D, then D would also be consdered fresh. Equvalently, f we vew a tuple that matches all the predcates of a query as a postve sgnal, then the current defnton of freshness measures the amount of tme that passes before the sgnal becomes vsble to the end users. Formally, to defne freshness, we consder each output data stream D as an object and F(D, t) s the freshness of object D at tme t whch s defned as follows: { 1 f u It, σ(u) s false F(D, t) = 0 f u I t, σ(u) s true (1) S = s 1 s 2... s r C avg = c 1 + c 2 s 1 + c 3 s 2 s c r s r 1...s 1 The total selectvty measures the probablty that a new update wll satsfy all the query predcates, whle the average cost measures the expected tme for processng a new update untl t produces an output or untl t s dscarded. The average cost s computed as follows. An update starts gong through the chan of operators wth O 1, whch has a cost of c 1. Wth a probablty of s 1 (equal to the selectvty of operator O 1 ) the update wll not be fltered out, and, as such, contnue on to the next operator, O 2, whch has a cost of c 2. Movng along, wth a probablty of s 2 the update wll not be fltered out, and, as such, contnue on to the next operator, O 3, whch has a cost of c 3. Up untl now, on average, the cost wll be C avg = c 1 + c 2 s 1 + c 3 s 2 s 1. Ths s generalzed n the formula for C avg above as n (Urhan & Frankln 2001). The maxmum cost s a specal case of the average cost when the selectvty of each operator n the query s 1. 3 Freshness of Data Streams In ths secton, we descrbe our proposed metrc for measurng the qualty of output data streams. Our metrc s based on the freshness of data and s smlar to the ones prevously used n (Cho & Garca- Molna 2000, Labrnds & Roussopoulos 2001, Olston & Wdom 2002, Cho & Garca-Molna 2003, Labrnds & Roussopoulos 2004). However, t s adapted to consder the nature of contnuous queres and nput/output data streams. 3.1 Average Freshness for Sngle Streams In a DSMS, the output of each contnuous query Q s a data stream D. The arrval of new updates at the nput queue of Q mght lead to appendng a new tuple to D. Specfcally, let us assume that at tme t the length of D s D t and there s a sngle update at the nput queue, also wth tmestamp t. Further, assume that Q fnshes processng that update at tme t. At ths tme we dstngush two cases: where I t s the set of nput queues n Q at tme t and σ(u) s the result of applyng Q s predcates on update u. To measure the freshness of a data stream D over an entre dscrete observaton perod from tme T x to tme T y, we have that: T y 1 F(D) = F(D, t) (2) T y T x t=t x Fgure 2 shows an example of measurng the freshness of a data stream. Specfcally, the fgure shows two output data streams; (1) the deal stream, whch shows the tmes nstants when updates became avalable at the DSMS; and (2) the actual stream, whch shows the tme nstants when updates became avalable to the user. The delay between the tme an update s avalable at the system untl the tme t s propagated to the user s composed of two ntervals: (a) the nterval where the contnuous query s watng to be scheduled for executon; and (b) the nterval where the contnuous query s processng the update. The sum of these two ntervals represents the overall nterval when the output data stream devates from the deal one. That s, when the output data stream s stale compared to the physcal world. In the example llustrated n Fgure 2, the output data stream s stale for the ntervals t 1, t 2 and t 3. Hence, the staleness of the data stream s computed as: (t 1 +t 2 +t 3 )/(T y T x ), equvalently, the freshness of the data stream s computed as: ((T y T x ) (t 1 + t 2 + t 3 ))/(T y T x ). 3.2 Average Freshness for Multple Streams Havng measured the average freshness for sngle streams, we proceed to compute the average freshness over all the M data streams mantaned by the DSMS. If the freshness for each stream, D, s gven by F(D ) usng Equaton 2, then the average freshness over all data streams wll be: F = 1 M M F(D ) (3) =1 105

4 CRPIT Volume Database Technologes 2010 Ideal output data stream Actual output data stream Fresh Stale t 1 t 2 t 3 T x T y Fgure 2: An example on measurng the freshness of a data stream 4 Freshness-Aware Schedulng of Multple Contnuous Queres In ths secton we descrbe our proposed polcy for Freshness-Aware Schedulng of Multple Contnuous Queres (FAS-MCQ). Current work on schedulng the executon of multple contnuous queres focuses manly on QoS metrcs such as response tme and throughput. Examples of such work appeared n (Chen et al. 2000, Shanmugasundaram et al. 2002, Carney et al. 2003, Chandrasekaran et al. 2003, Babcock et al. 2003, Sutherland et al. 2005, Sharaf et al. 2006, Ba & Zanolo 2008, Sharaf et al. 2008). The schedulng polces proposed n that body of work manly exploted the varablty n the output rate of dfferent CQs to mprove the provded QoS. Meanwhle, prevous work on synchronzng database updates exploted the varablty n the amount (frequency) of updates to mprove the provded QoD (Cho & Garca-Molna 2000, Olston & Wdom 2002, Cho & Garca-Molna 2003). In contrast to the work mentoned above, our proposal, FAS-MCQ, explots both the varablty n output rate as well as the amount of updates to mprove the QoD,.e., freshness, of output data streams. In our prevous work (Sharaf et al. 2005), we provde prelmnary work on mprovng the freshness of data streams. In the next sectons, we provde detaled analyss of our approach as well as extensons for handlng mult-class contnuous queres (Secton 4.4) and for effcent mplementaton (Secton 4.5). Addtonally, n Secton 5, we address the problem of balancng the trade-off between schedulng wth the goal of mprovng QoD vs. QoS. 4.1 Schedulng wthout Selectvty In order to explan the ntuton underlyng our FAS- MCQ scheduler, let us assume two queres Q 1 and Q 2, wth output data streams D 1 and D 2. Each query s composed of a set of operators, each operator has a certan cost, and the selectvty of each operator s one. Hence, we can calculate for each query Q ts maxmum cost C as shown n Secton 2. Moreover, assume that there are N 1 and N 2 pendng updates for queres Q 1 and Q 2 respectvely. Fnally, assume that the current wat tme for the update at the head of Q 1 s queue s W 1, smlarly, the current wat tme for the update at the head of Q 2 s queue s W 2. In order to determne whch of the two queres should be scheduled frst for executon, we compare two polces X and Y : Under polcy X, query Q 1 s executed before query Q 2, Under polcy Y, query Q 2 s executed before query Q 1. Under polcy X, where query Q 1 s executed before query Q 2, the total loss n freshness, L X, (.e., the perod of tme where Q 1 and Q 2 are stale) can be computed as follows: L X = L X,1 + L X,2 (4) where L X,1 and L X,2 are the staleness perods experenced by Q 1 and Q 2 respectvely. Snce Q 1 wll reman stale untl all ts pendng updates are processed, L X,1 s computed as follows: L X,1 = W 1 + (N 1 C 1 ) where W 1 s the current loss n freshness (.e., ncrease n staleness) and (N 1 C 1 ) s the tme requred to apply all the pendng updates. Smlarly, L X,2 s computed as follows: L X,2 = (W 2 + N 1 C 1 ) + (N 2 C 2 ) where W 2 s the current loss n freshness plus the extra amount of tme (N 1 C 1 ) where Q 2 wll be watng for Q 1 to fnsh executon. By substtuton n Equaton 4, we get L X = W 1 + (N 1 C 1 ) + (W 2 + N 1 C 1 ) + (N 2 C 2 ) (5) Smlarly, under polcy Y, where Q 2 s scheduled before Q 1, we have that the total loss n freshness, L Y wll be: L Y = (W 1 + N 2 C 2 ) + (N 1 C 1 ) + W 2 + (N 2 C 2 ) (6) In order for L X to be less than L Y, the followng nequalty must be satsfed: N 1 C 1 < N 2 C 2 (7) The left-hand sde of Inequalty 7 shows the total ncrease n staleness ncurred by Q 2 when Q 1 s executed frst. Smlarly, the rght-hand sde shows the total ncrease n staleness ncurred by Q 1 when Q 2 s executed frst. Hence, the nequalty mples that between the two queres, we start wth the one that has the lower N C value. Smlarly, n the general case, where there are more than 2 queres ready for executon, we start wth the one that has the lowest N C value snce t wll have the mnmum negatve mpact on the freshness of the other queres n the system. Fnally, t s worth mentonng that mnmzng the negatve mpact on the overall freshness was the same general crteron that we used n our pror work on schedulng updates over materalzed WebVews (Labrnds & Roussopoulos 2001). 106

5 4.2 Schedulng wth Selectvty Assume the same settng as n the prevous secton, wth the only dfference beng that the total productvty of each query Q s S [0, 1], whch s computed as n Secton 2. The objectve when schedulng wth selectvty s the same as before: we want to mnmze the total staleness. Recall from Inequalty 7 that the objectve of mnmzng the total loss s equvalent to selectng for executon the query that mnmzes the loss n freshness ncurred by other queres n the system. In the presence of selectvty, we wll apply the same prncple above. Towards ths, we frst need to compute for each output data stream D ts staleness probablty (P ) gven the current status of the nput data stream. Ths s equvalent to computng the probablty that at least one of the pendng updates wll satsfy all of Q s predcates. If S s the total selectvty of Q, then (1 S ) N s the probablty that all pendng updates do not satsfy Q s predcates, and hence P = 1 (1 S ) N s the staleness probablty for Q. If out of two queres Q 1 and Q 2, Q 2 s executed before Q 1, then the expected loss n freshness ncurred by Q 1 due only to the mpact of processng Q 2 frst wll be: L Q1 = P 1 N 2 C avg 2 (8) where N 2 C avg 2 s the expected tme that Q 1 wll be watng for Q 2 to fnsh executon and P 1 s the probablty that D 1 s stale n the frst place. For example, n the extreme case of S 1 = 0, f Q 2 s executed before Q 1, t wll not ncrease the staleness of D 1 snce all the updates wll not satsfy Q 1. However, at S 1 = 1, f Q 2 s executed before Q 1, then the staleness of D 1 wll ncrease by N 2 C avg 2 wth probablty one. Smlarly, f Q 1 s executed before Q 2, then the expected loss n freshness ncurred by Q 2 only due to processng Q 1 frst s computed as: L Q2 = P 2 N 1 C avg 1 (9) In order for L Q2 to be less than L Q1, then the followng nequalty must be satsfed: N 1 C avg 1 P 1 < N 2C avg 2 (10) P 2 Thus, n our proposed polcy, each query Q s assgned a prorty value V whch s the product of ts staleness probablty and the nverse of the product of ts expected cost and the number of ts pendng updates. Formally, V = 1 (1 S ) N N C avg 4.3 The FAS-MCQ Polcy (11) Our proposed polcy for Freshness-Aware Schedulng for Multple Contnuous Queres (FAS-MCQ) uses the prorty functon of Equaton 11 to determne the schedulng order of dfferent queres. Under ths prorty functon FAS-MCQ behaves as follows: 1. If all queres have the same number of pendng tuples and the same selectvty, then FAS-MCQ selects for executon the query wth the lowest cost. 2. If all queres have the same cost and the same selectvty, then FAS-MCQ selects for executon the query wth less pendng tuples. Proc. 21st Australasan Database Conference (ADC 2010), Brsbane, Australa 3. If all queres have the same cost and the same number of pendng tuples, then FAS-MCQ selects for executon the query wth hgh staleness probablty. In case (1), FAS-MCQ behaves lke the Shortest Remanng Processng Tme polcy. In case (2), FAS- MCQ gves lower prorty to the query wth hgh frequency of updates. The ntuton s that when the frequency of updates s hgh, t wll take a long tme to establsh the freshness of the output data stream. Ths wll block other queres from executng and wll ncrease the staleness of ther output data streams. In case (3), FAS-MCQ gves lower prorty to queres wth low selectvty as there s a low probablty that the pendng updates wll survve the flterng of the query operators and thus be appended to the output data stream. 4.4 Weghted Freshness In many montorng applcatons, some queres are more mportant than others. That s especally obvous n emergency systems where a few contnuous queres can be more crtcal than others. For example, under the RODS system that montors for dsease outbreaks, t s crucal to montor for sgns of waterborne dseases n areas affected by Hurrcane Katrna (and thus consder the correspondng query more crucal than the rest), whereas n other areas of the world t may be more mportant to montor for sgns of the avan flu. In cases lke these, when the system s loaded, t s necessary to maxmze the freshness of these crtcal queres. Towards handlng mult-class CQs, we modfy our proposed FAS-MCQ polcy to ncrease the freshness of data streams whch have hgher levels of mportance. Specfcally, we assgn each contnuous query Q a weght α. Ths assgned weght represents the mportance of the query and t takes values n the range (0.0, 1.0] where the weght 1.0 s assgned to the most mportant query. Hence, the objectve of our polcy would be to maxmze the overall weghted freshness. A prorty functon that allows us to maxmze the weghted freshness can be easly deduced from Equatons 8 and 9. Recall that Equaton 8 measures the expected loss n freshness experenced by Q 1 due to executng Q 2 frst, thus, the expected loss n weghted freshness experenced by Q 1 s measured as: WL Q1 = α 1 P 1 N 2 C avg 2 Smlarly, the expected loss n weghted freshness experenced by Q 2, when Q 1 s executed frst, s measured as: WL Q2 = α 2 P 2 N 1 C avg 1 In order for WL Q2 to be less than WL Q1, the followng nequalty must be satsfed: N 1 C avg 1 P 1 α 1 < N 2C avg 2 P 2 α 2 Then, the prorty assgned to each query s computed as: V = α (1 (1 S ) N ) N C avg (12) The weghts of the queres can be explctly or mplctly defned, dependng on the applcaton. For example, n the case of an applcaton that ncludes queres that are crtcal, the crtcal queres can be explctly assgned hgher weghts than the rest of the queres. In applcatons where explct crtcalty/mportance nformaton s not gven, an mplct 107

6 CRPIT Volume Database Technologes 2010 measure of mportance can be derved. For example, the popularty of each query (.e., the number of users that regstered that query) can be used as the weght. In such an applcaton, the weghted FAS- MCQ polcy wll provde hgh levels of overall user satsfacton n terms of QoD (freshness). Fnally, t s worth mentonng that the weght gven to a query can be dynamc; for example, t can change dependng on the tme of day or the day of the week (e.g., for traffc management queres). 4.5 Implementng the FAS-MCQ Scheduler The FAS-MCQ Scheduler s nvoked at every schedulng pont and uses the current values for N and S to compute the prorty of each query Q, accordng to Equaton 11. In our mplementaton of the FAS- MCQ polcy, a schedulng pont s reached when a query fnshes executon. In order to keep the schedulng overhead low when computng prortes, we use a Calendar Queue (Brown 1988) for prorty management. Calendar queues have been wdely used for mplementng prorty-based schedulng algorthms n hgh-speed networks as well as n the Aurora DSMS (Carney et al. 2003). A calendar queue s an O(1) prorty queue, based on the dea of Bucket Sort. Specfcally, the calendar queue s structured as buckets where each bucket corresponds to a class of prortes. To nsert an element n the calendar queue, a hash functon s used to map ts prorty to the correspondng bucket. To retreve elements from the calendar queue, buckets are traversed n order. A calendar queue allows us to avod re-computng the prortes of queres that receved no new updates between consecutve schedulng ponts. Addtonally, for queres wth new updates, the amortzed cost of updatng the prorty s of O(1). 5 Schedulng for QoD vs. Schedulng for QoS In ths secton we dscuss the dfference n behavor between schedulng wth the goal of mprovng QoD as opposed to schedulng wth the goal of mprovng QoS (.e., when the objectve s to mnmze the average response tme). We also present a parametrzed verson of our FAS-MCQ scheduler that balances the trade-off between both the QoD and QoS metrcs. 5.1 Schedulng for QoS In tradtonal DBMSs, the response tme of a query s defned as the amount of tme from the tme the query arrves at the system untl the tme when the last tuple of the result s produced. The defnton of response tme above captures the behavor of DBMSs whch respond to the arrval of queres. In contrast, DSMSs respond to the arrval of new data. Hence, n a DSMS, t s more approprate to defne response tme from the perspectve of data (nstead of queres). Therefore, we defne tuple response tme as follows: Defnton 1 Tuple response tme, T, for tuple s T = D A, where A s the tuple arrval tme and D s the tuple departure tme. Accordngly, the average response tme for N tuples s: 1 N N T. Under ths defnton, tuples that are fltered out durng query processng do not contrbute to the overall response tme metrc (Tan & DeWtt 2003). The Rate-based (RB) polcy has been shown to mprove the average response tme of a sngle multstream query wth jon operators (Urhan & Frankln 2001). In the basc RB polcy, each operator path wthn a query s assgned a prorty that s equal to ts producton rate. The path wth the hghest prorty s the one scheduled for executon. In our prevous work (Sharaf et al. 2006, 2008), we generalze the basc Rate-based strategy for schedulng multple contnuous queres wth the objectve of mnmzng the average response tme. That s, multple contnuous queres are scheduled for executon based on ther output rates. In ths paper, we call that extended verson of RB as Rate-based for Multple Contnuous Queres (). Under, at each schedulng pont we select for executon the CQ wth the hghest prorty (.e., output rate). Specfcally, under, each query Q has a value called the global output rate (GR ) whch s defned n terms of the parameters of the CQ operators. The output rate of a query Q, composed of the operators < O 1, O 2, O 3,..., O r >, s bascally the expected number of tuples produced per tme unt due to processng one tuple by the operators along the query all the way to the root O r. Formally, or, equvalently, GR = S C avg GR = 1 (1 S ) C avg (13) (14) where S and C avg are the CQ s expected selectvty and expected cost as defned n Secton Balancng the Trade-off between QoD and QoS In ths secton, we present our approach for balancng the trade-off between QoS and QoD. In partcular, we propose a tunable verson of our FAS-MCQ scheduler that balances the trade-off between the provded response tme and data freshness n a data stream management system. Towards tunng the trade-off n the perceved performance, we argue that the dstncton between schedulng for QoD and QoS s easly dentfed by comparng the prorty functons used by FAS-MCQ (Equaton 11) versus the one used by (Equaton 14). Specfcally, the schedulng decson made by FAS-MCQ consders three factors: (1) cost (2), selectvty, and (3) number of pendng tuples, whereas consders only the frst two factors. As a result, FAS-MCQ mght favor a query wth a relatvely expensve cost and very few pendng tuples as opposed to whch mght favor an nexpensve query wth a large number of pendng tuples. In such case, may be appendng tuples faster to the output data streams (.e., provdng low response tme), however, the appended tuples would be stale most of the tme. On the other hand, FAS- MCQ mght be relatvely slower n appendng tuples to the output data streams (.e., provdng hgh response tme) yet would mantan most of those output data streams as fresh as possble. Gven the above observatons, we propose a parametrzed verson of FAS-MCQ that balances the trade-off between the acheved QoD and QoS. We wll refer to ths polcy as FAS-MCQ(β), where β s a parameter that specfes the weght gven to the number of pendng tuples (.e., N) when computng the prorty of a query. Formally, under FAS-MCQ(β) each query Q s assgned a prorty value V whch s computed as follows: V = 1 (1 S ) Nβ N β Cavg (15) 108

7 The parameter β takes values n the range [0.0,1.0] and t acts as a knob for shapng the system s behavor. For nstance, for β = 0.0, FAS-MCQ(0.0) behaves lke the polcy descrbed above, whereas for β = 1.0, reverts to the orgnal FAS-MCQ descrbed n Secton 4. For settngs where 0.0 < β < 1.0, the system acheves the desred balance between QoD and QoS. 6 Evaluaton Testbed We have conducted several experments to compare the performance of our proposed schedulng polcy and ts senstvty to dfferent parameters. Specfcally, we compared the performance of our proposed FAS-MCQ polcy to a two-level schedulng scheme from Aurora where Round Robn s used to schedule queres and ppelnng s used to process updates wthn the query. Collectvely, we refer to the Aurora scheme n our experments as. We also ncluded the polcy (Sharaf et al. 2006) descrbed n Secton 5 as well as a polcy where updates are processed accordng to ther arrval tmes. Queres: We smulated a DSMS that hosts 250 regstered contnuous queres. The structure of the query s adapted from (Chen et al. 2002, Madden et al. 2002) where each query conssts of three operators: two predcates and one projecton. Real Data Streams: We use the LBL-PKT-4 traces from the Internet Traffc Archve 1. The traces contan an hour s worth of all wde-area traffc between the Lawrence Berkeley Laboratory and the rest of the world. In our experments, we use the TCP and UDP packet traces as 2 nput data streams to the system where the regstered queres are unformly assgned to any of the 2 data streams. Synthetc Data Streams: In ths settng, we generate 10 nput data streams each of length 10K tuples. Intally, we generate the updates for each stream accordng to a Posson dstrbuton, wth ts mean nter-arrval tme set accordng to the smulated system utlzaton (or load). For a utlzaton of 1.0, the nter-arrval tme s equal to the expected tme requred for executng the queres n the system, whereas for lower utlzatons, the mean nter-arrval tme s ncreased proportonally. Moreover, to stress test the system, we generate a back-log of updates where we traverse the Posson stream and group together every 10 consecutve tuples n a burst settng the arrval tme of all tuples that belong to the same burst to be equal to that of the frst tuple n the burst. In the default settng, 5 out of the 10 data streams are bursty. Selectvtes: In any query, the selectvty of the projecton s set to 1, whle the two predcates have the same value for selectvty, whch s selected usng a Zpf dstrbuton from the range [0.1, 1.0]. The Zpf dstrbuton s defned usng a Zpf parameter whch determnes the degree of skewness. In our settng, the skewness s toward queres wth selectvty equal to 1.0 and n the default settng the Zpf parameter s set to 0.0 (.e., unform dstrbuton). Costs: All operators that belong to the same query have the same cost, whch s unformly selected from three possble classes of costs. The cost of an operator n class s equal to: K 2 tme unts, where [0 2] and K s the scalng factor whch s used to scale the costs of operators to meet the desred utlzaton. For syntheszed data, K s equal to 1. For the network traces, we measure the nterarrval tme of the data trace, then we set K so that the rato between the total expected costs of queres 1 Proc. 21st Australasan Database Conference (ADC 2010), Brsbane, Australa Average Staleness 60% 50% 40% 30% 20% 10% 0% System Utlzaton Fgure 3: Average staleness vs. system utlzaton Average Response Tme System Utlzaton RB FAS Fgure 4: Average response tme vs. system utlzaton and the nter-arrval tme s equal to the smulated utlzaton. Fnally, the cost of each of the calendar queue operatons s equal to the cost of the cheapest operator n the system. Table 1 summarzes our smulaton parameters and settngs. 7 Experments In ths secton, we present a representatve sample of the expermental results obtaned under the settngs descrbed n Secton Impact of Utlzaton Fgure 3 depcts the average total staleness over all output data streams as the utlzaton of the DSMS ncreases. In ths settng, we use the basc verson of FAS-MCQ whch s equvalent to settng β to 1.0 n FAS-MCQ(β). The fgure shows that, n general, the staleness of the output data streams ncreases wth ncreasng load. It also shows that the FAS-MCQ polcy provdes the lowest staleness for all values of utlzaton wth beng the closest contender. Addtonally, the relatve mprovement provded by FAS-MCQ compared to ncreases wth ncreasng utlzaton. For nstance, at 0.1 utlzaton, FAS-MCQ acheves 30% reducton n staleness compared to, whereas at 0.95 utlzaton, RB- MCQ provdes a 16% staleness whle FAS-MCQ reduces the staleness to 10% (.e., a 40% mprovement). As expected, the reducton n staleness provded by FAS-MCQ comes at the expense of an ncrease n response tme whch s llustrated n Fgure 4. The fgure shows that, lke staleness, the response tme ncreases wth ncreasng load. Moreover, t shows FAS RB 109

8 CRPIT Volume Database Technologes 2010 Parameter Value Polces FAS-MCQ,,, Number of Queres 250 Number of Operators per Query 3 Operators Costs 1K, 2K, 4K Operators Selectvtes Utlzaton Data Streams real and synthetc Number of Data Streams 2 (real) and 10 (synthetc) Number of Bursty Streams 0 10 Table 1: Smulaton Parameters Average Response Tme Average Staleness % 18% 16% 14% 12% 10% 8% 6% 4% 2% FAS-MCQ(0.0) FAS-MCQ(0.25) FAS-MCQ(0.5) FAS-MCQ(0.75) System Utlzaton Fgure 5: Response tme for dfferent βs FAS-MCQ(0.0) FAS-MCQ (0.25) FAS-MCQ (0.5) FAS-MCQ (0.75) FAS-MCQ (1.0) Average Response Tme FAS-MCQ(0.75) FAS-MCQ(0.5) % 12% 14% 16% 18% 20% Average Staleness Decreasng β FAS-MCQ(0.25) FAS-MCQ(0.0) Fgure 7: Trade-off between staleness and response tme at utlzaton 0.95 Average Staleness 60% 50% 40% 30% 20% 10% 0% System Utlzaton 0% Selectvty Skewness Fgure 6: Staleness for dfferent βs that reduces the response tme compared to FAS-MCQ. For example, at 0.95 utlzaton, the response tme provded by FAS-MCQ s 23% hgher than that of (at a 40% mprovement n staleness compared to as prevously shown n Fgure 3). The trade-off between QoD (.e., freshness) and QoS (.e., response tme) s further llustrated usng Fgures 5 and 6 as explaned next. 7.2 Staleness vs. Response Tme Fgures 5 and 6 show the average staleness and average response tme for the same smulaton settngs used n the prevous experment. In addton to llustratng the dfference n behavor between and FAS-MCQ, the fgures also show the performance of the parametrzed FAS-MCQ(β) polcy. Fgure 5 shows how the response tme of FAS-MCQ decreases by decreasng the value of β down to β = 0.0. Notce that at β = 0.0, the response tme of FAS-MCQ(0.0) s just slghtly hgher than whch s due to the schedulng overheads. On the other hand, Fg- Fgure 8: Staleness vs. skewness n selectvty ure 5 shows the reducton n staleness wth ncreasng values of β. To better assess the magntude of the trade-off, we plot the performance of the dfferent polces at utlzaton 0.95 n Fgure 7. For nstance, the fgure shows that reduces the staleness by 40% whle ncreasng the response tme by 23%, whereas FAS-MCQ(0.25) reduces the staleness by 20% and ncreases the response tme by 14%. 7.3 Impact of Selectvty Fgure 8 shows the average staleness for an experment where all operators have the same cost, utlzaton s set to 95%, and the skewness of selectvty s varable. Recall that we control the degree of skewness usng a Zpf parameter. Specfcally, settng the Zpf parameter to 0.0 results n a unform dstrbuton of selectvty, whereas by the ncreasng ts value the dstrbuton s skewed towards hgh values. That s, most of the regstered CQs are productve. 110

9 Staleness of FAS-MCQ normalzed to Number of Bursty Streams Fgure 9: Staleness vs. number of bursty streams (out of 10) Average Staleness 100% 80% 60% 40% Proc. 21st Australasan Database Conference (ADC 2010), Brsbane, Australa At that pont, FAS-MCQ reduces the staleness by 40%. After that pont, the performance of the two polces gets closer. The explanaton s that at a moderate number of bursty streams (up to 5 streams for ths settng), FAS-MCQ has a better chance to fnd a query wth a short queue of pendng updates to schedule for executon. As the number of bursty streams ncreases, the chance of fndng such a query decreases, and as such, s performng reasonably well. For nstance, at 10 bursty streams, FAS-MCQ reduces the staleness by only 22% compared to. 7.5 Real Data Fgure 10 shows the results for our fnal experment where we use real network traces. The selectvtes and costs of operators are the same as n the frst experment. In Fgure 10, the behavor of the dfferent schedulng algorthms s consstent wth the prevous experments, where FAS-MCQ provdes the lowest staleness followed by, then and. Addtonally, t shows the relatvely hgh values of staleness exhbted by all polces, whch s explaned by the fact that the two traces are hghly bursty, reflectng an ON/OFF traffc pattern. 8 Related Work 20% 0% System Utlzaton Fgure 10: Staleness vs. system utlzaton (real data traces) Fgure 8 shows that by ncreasng the skewness, the staleness provded by all polces ncreases. Ths s because when most of the queres have hgh selectvty, then the arrval of new updates wll render the output data streams stale most of the tme. The fgure also shows that the gans provded by FAS-MCQ compared to ncrease wth ncreasng the skewness. For nstance, at 0.0, FAS-MCQ reduces the staleness by 40% compared to. Ths reducton goes up to 55% when the dstrbuton s hghly skewed. The reason s that at a hghly skewed dstrbuton, all queres wll have the same cost and most of them wll have the same selectvty, hence, for RB- MCQ most queres wll have the same prorty. That s n contrast wth FAS-MCQ whch wll utlze the extra nformaton provded by the number of pendng tuples to dfferentate between queres and to assgn hgher prortes to queres that feed a stale stream or a stream that could be quckly brought to freshness. 7.4 Impact of Bursts The settng for ths experment s the same as the default one. The DSMS utlzaton, however, s set to 95% at all ponts. Addtonally, we plot the average staleness as the number of bursty nput streams ncreases as shown n Fgure 9. For nstance, at a value of 0, all the arrvals follow a Posson dstrbuton wth no bursts, whereas at 10, all nput streams are bursty. Fgure 9 shows the staleness of FAS-MCQ normalzed to that of. Hence, the smaller the value the bgger the reducton. The fgure shows that as the number of bursty streams ncreases, the reducton n staleness provded by FAS-MCQ compared to RB- MCQ ncreases up untl there are 5 bursty streams. Improvng the QoS of multple contnuous queres has been the focus of many research efforts. For example, mult-query optmzaton has been exploted n (Chen et al. 2000) to mprove the system throughput n an Internet envronment and n (Madden et al. 2002) for mprovng the throughput of a data stream management system. Mult-query schedulng has been exploted by Aurora to acheve better response tme or to satsfy applcaton-specfed QoS requrements (Carney et al. 2003). The work n (Babcock et al. 2003) employs a scheduler for mnmzng the memory utlzaton. Moreover, balancng the trade-off between multple QoS metrcs has been studed n (Sutherland et al. 2005, Ba & Zanolo 2008) To the best of our knowledge, no prevous work has proposed mult-query schedulng polces for mprovng the QoD provded by contnuous queres. Load sheddng, however, has been devsed as a technque to control the degree of degradaton n the provded QoD under overloaded condtons. Several load sheddng technques have been proposed n (Tatbul et al. 2003, Babcock et al. 2004, Tatbul & Zdonk 2006, Tatbul et al. 2007) Schedulng polces for mprovng the QoD have been studed n the context of replcated databases and n web databases. For example, the work n (Cho & Garca-Molna 2000, 2003) provdes polces for crawlng the Web n order to refresh a local database, where t made the observaton that a data tem that s updated more often should be synchronzed less often. The same observaton has been exploted n (Olston & Wdom 2002) for refreshng dstrbuted caches and n (Lam & Garca-Molna 2003) for mult-castng updates. In ths paper, we utlze the same observaton for mprovng data stream freshness. Our work, however, makes the schedulng decson based on the current status of the DSMS queues (.e., the number of pendng updates) as opposed to assumng a mathematcal model for updates as n (Cho & Garca- Molna 2000, 2003). The work n (Labrnds & Roussopoulos 2001) studes the problem of propagatng the updates to derved vews. It proposes a schedulng polcy for applyng the updates that consders the dvergence 111

10 CRPIT Volume Database Technologes 2010 n the computaton costs of dfferent vews. Smlarly, our proposed FAS-MCQ consders the dfferent processng costs of the regstered multple contnuous queres. Moreover, FAS-MCQ generalzes the work n (Labrnds & Roussopoulos 2001) by consderng updates that are streamed from multple data sources wth dfferent traffc patterns as opposed to a sngle data source. Fnally, the problem of consderng user preferences to manage the trade-off between QoS and QoD has been addressed n the context of web databases. The work n (Qu et al. 2006) provded an admsson control framework, whereas the work n (Qu & Labrnds 2007) ntroduced a two-level schedulng algorthm to address the problem. 9 Conclusons Motvated by the need to support montorng applcatons whch nvolve the processng of update streams by contnuous queres, n ths paper we studed the dfferent aspects that affect the QoD of these applcatons. In partcular, we focused on the freshness of the output data stream and dentfed that both the propertes of queres,.e., cost and selectvty, and the propertes of the nput update streams,.e., varablty of updates, have a sgnfcant mpact on freshness. Our major contrbuton s a new approach to schedulng multple queres n Data Stream Management Systems. Our approach explots the propertes of the contnuous queres as well as the nput data streams n order to maxmze the freshness of output streams. We proposed a new schedulng polcy called Freshness-Aware Schedulng of Multple Contnuous Queres (FAS-MCQ) and a weghted verson of t that supports applcatons wth mult-class queres. We also ntroduced a generalzed varant of FAS-MCQ that balances the trade-off between QoD and QoS, accordng to applcaton requrements. We have expermentally evaluated our proposed FAS-MCQ polcy aganst schedulng polces used n current DSMS prototypes as well as Web servers. Our experments show that FAS-MCQ can reduce staleness by up to 55% compared to the other polces. References Babcock, B., Babu, S., Datar, M. & Motwan, R. (2003), Chan: Operator schedulng for memory mnmzaton n data stream systems, n SIGMOD. Babcock, B., Datar, M. & Motwan:, R. (2004), Load sheddng for aggregaton queres over data streams, n ICDE. Ba, Y. & Zanolo, C. (2008), Mnmzng latency and memory n dsms: a unfed approach to quas-optmal schedulng, n SSPS. Brown, R. (1988), Calendar queues: A fast o(1) prorty queue mplementaton for the smulaton event set problem, Communcatons of the ACM 31(10), Carney, D., Cetntemel, U., Rasn, A., Zdonk, S., Chernack, M. & Stonebraker, M. (2003), Operator schedulng n a data stream manager, n VLDB. Carney, D. et al. (2002), Montorng streams: A new class of data management applcatons, n VLDB. Chandrasekaran, S. et al. (2003), TelegraphCQ: Contnuous Dataflow Processng for an Uncertan World, n CIDR. Chen, J., DeWtt, D. J. & Naughton, J. F. (2002), Desgn and evaluaton of alternatve selecton placement strateges n optmzng contnuous queres, n ICDE. Chen, J., DeWtt, D. J., Tan, F. &.Wang, Y. (2000), NagaraCQ: A scalable contnuous query system for nternet databases, n SIGMOD. Cho, J. & Garca-Molna, H. (2000), Synchronzng a database to mprove freshness, n SIGMOD. Cho, J. & Garca-Molna, H. (2003), Effectve page refresh polces for web crawlers, ACM Transactons on Database Systems 28(4), Cranor, C., Johnson, T., Spataschek, O. & Shkapenyuk, V. (2003), Ggascope: A stream database for network applcatons, n SIGMOD. Hammad, M. et al. (2004), Nle: A query processng engne for data streams, n ICDE. Labrnds, A. & Roussopoulos, N. (2001), Update propagaton strateges for mprovng the qualty of data on the web, n VLDB. Labrnds, A. & Roussopoulos, N. (2004), Explorng the tradeoff between performance and data freshness n databasedrven web servers, VLDB J. 13(3), Lam, W. & Garca-Molna, H. (2003), Multcastng a changng repostory, n ICDE. Madden, S., Shah, M. A., Hellersten, J. M. & Raman, V. (2002), Contnuously adaptve contnuous queres over streams, n SIGMOD. Motwan, R. et al. (2003), Query processng, resource management, and approxmaton n a data stream management system, n CIDR. Olston, C. & Wdom, J. (2002), Best-effort cache synchronzaton wth source cooperaton, n SIGMOD. Qu, H. & Labrnds, A. (2007), Preference-aware query and update schedulng n web-databases, n ICDE. Qu, H., Labrnds, A. & Mossé, D. (2006), Unt: Usercentrc transacton management n web-database systems, n ICDE. Shanmugasundaram, J., Tufte, K., DeWtt, D. J., Naughton, J. F. & Maer, D. (2002), Archtectng a network query engne for producng partal results, n WebDB. Sharaf, M. A., Chrysanths, P. K., Labrnds, A. & Pruhs, K. (2006), Effcent schedulng of heterogeneous contnuous queres, n VLDB. Sharaf, M. A., Chrysanths, P. K., Labrnds, A. & Pruhs, K. (2008), Algorthms and metrcs for processng multple heterogeneous contnuous queres, ACM TODS 33(1). Sharaf, M. A., Labrnds, A., Chrysanths, P. K. & Pruhs, K. (2005), Freshness-aware schedulng of contnuous queres n the dynamc web, n WebDB. Sullvan, M. (1996), A stream database manager for network traffc analyss, n VLDB. Sutherland, T. M., Zhu, Y., Dng, L. & Rundenstener, E. A. (2005), An adaptve mult-objectve schedulng selecton framework for contnuous query processng, n IDEAS. Tatbul, N., Çetntemel, U. & Zdonk, S. B. (2007), Stayng ft: Effcent load sheddng technques for dstrbuted stream processng, n VLDB. Tatbul, N., Cetntemel, U., Zdonk, S. B., Chernack, M. & Stonebraker, M. (2003), Load sheddng n a data stream manager, n VLDB. Tatbul, N. & Zdonk, S. B. (2006), Wndow-aware load sheddng for aggregaton queres over data streams, n VLDB. Terry, D. B., Goldberg, D., Nchols, D. & Ok, B. M. (1992), Contnuous queres over append-only databases, n SIG- MOD. Tan, F. & DeWtt, D. J. (2003), Tuple routng strateges for dstrbuted eddes, n VLDB. Urhan, T. & Frankln, M. J. (2001), Dynamc ppelne schedulng for mprovng nteractve query performance, n VLDB. Yeganeh, N. K., Sadq, S. W., Deng, K. & Zhou, X. (2009), Data qualty aware queres n collaboratve nformaton systems, n APWeb/WAIM. 112

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

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

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

Real-Time Guarantees. Traffic Characteristics. Flow Control

Real-Time Guarantees. Traffic Characteristics. Flow Control Real-Tme Guarantees Requrements on RT communcaton protocols: delay (response s) small jtter small throughput hgh error detecton at recever (and sender) small error detecton latency no thrashng under peak

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

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

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

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

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

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

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

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

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

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

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

Learning the Kernel Parameters in Kernel Minimum Distance Classifier Learnng the Kernel Parameters n Kernel Mnmum Dstance Classfer Daoqang Zhang 1,, Songcan Chen and Zh-Hua Zhou 1* 1 Natonal Laboratory for Novel Software Technology Nanjng Unversty, Nanjng 193, Chna Department

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

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

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier

Some material adapted from Mohamed Younis, UMBC CMSC 611 Spr 2003 course slides Some material adapted from Hennessy & Patterson / 2003 Elsevier Some materal adapted from Mohamed Youns, UMBC CMSC 611 Spr 2003 course sldes Some materal adapted from Hennessy & Patterson / 2003 Elsever Scence Performance = 1 Executon tme Speedup = Performance (B)

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

Performance Evaluation of Information Retrieval Systems

Performance Evaluation of Information Retrieval Systems Why System Evaluaton? Performance Evaluaton of Informaton Retreval Systems Many sldes n ths secton are adapted from Prof. Joydeep Ghosh (UT ECE) who n turn adapted them from Prof. Dk Lee (Unv. of Scence

More information

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points;

Subspace clustering. Clustering. Fundamental to all clustering techniques is the choice of distance measure between data points; Subspace clusterng Clusterng Fundamental to all clusterng technques s the choce of dstance measure between data ponts; D q ( ) ( ) 2 x x = x x, j k = 1 k jk Squared Eucldean dstance Assumpton: All features

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

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

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

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

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

Optimal Workload-based Weighted Wavelet Synopses

Optimal Workload-based Weighted Wavelet Synopses Optmal Workload-based Weghted Wavelet Synopses Yoss Matas School of Computer Scence Tel Avv Unversty Tel Avv 69978, Israel matas@tau.ac.l Danel Urel School of Computer Scence Tel Avv Unversty Tel Avv 69978,

More information

Hermite Splines in Lie Groups as Products of Geodesics

Hermite Splines in Lie Groups as Products of Geodesics Hermte Splnes n Le Groups as Products of Geodescs Ethan Eade Updated May 28, 2017 1 Introducton 1.1 Goal Ths document defnes a curve n the Le group G parametrzed by tme and by structural parameters n the

More information

FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK

FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK FINDING IMPORTANT NODES IN SOCIAL NETWORKS BASED ON MODIFIED PAGERANK L-qng Qu, Yong-quan Lang 2, Jng-Chen 3, 2 College of Informaton Scence and Technology, Shandong Unversty of Scence and Technology,

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

Self-Tuning, Bandwidth-Aware Monitoring for Dynamic Data Streams

Self-Tuning, Bandwidth-Aware Monitoring for Dynamic Data Streams Self-Tunng, Bandwdth-Aware Montorng for Dynamc Data Streams Navendu Jan, Praveen Yalagandula, Mke Dahln, Yn Zhang Mcrosoft Research HP Labs The Unversty of Texas at Austn Abstract We present, a self-tunng,

More information

Self-Tuning, Bandwidth-Aware Monitoring for Dynamic Data Streams

Self-Tuning, Bandwidth-Aware Monitoring for Dynamic Data Streams Self-Tunng, Bandwdth-Aware Montorng for Dynamc Data Streams Navendu Jan #, Praveen Yalagandula, Mke Dahln #, Yn Zhang # # Unversty of Texas at Austn HP Labs Abstract We present, a self-tunng, bandwdth-aware

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

Adaptive Load Shedding for Windowed Stream Joins

Adaptive Load Shedding for Windowed Stream Joins Adaptve Load Sheddng for Wndowed Stream Jons Bu gra Gedk College of Computng, GaTech bgedk@cc.gatech.edu Kun-Lung Wu, Phlp Yu T.J. Watson Research, IBM {klwu,psyu}@us.bm.com Lng Lu College of Computng,

More information

CPU Load Shedding for Binary Stream Joins

CPU Load Shedding for Binary Stream Joins Under consderaton for publcaton n Knowledge and Informaton Systems CPU Load Sheddng for Bnary Stream Jons Bugra Gedk 1,2, Kun-Lung Wu 1, Phlp S. Yu 1 and Lng Lu 2 1 IBM T.J. Watson Research Center, Hawthorne,

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

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

Learning-Based Top-N Selection Query Evaluation over Relational Databases

Learning-Based Top-N Selection Query Evaluation over Relational Databases Learnng-Based Top-N Selecton Query Evaluaton over Relatonal Databases Lang Zhu *, Wey Meng ** * School of Mathematcs and Computer Scence, Hebe Unversty, Baodng, Hebe 071002, Chna, zhu@mal.hbu.edu.cn **

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

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

Motivation. EE 457 Unit 4. Throughput vs. Latency. Performance Depends on View Point?! Computer System Performance. An individual user wants to:

Motivation. EE 457 Unit 4. Throughput vs. Latency. Performance Depends on View Point?! Computer System Performance. An individual user wants to: 4.1 4.2 Motvaton EE 457 Unt 4 Computer System Performance An ndvdual user wants to: Mnmze sngle program executon tme A datacenter owner wants to: Maxmze number of Mnmze ( ) http://e-tellgentnternetmarketng.com/webste/frustrated-computer-user-2/

More information

Adaptive Load Shedding for Windowed Stream Joins

Adaptive Load Shedding for Windowed Stream Joins Adaptve Load Sheddng for Wndowed Stream Jons Buğra Gedk, Kun-Lung Wu, Phlp S. Yu, Lng Lu College of Computng, Georga Tech Atlanta GA 333 {bgedk,lnglu}@cc.gatech.edu IBM T. J. Watson Research Center Yorktown

More information

arxiv: v3 [cs.ds] 7 Feb 2017

arxiv: v3 [cs.ds] 7 Feb 2017 : A Two-stage Sketch for Data Streams Tong Yang 1, Lngtong Lu 2, Ybo Yan 1, Muhammad Shahzad 3, Yulong Shen 2 Xaomng L 1, Bn Cu 1, Gaogang Xe 4 1 Pekng Unversty, Chna. 2 Xdan Unversty, Chna. 3 North Carolna

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

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

A New Approach For the Ranking of Fuzzy Sets With Different Heights

A New Approach For the Ranking of Fuzzy Sets With Different Heights New pproach For the ankng of Fuzzy Sets Wth Dfferent Heghts Pushpnder Sngh School of Mathematcs Computer pplcatons Thapar Unversty, Patala-7 00 Inda pushpndersnl@gmalcom STCT ankng of fuzzy sets plays

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

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

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

Distributed Resource Scheduling in Grid Computing Using Fuzzy Approach

Distributed Resource Scheduling in Grid Computing Using Fuzzy Approach Dstrbuted Resource Schedulng n Grd Computng Usng Fuzzy Approach Shahram Amn, Mohammad Ahmad Computer Engneerng Department Islamc Azad Unversty branch Mahallat, Iran Islamc Azad Unversty branch khomen,

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

SAO: A Stream Index for Answering Linear Optimization Queries

SAO: A Stream Index for Answering Linear Optimization Queries SAO: A Stream Index for Answerng near Optmzaton Queres Gang uo Kun-ung Wu Phlp S. Yu IBM T.J. Watson Research Center {luog, klwu, psyu}@us.bm.com Abstract near optmzaton queres retreve the top-k tuples

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

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

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

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching

A Fast Visual Tracking Algorithm Based on Circle Pixels Matching A Fast Vsual Trackng Algorthm Based on Crcle Pxels Matchng Zhqang Hou hou_zhq@sohu.com Chongzhao Han czhan@mal.xjtu.edu.cn Ln Zheng Abstract: A fast vsual trackng algorthm based on crcle pxels matchng

More information

Summarizing Data using Bottom-k Sketches

Summarizing Data using Bottom-k Sketches Summarzng Data usng Bottom-k Sketches Edth Cohen AT&T Labs Research 8 Park Avenue Florham Park, NJ 7932, USA edth@research.att.com Ham Kaplan School of Computer Scence Tel Avv Unversty Tel Avv, Israel

More information

Efficient Broadcast Disks Program Construction in Asymmetric Communication Environments

Efficient Broadcast Disks Program Construction in Asymmetric Communication Environments Effcent Broadcast Dsks Program Constructon n Asymmetrc Communcaton Envronments Eleftheros Takas, Stefanos Ougaroglou, Petros copoltds Department of Informatcs, Arstotle Unversty of Thessalonk Box 888,

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

Intelligent Information Acquisition for Improved Clustering

Intelligent Information Acquisition for Improved Clustering Intellgent Informaton Acquston for Improved Clusterng Duy Vu Unversty of Texas at Austn duyvu@cs.utexas.edu Mkhal Blenko Mcrosoft Research mblenko@mcrosoft.com Prem Melvlle IBM T.J. Watson Research Center

More information

X- Chart Using ANOM Approach

X- Chart Using ANOM Approach ISSN 1684-8403 Journal of Statstcs Volume 17, 010, pp. 3-3 Abstract X- Chart Usng ANOM Approach Gullapall Chakravarth 1 and Chaluvad Venkateswara Rao Control lmts for ndvdual measurements (X) chart are

More information

Pricing Network Resources for Adaptive Applications in a Differentiated Services Network

Pricing Network Resources for Adaptive Applications in a Differentiated Services Network IEEE INFOCOM Prcng Network Resources for Adaptve Applcatons n a Dfferentated Servces Network Xn Wang and Hennng Schulzrnne Columba Unversty Emal: {xnwang, schulzrnne}@cs.columba.edu Abstract The Dfferentated

More information

Run-Time Operator State Spilling for Memory Intensive Long-Running Queries

Run-Time Operator State Spilling for Memory Intensive Long-Running Queries Run-Tme Operator State Spllng for Memory Intensve Long-Runnng Queres Bn Lu, Yal Zhu, and lke A. Rundenstener epartment of Computer Scence, Worcester Polytechnc Insttute Worcester, Massachusetts, USA {bnlu,

More information

Cache Performance 3/28/17. Agenda. Cache Abstraction and Metrics. Direct-Mapped Cache: Placement and Access

Cache Performance 3/28/17. Agenda. Cache Abstraction and Metrics. Direct-Mapped Cache: Placement and Access Agenda Cache Performance Samra Khan March 28, 217 Revew from last lecture Cache access Assocatvty Replacement Cache Performance Cache Abstracton and Metrcs Address Tag Store (s the address n the cache?

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

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

Scheduling and queue management. DigiComm II

Scheduling and queue management. DigiComm II Schedulng and queue management Tradtonal queung behavour n routers Data transfer: datagrams: ndvdual packets no recognton of flows connectonless: no sgnallng Forwardng: based on per-datagram forwardng

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

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

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

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

Meta-heuristics for Multidimensional Knapsack Problems

Meta-heuristics for Multidimensional Knapsack Problems 2012 4th Internatonal Conference on Computer Research and Development IPCSIT vol.39 (2012) (2012) IACSIT Press, Sngapore Meta-heurstcs for Multdmensonal Knapsack Problems Zhbao Man + Computer Scence Department,

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

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

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

Available online at Available online at Advanced in Control Engineering and Information Science

Available online at   Available online at   Advanced in Control Engineering and Information Science Avalable onlne at wwwscencedrectcom Avalable onlne at wwwscencedrectcom Proceda Proceda Engneerng Engneerng 00 (2011) 15000 000 (2011) 1642 1646 Proceda Engneerng wwwelsevercom/locate/proceda Advanced

More information

Related-Mode Attacks on CTR Encryption Mode

Related-Mode Attacks on CTR Encryption Mode Internatonal Journal of Network Securty, Vol.4, No.3, PP.282 287, May 2007 282 Related-Mode Attacks on CTR Encrypton Mode Dayn Wang, Dongda Ln, and Wenlng Wu (Correspondng author: Dayn Wang) Key Laboratory

More information

Classification Based Mode Decisions for Video over Networks

Classification Based Mode Decisions for Video over Networks Classfcaton Based Mode Decsons for Vdeo over Networks Deepak S. Turaga and Tsuhan Chen Advanced Multmeda Processng Lab Tranng data for Inter-Intra Decson Inter-Intra Decson Regons pdf 6 5 6 5 Energy 4

More information

Improving The Test Quality for Scan-based BIST Using A General Test Application Scheme

Improving The Test Quality for Scan-based BIST Using A General Test Application Scheme _ Improvng The Test Qualty for can-based BIT Usng A General Test Applcaton cheme Huan-Chh Tsa Kwang-Tng Cheng udpta Bhawmk Department of ECE Bell Laboratores Unversty of Calforna Lucent Technologes anta

More information

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision

SLAM Summer School 2006 Practical 2: SLAM using Monocular Vision SLAM Summer School 2006 Practcal 2: SLAM usng Monocular Vson Javer Cvera, Unversty of Zaragoza Andrew J. Davson, Imperal College London J.M.M Montel, Unversty of Zaragoza. josemar@unzar.es, jcvera@unzar.es,

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

UB at GeoCLEF Department of Geography Abstract

UB at GeoCLEF Department of Geography   Abstract UB at GeoCLEF 2006 Mguel E. Ruz (1), Stuart Shapro (2), June Abbas (1), Slva B. Southwck (1) and Davd Mark (3) State Unversty of New York at Buffalo (1) Department of Lbrary and Informaton Studes (2) Department

More information

APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT

APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT 3. - 5. 5., Brno, Czech Republc, EU APPLICATION OF MULTIVARIATE LOSS FUNCTION FOR ASSESSMENT OF THE QUALITY OF TECHNOLOGICAL PROCESS MANAGEMENT Abstract Josef TOŠENOVSKÝ ) Lenka MONSPORTOVÁ ) Flp TOŠENOVSKÝ

More information

An Image Fusion Approach Based on Segmentation Region

An Image Fusion Approach Based on Segmentation Region Rong Wang, L-Qun Gao, Shu Yang, Yu-Hua Cha, and Yan-Chun Lu An Image Fuson Approach Based On Segmentaton Regon An Image Fuson Approach Based on Segmentaton Regon Rong Wang, L-Qun Gao, Shu Yang 3, Yu-Hua

More information

Optimization of decentralized multi-way join queries over pipelined filtering services

Optimization of decentralized multi-way join queries over pipelined filtering services Computng (2012) 94:939 972 DOI 10.1007/s00607-012-0209-9 Optmzaton of decentralzed mult-way jon queres over ppelned flterng servces Efthyma Tsamoura Anastasos Gounars Yanns Manolopoulos Receved: 23 March

More information

y and the total sum of

y and the total sum of Lnear regresson Testng for non-lnearty In analytcal chemstry, lnear regresson s commonly used n the constructon of calbraton functons requred for analytcal technques such as gas chromatography, atomc absorpton

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

FAHP and Modified GRA Based Network Selection in Heterogeneous Wireless Networks

FAHP and Modified GRA Based Network Selection in Heterogeneous Wireless Networks 2017 2nd Internatonal Semnar on Appled Physcs, Optoelectroncs and Photoncs (APOP 2017) ISBN: 978-1-60595-522-3 FAHP and Modfed GRA Based Network Selecton n Heterogeneous Wreless Networks Xaohan DU, Zhqng

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

Delay Variation Optimized Traffic Allocation Based on Network Calculus for Multi-path Routing in Wireless Mesh Networks

Delay Variation Optimized Traffic Allocation Based on Network Calculus for Multi-path Routing in Wireless Mesh Networks Appl. Math. Inf. Sc. 7, No. 2L, 467-474 2013) 467 Appled Mathematcs & Informaton Scences An Internatonal Journal http://dx.do.org/10.12785/ams/072l13 Delay Varaton Optmzed Traffc Allocaton Based on Network

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

The Research of Support Vector Machine in Agricultural Data Classification

The Research of Support Vector Machine in Agricultural Data Classification The Research of Support Vector Machne n Agrcultural Data Classfcaton Le Sh, Qguo Duan, Xnmng Ma, Me Weng College of Informaton and Management Scence, HeNan Agrcultural Unversty, Zhengzhou 45000 Chna Zhengzhou

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

Use of Genetic Algorithms in Efficient Scheduling for Multi Service Classes

Use of Genetic Algorithms in Efficient Scheduling for Multi Service Classes Use of Genetc Algorthms n Effcent Schedulng for Mult Servce Classes Shyamale Thlakawardana and Rahm Tafazoll Centre for Communcatons Systems Research (CCSR), Unversty of Surrey, Guldford, GU27XH, UK Abstract

More information

Active Contours/Snakes

Active Contours/Snakes Actve Contours/Snakes Erkut Erdem Acknowledgement: The sldes are adapted from the sldes prepared by K. Grauman of Unversty of Texas at Austn Fttng: Edges vs. boundares Edges useful sgnal to ndcate occludng

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

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

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

Sensor Selection with Grey Correlation Analysis for Remaining Useful Life Evaluation

Sensor Selection with Grey Correlation Analysis for Remaining Useful Life Evaluation Sensor Selecton wth Grey Correlaton Analyss for Remanng Useful Lfe valuaton Peng Yu, Xu Yong, Lu Datong, Peng Xyuan Automatc est Control Insttute, Harbn Insttute of echnology, Harbn, 5, Chna pengyu@ht.edu.cn

More information

Self-tuning Histograms: Building Histograms Without Looking at Data

Self-tuning Histograms: Building Histograms Without Looking at Data Self-tunng Hstograms: Buldng Hstograms Wthout Lookng at Data Ashraf Aboulnaga Computer Scences Department Unversty of Wsconsn - Madson ashraf@cs.wsc.edu Surajt Chaudhur Mcrosoft Research surajtc@mcrosoft.com

More information