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

Size: px
Start display at page:

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

Transcription

1 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, bandwdth-aware montorng system that maxmzes result precson of contnuous aggregate queres over dynamc data streams. Whle pror approaches mnmze bandwdth cost under fxed precson constrants, they may stll overload a montorng system durng traffc bursts. To facltate practcal deployment of montorng systems, therefore bounds the worst-case bandwdth cost for overload reslence. The prmary challenge for s how to dynamcally select updates at each node to maxmze query precson whle keepng per-node montorng bandwdth below a specfed budget. To address ths challenge, s herarchcal algorthm (1) allocates bandwdth budgets n a near-optmal manner to maxmze global precson and (2) selftunes bandwdth settngs to mprove precson under dynamc workloads. Our prototype mplementaton of provdes key solutons to (a) prortze pendng updates for mult-attrbute queres, (b) buld bounded fan-n, load-aware aggregaton trees to mprove accuracy, and (c) combne temporal batchng wth arthmetc flterng to reduce load and to quantfy result staleness. Our evaluaton usng smulatons and a network montorng applcaton shows that ncurs low overheads, mproves accuracy by up to an order of magntude compared to unform bandwdth allocaton, and performs close to the optmal algorthm under modest bandwdth budgets. I. INTRODUCTION Dstrbuted stream processng systems [1] [3] must provde hgh performance and hgh fdelty for query processng as they grow n scale and complexty. In these systems, data streams are often bursty where nput rates may unexpectedly ncrease [4] [6]. Examples nclude network traffc montorng, dentfyng dstrbuted denal-of-servce (DDoS) attacks on the Internet, fnancal stocks montorng, web clck stream analyss, and event-drven montorng n sensor networks. Therefore, t s desrable for these systems to bound the montorng load whle stll provdng useful accuracy guarantees on the query results. Exstng technques [7] [12] am to address ths problem by mnmzng the montorng cost whle promsng an a pror error bound (e.g., ± 1%) on query precson. Unfortunately, although these technques effectvely reduce load, they are unsutable n dynamc, hgh-volume data stream envronments for three reasons. (1) Settng precson a pror requres workload knowledge: Choosng error bounds a pror s unntutve when workloads are not known n advance or may change unpredctably over tme e.g., should the error be 1% or 3%? Conversely, t may be easer to set the montorng budget e.g., a system admnstrator s wllng to pay.1% of network bandwdth for montorng. (2) Bad precson settng hurts performance: A bad choce of the error bound may sgnfcantly degrade the qualty of a query result when the error bound s too large [13] or ncur a hgh communcaton and processng cost when the error bound s too small. (3) Bursty traffc mposes unacceptable overheads: Even wth reasonable error bounds, montorng systems may stll rsk overload under bursty and often unpredctable traffc condtons as we llustrate wth an example below. To address these challenges, we propose that for many montorng systems, the rght approach s to fx the bandwdth cost whle optmzng query precson. By boundng the worst case bandwdth cost, montorng systems acheve three key benefts. Frst, they avod need for a pror workload knowledge or keepng up wth workload changes to optmally set precson bounds. Second, they can maxmze precson durng perods of low workload and provde a graceful degradaton under hgh workloads. Thrd, they avod rsk of overload durng traffc bursts and stll be able to delver results wth useful accuracy. We motvate these benefts usng an example. Motvatng Example: We present a smple example to llustrate the challenges for scalable montorng under bursty workloads. We smulate a set of 1 data sources connected to a centralzed montor wth an ncomng bandwdth lmt of messages per second. The nput workload dstrbuton s modeled based on the standard exponental dstrbuton wth a parameter λ, and upon each arrval, the value of attrbute a at data source s updated accordng to random walk model n whch the value ether ncreases or decreases by an amount sampled unformally from [., 1.]. Fgure 1 shows the load-error tradeoff for a sngle data source. As expected, on ncreasng the error budget, arthmetc flterng [9], [1] quckly decreases the load as a majorty updates get fltered. To quantfy the montorng cost, we use λ=1 and compute a SUM aggregate under a baselne error budget of 2 and ts correspondng expected load of. (Fgure 1), effectvely settng the total expected cost for montorng 1 data sources at messages per second. Fgure 2 shows the nduced message load at the central montor under a fxed error budget of 2. We observe that under peak data arrvals, the system sometmes ncurs message costs 4x hgher than the expected cost of messages per second. Ths devaton s due to bursty

2 Expected Messages per second 1 Load-Error Tradeoff Error Budget Messages per second Load (Fxed Error = 2) Expected Load Tme (seconds, *1) Dvergence Dvergence (Fxed BW=) Expected Dvergence Tme (seconds, *1) Fg. 1. Expected outgong message load vs. error budget for a sngle attrbute at a data source under a random walk workload. Fg. 2. Montorng system nduces overload under bursty workloads to bound result error. The system overload s up to 4x over expected load. Fg. 3. Montorng system causes hgh naccuracy under bursty workloads to bound load. The error s up to x hgher over expected dvergence. posson arrvals the probablty of 2x, 4x, and 8x overload s.18,.1, and 9e-6, respectvely, and worse for many other dstrbutons. Conversely, Fgure 3 shows the dvergence between data source attrbutes and ther cached values at the central montor under a fxed load of. In ths case, the system may provde hghly naccurate results havng up to x more error than the expected error of 2. As a result, exstng montorng technques are neffectve under bursty workloads they rsk overload, loss of accuracy, or both. Our Contrbutons: Our goal s to bound the bandwdth cost whle stll delverng query results wth useful accuracy. To acheve ths goal, provdes three key technques: (1) Maxmze precson under fxed bandwdth budget: formulates a bandwdth-aware optmzaton problem whose goal s to maxmze the result precson of an aggregate query n a herarchcal aggregaton tree subject to gven bandwdth constrants. Ths model provdes a closed-form, near-optmal soluton to self-tune bandwdth settngs for achevng hgh accuracy usng only local and aggregated nformaton at each node n the tree. Further, provdes a graceful degradaton n query precson as the avalable bandwdth decreases. Our expermental results show that self-tunng bandwdth settngs mproves accuracy by an order of magntude over unform bandwdth allocaton and performs close to the optmal algorthm under modest bandwdth budgets. (2) Scalablty va multple aggregaton trees: bulds on recent work that uses dstrbuted hash tables (DHTs) to construct scalable, load-balanced forests of self-organzng aggregaton trees [14] [16]. Scalablty to tens of thousands of nodes and mllons of attrbutes s acheved by mappng dfferent attrbutes to dfferent trees. For each tree n ths forest of aggregaton trees, s self-tunng algorthm adjusts bandwdth settngs to acheve hgh precson under dynamc workloads where the estmate of bandwdth vs. precson trade-offs, and hence the optmal dstrbuton, can change over tme. (3) Hgh performance by combnng arthmetc flterng and temporal batchng: ntegrates temporal batchng wth arthmetc flterng to reduce the montorng load and to quantfy staleness of query results. For hghvolume workloads, t s advantageous for nodes to batch multple updates that arrve close n tme and send a sngle combned update. In an aggregaton tree, ths temporal batchng allows leaf sensors to condense a seres of updates nto a perodc report and allows nternal nodes to combne updates from dfferent subtrees before transmttng them further. Further, t bounds the delay (e.g., up to 3 seconds) from when an update occurs at a leaf untl t s reported at the root. We have mplemented a prototype of on PRISM [17], a scalable aggregaton system bult on top of FreePastry [18]. Our prototype provdes two key optmzatons. Frst, t constructs bounded fan-n, bandwdth-aware aggregaton trees to mprove accuracy and to quckly detect anomales n heterogeneous envronments. Recent studes [7], [1], [19] [21] suggest that only a few attrbutes (e.g., network flows) generate a sgnfcant fracton of the total traffc n many montorng applcatons. Thus, for fast anomaly detecton, an aggregaton tree should be able to quckly route mportant updates towards the root such that no nternal node becomes a bottleneck due to ether hgh n-degree or low bandwdth. Second, for mult-attrbute queres, provdes a refresh schedule that selects and prortzes attrbutes for refreshng n order to mnmze the error n query results. We evaluate through extensve smulatons and a real network montorng applcaton of detectng dstrbuted heavy htters. Experence wth ths applcaton llustrates the mproved precson and scalablty benefts: for a gven montorng budget, s adaptvty can sgnfcantly mprove the query precson whle montorng a large number of attrbutes. Compared to unform bandwdth allocaton, mproves accuracy by up to an order of magntude and provdes accuracy wthn 27% of the optmal algorthm under modest bandwdth budgets. Example Queres: For concreteness, we lst several real-world applcaton queres to llustrate the types of queres was desgned to support. Q 1 Identfy the heavy htter network flows that send the hghest traffc n aggregate across all network endponts.

3 Q 2 Q 3 Q 4 Fnd the top-k ports across all nodes that have been heavly scanned n the recent past, possbly ndcatng worm actvty. Montor anomaly condtons e.g., SUM(nodes sensng fre) threshold, MAX(chemcal concentraton) n a physcal sensor network. Montor the top-k popular web objects n a wde-area content dstrbuton network such as Akama. All these aggregate queres requre processng a large number of rapd update streams n lmted bandwdth/battery-lfe envronments, and all can beneft from. In Secton VI, we show results for Q 1 usng a network montorng applcaton we have mplemented. In summary, ths paper makes the followng contrbutons. We dentfy the key lmtatons of prevous fx error, mnmze load technques, and we address them by boundng the worst-case load whle stll provdng query results wth useful accuracy. We descrbe a practcal, self-tunng, bandwdth-aware montorng system that adapts bandwdth budgets to maxmze precson of contnuous aggregate queres under hgh-volume, dynamc workloads. Our mplementaton provdes key optmzatons to mprove accuracy and to quckly detect anomales n heterogeneous envronments. Our evaluaton demonstrates that provdes a key substrate for scalable montorng: t provdes hgh accuracy n dynamc envronments and performs close to the optmal algorthm under modest bandwdth budgets. The rest of ths paper s organzed as follows. Secton II dscusses related work. Secton III descrbes PRISM [17], a scalable DHT-based aggregaton system, and precsonperformance tradeoffs that underle. Secton IV descrbes the adaptve algorthm that self-tunes bandwdth settngs to mprove result accuracy. Secton V and VI present the mplementaton and expermental evaluaton of. Fnally, Secton VII hghlghts our conclusons. II. RELATED WORK bulds upon pror fx error, mnmze load technques [7] [12], but t departs n three sgnfcant ways drven by our focus on achevng overload reslence for practcal, scalable montorng. Frst, reformulates the key optmzaton problem, whch we beleve s an mportant contrbuton. Whle pror approaches mnmze cost under fxed precson constrants, bursty, hgh-volume workloads may stll overload a montorng system as dscussed n Secton I. In fact, t s precsely durng these abnormal events that a montorng system needs to avod overload but stll delver results wth useful accuracy n real-tme. therefore bounds the worst-case system cost to provde overload reslence. Second, the techncal advances to solve ths new problem are sgnfcant. Whle uses Chebyshev nequalty [1] to capture the load vs. error trade-off, t faces new constrants of lmted bandwdth budgets both at a parent and each of ts chldren n a herarchcal aggregaton tree. Gven these constrants, self-tunes bandwdth settngs n a nearoptmal manner to acheve hgh accuracy under dynamc workloads. Thrd, s prototype provdes key solutons to prortze updates, buld bandwdth-aware trees, and combne temporal batchng wth arthmetc flterng. Recently, load sheddng technques [], [22] have been proposed to handle overload condtons. The key dea s to carefully drop some tuples to reduce processng load but at the expense of reducng query result accuracy. These approaches handle load spkes assumng ether the CPU [], [22] or man memory [23] to be the key resource bottleneck. In comparson, bandwdth s the prmary resource constrant n. Best-effort cache synchronzaton technques [24], [2] am to mnmze the dvergence between source data objects and cached copes n a one-level tree. In these technques, each object s refreshed ndvdually. In comparson, performs herarchcal query processng for scalablty and corelates updates to the same attrbute at dfferent data sources to maxmze the accuracy of an aggregate query result. To our knowledge, there has not been pror work on maxmzng precson of aggregate queres n herarchcal trees under lmted bandwdth. Babcock and Olston [26] focus on effcently computng top-k aggregate values gven fxed error n a one-level tree but do not consder how to maxmze precson of top-k results under fxed bandwdth n herarchcal trees. Slbersten et al. propose a samplng-based approach at randomly chosen tme steps for computng top-k queres n sensor networks [27]. Ther approach focuses on returnng the k nodes wth the hghest sensor readngs. In comparson, focuses on large-scale aggregate queres such as dstrbuted heavy htters whch requre computng a global aggregate value for each of the tens of thousands to mllons of attrbute across all the nodes n the network. Sketches are small-space data structures that provde approxmate answers to aggregate queres [28]. These technques, however, requre error bounds to be set a pror to provde the approxmaton guarantees. III. POINT OF DEPARTURE extends PRISM [17] whch embodes two key abstractons for scalable montorng: aggregaton and DHTbased aggregaton. then ntroduces controlled tradeoffs between precson bounds and montorng bandwdth. A. DHT-based Herarchcal Aggregaton Aggregaton s a fundamental abstracton for scalable montorng [12], [14] [16], [2] because t allows applcatons to access summary vews of global nformaton and detaled vews of rare events and nearby nformaton. s aggregaton abstracton defnes a tree spannng all nodes n the system. As Fgure 4 llustrates, n PRISM each physcal node s a leaf, and each subtree represents a logcal group of nodes. An nternal non-leaf node, whch we call a vrtual node, s smulated by a physcal leaf node of

4 37 Vrtual Nodes (Internal Aggregaton Ponts) L Physcal Nodes (Leaf Sensors) Fg. 4. The aggregaton tree for key n an eght node system. Also shown are the aggregate values for a smple SUM() aggregaton functon. the subtree rooted at the vrtual node. Fgure 4 llustrates the computaton of a smple SUM aggregate. leverages DHTs [16], [29], [3] to construct a forest of aggregaton trees and maps dfferent attrbutes to dfferent trees for scalablty. DHT systems assgn a long (e.g., 16 bts), random ID to each node and defne a routng algorthm to send a request for ID to a node root such that the unon of paths from all nodes forms a tree DHTtree rooted at the node root. By aggregatng an attrbute wth ID = hash(attrbute) along the aggregaton tree correspondng to DHTtree, dfferent attrbutes are load balanced across dfferent trees. Ths approach can provde aggregaton that scales to a large number of nodes and attrbutes [14], [1]. B. Query Result Approxmaton quantfes the precson of query results n terms of numerc error between the reported result and the actual value. We defne the numerc approxmaton of a query result usng Arthmetc Imprecson [9] [11], [31]. Arthmetc mprecson (AI) determnstcally bounds the numerc dfference between a reported value of an attrbute and ts true value. For example, an AI of 1% ensures that the reported value ether underestmates or overestmates the true value by at most 1%. When applcatons do not need exact answers [9] [12], arthmetc mprecson reduces load by flterng updates that le wthn the AI error range of the last reported value. Next, we descrbe how uses the AI mechansm to enforce the numerc error bounds whle reducng bandwdth load. Mechansm: We frst descrbe the basc mechansm for enforcng AI for each aggregaton subtree n the system. To enforce AI, each aggregaton subtree T for an attrbute has an error budget δ T that defnes the maxmum naccuracy of any result the subtree wll report to ts parent for that attrbute. The root of each subtree dvdes ths error budget among tself δ self and ts chldren δ c (wth δ T δ self + c chldren δ c), and the chldren recursvely do the same. Note that δ c determnes the chld s error flter to cull as many updates as possble before sendng them to the parent, and δ self s useful for applyng addtonal flterng after combnng all updates receved from the chldren. Here we present the AI mechansm for the SUM aggregate snce t s lkely to be common n network montorng [9], [1] and fnancal applcatons [32]; other standard aggregaton functons (e.g., MAX, MIN, AVG, etc.) are smlar and defned precsely n a techncal report [17]. L3 L2 L1 Ths arrangement reduces system load by flterng small updates that fall wthn the range of values cached by a subtree s parent. In partcular, after a node A wth error budget δ T reports a range [V mn, V max ] for an attrbute value to ts parent (where V max V mn + δ T ), f the node A receves an update from a chld c, the node A can skp updatng ts parent as long as t can ensure that the true value of the attrbute for the subtree les between V mn and V max,.e., f V mn c chldren V c mn V max c chldren V c max where [Vmn c, V max] c denote the latest update receved from c. mantans per-attrbute δ T values so that dfferent attrbutes wth dfferent error requrements and dfferent update patterns can use dfferent δ budgets n dfferent subtrees. C. Case-study Applcaton To gude the system development of and to drve our performance evaluaton, we have bult a casestudy applcaton usng the PRISM aggregaton framework: a dstrbuted heavy htter detecton servce. Dstrbuted Heavy Htters (DHH) detecton s mportant for both detectng network traffc anomales such as DDoS attacks, botnet attacks, and flash crowds as well as for accountng and bandwdth provsonng [19]. We defne heavy htters as enttes that account for a sgnfcant proporton of the total actvty measured n terms of number of packets, bytes, connectons, etc. [19] n a dstrbuted system for example, the 1 IPs that account for the most ncomng traffc n the last 1 mnutes [19]. To answer ths dstrbuted query, the key challenge s scalablty for aggregatng per-flow statstcs for tens of thousands to mllons of concurrent flows across all the network endponts n real-tme. For example, a subset of the Ablene [33] traces used n our experments ncludes 8 thousand flows that send about 2 mllon updates per hour. To scalably compute the global heavy htters lst, we chan two aggregatons where the results from the frst feed nto the second. Frst, PRISM calculates the total ncomng traffc for each destnaton address from all nodes n the system usng SUM as the aggregaton functon and hash(hh-step1, destip) as the key. For example, tuple (H = hash(hh-step1, ), 9 KB) at the root of the aggregaton tree T H ndcates that a total of 9 KB of data was receved for across all vantage ponts n the network durng the last tme wndow. In the second step, we feed these aggregated total bandwdths for each destnaton IP nto a SELECT- TOP-1 aggregaton wth key hash(hh-step2, TOP-1) to dentfy the TOP-1 heavy htters among all flows. In Secton VI we show how s self-tunng algorthm adapts bandwdth settngs to montor a large number of attrbutes and provdes hgh result accuracy by flterng majorty of mce flows [19] (attrbutes wth low frequency) whle prortzng updates for the heavy-htter flows; we expect typcal montorng applcatons to have a large number of mce flows but only a few heavy htters [7], [1], [19] [21]. (1)

5 IV. DESIGN In ths secton we present the desgn and descrbe our self-tunng algorthm that adapts bandwdth settngs at each node to maxmze query precson. A. System Model We focus on dstrbuted stream processng envronments wth a large number of data sources that perform n-network aggregaton to compute contnuous aggregate queres over ncomng data streams. The bandwdth resources for query processng may be lmted at a number of ponts n the network. In partcular, a node j s outgong bandwdth may be constraned (Bj O ), a node j s ncomng bandwdth may be constraned (Bj I ), or both. Note that constranng the ncomng bandwdth bounds (a) the control traffc overhead for montorng and (b) the CPU processng load for computng the aggregaton functon across ncomng data nputs. Fnally, these bandwdth capactes may vary among nodes n heterogeneous envronments and wth tme f bandwdth s shared wth other applcatons. At any tme, each attrbute s numerc value s bounded by an AI error δ. If δ s small, then updates may frequently drve an attrbute s value out of ts last reported range [V mn, V max ], forcng the system to send messages to update the range. A system can, however, reduce ts bandwdth requrements by ncreasng δ. Thus, f a herarchcal aggregaton system has bandwdth constrants, t should determne a δ value at each aggregaton pont that meets the bandwdth constrants nto and out of that pont, and t should select these δ values so as to mnmze the total AI for the attrbute. In partcular, rather than splttng each node s ncomng bandwdth evenly among ts chldren, the system should attempt to assgn bandwdth to where t wll do the most good by reducng the resultng mprecson. In the rest of ths secton, we descrbe the algorthm for mnmzng mprecson whle meetng bandwdth constrants n four steps. Frst, we descrbe a smplfed algorthm for a one-level aggregaton tree and statc workloads. For each leaf node n the system, ths algorthm calculates an deal error settng δ and correspondng expected bandwdth consumpton b such that (1) each leaf node s outbound bandwdth (.e., rate of updates sent to the root) s at most ts outgong bandwdth budget, (2) the root node s ncomng bandwdth (.e., sum of update rates nbound from chldren) s at most ts ncomng bandwdth budget, and (3) the sum of the δ s s mnmzed gven the frst two constrants. Second, we descrbe how to handle dynamc workloads where the estmate of AI error δ vs. bandwdth trade-offs, and hence the optmal dstrbuton, can change over tme. A key challenge here s throttlng the rate at whch the system redstrbutes bandwdth budgets across nodes snce such redstrbuton also ncurs bandwdth costs. Thrd, we generalze the algorthm to handle mult-level aggregaton trees. Symbol Meanng B O outgong bandwdth constrant for node B I ncomng bandwdth constrant for node u nput update rate at node σ standard devaton of node s nput workload chld() all chldren of node δ node s AI error settng b node s outgong bandwdth load δ opt node s optmal AI error settng node s optmal outgong bandwdth load b opt TABLE I SUMMARY OF KEY NOTATIONS. Fnally, we dscuss how our mplementaton copes wth varablty. In partcular, sets the per-node δs so that the average bandwdth meets a target. However, spkes of update load for an attrbute or concdent updates for multple attrbutes could cause nstantaneous bandwdth to exceed the target. To avod such nstantaneous overload, therefore prortzes pendng updates based on the mpact they wll have on ther aggregate values and drans them to the network at the target rate, smlar to broadcast schedulng [34]. B. One-Level Tree Quantfy Bandwdth vs. AI Precson Tradeoff: To estmate the optmal dstrbuton of load budgets among dfferent nodes, we use a smple load vs. error tradeoff model based on Chebyshev nequalty [1]. Ths model quantfes query precson that can be acheved under a gven bandwdth budget. Let X be a random varable wth fnte expectaton µ and varance σ 2. Chebyshev s nequalty states that for any k, P r( X µ kσ) 1 k 2 (2) For AI flterng, the term kσ represents the error budget δ for node. Substtutng for k n Equaton 2 gves: P r( X µ δ ) σ2 δ 2 (3) Ths equaton mples that f the error budget s smaller than the standard devaton (.e., δ σ and k 1), then δ s unlkely to flter many data updates. In ths case, Equaton 3 provdes only a weak bound on the message cost: the probablty that each ncomng update wll trgger an outgong message s bounded by 1. However, f δ kσ for any k 1, the fracton of unfltered updates s probablstcally bounded by σ 2. In general, gven the nput update rate u δ 2 for node wth error budget δ, the expected message cost for node per unt tme s: { σ 2 } M = MIN u, δ 2 u (4) We use the expected message cost M to estmate node s optmal outgong bandwdth b opt. Estmate Bandwdth Settngs under Fxed Load: To estmate the optmal load dstrbuton and settngs of AI error δs at each node n a one-level tree rooted at node r, we formulate an optmzaton problem of mnmzng the total

6 error for a SUM aggregate at root r under gven bandwdth budgets Br I (at the root) and B O (at chld ): MIN chld(r), b opt s.t. chld(r) δ opt chld(r) σ 2 u (δ opt ) 2 BI r = σ2 u (δ opt ) 2 mn{bo, u } where b opt denotes the estmated optmal settng of outgong bandwdth of node to meet the global objectve of mnmzng the total error chld(r) δ opt () subject to two constrants: (1) node s outgong bandwdth budget ( b opt mn{b O, u } ) ( and (2) ) ncomng bandwdth budget at root r b opt Br I. chld(r) Enforcng Incomng Bandwdth Constrant: To solve Equaton (), we frst relax the outgong bandwdth constrants (.e.,, b opt mn{b O, u }) but enforce the ncomng bandwdth constrant. Later, we provde a soluton when the outgong bandwdth constrants are also enforced. Usng Lagrangan Multplers, the above formulaton yelds a closed-form and computatonally nexpensve soluton [17]: 3 σ 2 c u c δ opt c chld(r) = σ 3 2 u (6) B I r whch provdes a closed-form formula for settng b opt b opt = σ2 u ) = 2 BI r (δ opt δ 2 = BI r N : 3 σ 2 u (7) 3 σ 2 c u c c chld(r) As a smple example, f u = σ = 1, then each node sets the same δ for the attrbute as δ = N, and the bandwdth Br I budget for node wll be 1.e., gven a total bandwdth budget and unform workload dstrbuton across nodes, each node gets a unform share of the bandwdth to update each attrbute. Note that to set b opt (Equaton (7)), each node needs to 3 know σ 2 c u c and root r s ncomng bandwdth c chld(r) budget B I r ; computes a smple SUM aggregate across chldren nputs to obtan ths nformaton. As a smple optmzaton, these messages are pggy-backed on data updates. Enforcng Outgong Bandwdth Constrants: Note that the above load assgnment assumes that the outgong bandwdth constrant b opt c mn{bc O, u c } holds for every chld c. If for a node, the above soluton doesn t satsfy b opt mn{b O, u }, then we need to set b opt = mn{b O, u } to satsfy ts bandwdth constrant. Ths stuaton may arse n heterogeneous envronments where a subset of nodes may experence hgher nput loads (e.g., DDoS attacks) or may become severely resource-constraned (e.g., sensor networks wth low power devces). Settng b opt = mn{b O, u } can free up part of r s ncomng capacty Br I, whch can be reassgned to other chldren to ncrease ther bandwdth budget thereby mprovng the overall accuracy. therefore apples an teratve algorthm that n each teraton determnes all saturated chldren C sat at each step, fxes ther load budgets and error settngs, and recomputes Equatons (6), (7) for all the remanng chldren (assumng chld set C sat s absent). A chld j s labeled saturated f b opt j Bj O.e., ts avalable outgong bandwdth s at most the estmated optmal settng of ts outgong bandwdth. Note that for our DHT-based aggregaton trees, the fan-n for a node s typcally 16 (.e., a 4-bt correcton per hop) so the teratve algorthm runs n constant tme (at most 16 tmes). C. Self-Tunng Bandwdth Settngs The above soluton s derved assumng that σ and u are gven and reman constant. In practce, σ and u may change over tme dependng on the workload characterstcs. therefore self-tunes bandwdth settngs to mprove accuracy. Cost-Beneft Throttlng: We apply cost-beneft throttlng to dynamcally adapt the bandwdth settngs. Specfcally, after computng the new bandwdth budgets, a node computes a charge metrc for each attrbute a whch estmates the reducton n error ganed by refreshng a: charge a = (T curr T a lastsent) D a (8) where T curr s the current tme, TlastSent a s the last tme an attrbute a s update was sent, and D a denotes the devaton between a s current value at that node and ts last reported range [V mn, V max ] to the parent. For example, f a s AI error range cached at the parent s [1, 2] and a new update wth value 11 arrves at a chld node, we expand the range to [1,11] at the chld to nclude the new value settng D a =1. Notce that an attrbute s charge wll be large f () there s a large error mbalance (.e., D a s large), or () there s a longlastng mbalance (e.g., T curr TlastSent a s large). Further, only usng D a may hurt precson f the attrbute has a repeated behavor of quckly dvergng after the last refresh. Therefore, the temporal term (T curr TlastSent a ) prortzes attrbutes who are lkely to agan dverge slowly after beng refreshed thereby gvng a long-term precson beneft. Snce redstrbuton also consumes bandwdth budgets, we only send messages to readjust the bandwdth settngs when dong so s lkely to reduce the tme-averaged error for those attrbutes by at least a threshold τ (.e., f charge a > τ). Further, to ensure the nvarant that a node does not exceed ts bandwdth whle sendng updates for multple attrbutes, we present a smple prortzaton technque n Secton IV-E. D. Mult-Level Trees To scale to a large number of nodes, we extend our basc algorthm for a one-level tree to a dstrbuted algorthm for a mult-level aggregaton herarchy. Note that n a mult-level tree, leaf nodes use AI error δ to flter sensor updates and nternal nodes retan a local AI error, δ self, to help prevent

7 updates receved from ther chldren from beng propagated further up the tree [1], [3]. In an aggregaton tree, each nternal node apples the selftunng algorthm smlar to the one-level tree case: the nternal node s a local root for each of ts mmedate chldren, and the bandwdth targets Bp I for parent p and Bc O for each chld c are nput as constrants n Equaton (). The key dfference s that for chldren who are nternal nodes, we use ther AI error δ self n ths optmzaton framework. To estmate the optmal bandwdth and AI error settngs for each chld, the parent node p tracks ts ncomng update rate.e., the aggregate number of messages sent by all ts chldren per tme unt (u p ) and the standard devaton (σ p ) of updates receved from ts chldren. Note that u c, σ c reports are accumulated by chld c untl they can be pggy-backed on an update message sent to ts parent. Gven ths nformaton, a parent estmates for each chld c, the optmal outgong bandwdth b opt c and the AI error that mproves the total precson n the aggregate value δ opt c(self) computed across the chldren gven bandwdth constrants 1. E. Prortzng Pendng Updates Fnally, we descrbe how our mplementaton addresses the challenge posed by varablty n bandwdth targets. In partcular, we want to avod stuatons where a node meets ts average bandwdth target but may temporarly exceed nstantaneous bandwdth target due to spkes of update load for an attrbute, concdent updates for multple attrbutes, or a sudden ncrease n avalable bandwdth. Each node needs to send messages to the root to mnmze the query error. Therefore, we need to prortze sendng those messages that beneft precson the most. A nave refreshng algorthm that updates attrbutes n a round-robn fashon could easly spend network messages that do not reduce error whle consumng valuable bandwdth resource. Lmtng sendng of non-useful updates s a partcular concern for applcatons lke DHH that montor a large number of attrbutes, only a few of whch are actve enough to be worth optmzng. To address ths problem, our mplementaton provdes a prorty heap of all pendng updates that need to be sent ordered by ther prorty. Usng ths heap, prortzes pendng updates based on the mpact they wll have on ther aggregate values and drans them to the network at a target rate. Specfcally, at each tme step, a node keeps removng the maxmum prorty attrbute from the heap and sendng t to the correspondng parent untl the node s nstantaneous target bandwdth s reached. Note that to compare prortes across dfferent attrbutes that have dfferent value ranges across dfferent queres, we normalze an attrbute a s refresh prorty (Equaton (8)) by dvdng the devaton D a by the standard devaton σ a of that attrbute. 1 Note that fndng a globally optmal soluton s too expensve n ths envronment as t requres perfect knowledge of (possbly varyng) (1) per node bandwdth settngs, (2) network topology, and (3) update rate and varance of nput workload at all tmes. Therefore, adapts bandwdth n a best-effort, self-tunng manner to acheve hgh precson n herarchcal trees and our experments show that ths approach works well n practce. level 4 level 3 level 2 level 1 level Event level 4 level 3 level 2 level 1 level Event TI TI (a) Send synchronzed updates every TI seconds. TI/4 TI/2 3TI/4 TI (b) Send unsynchronzed updates every TI/ l seconds. Next TI nterval starts here Fg.. For a gven TI bound, ppelned delays wth synchronzed clocks (a) allows nodes to send less frequently than unppelned delays wthout synchronzed clocks (b). V. IMPLEMENTATION In ths secton, we descrbe the prototype mplementaton of. Frst, we present a key performance optmzaton of temporal batchng of updates to reduce load and to quantfy staleness of query results. Second, we descrbe how to buld bandwdth-aware aggregaton trees to mprove accuracy n heterogeneous network envronments. Then, we descrbe how handles falures and reconfguratons. Fnally, we dscuss how to mprove precson for dfferent aggregates. A. Temporal Imprecson ntegrates temporal mprecson wth arthmetc flterng to provde staleness guarantees on query results and to reduce the montorng load. Temporal Imprecson (TI) bounds the delay from when an event/update occurs untl t s reported [8], [9], [11], [36]. A temporal mprecson of TI (e.g., TI = 3 seconds) guarantees that every event that occurred TI or more seconds ago s reflected n the reported result; events younger than TI may or may not be reflected. In, each attrbute has a TI nterval durng whch ts updates are batched nto a combned message, checked f the combned update drves the aggregate value out of the last reported AI range, and then pushed nto the prorty queue to be sent to the parent. Temporal mprecson benefts montorng applcatons n two ways. Frst, t accounts for nherent network and processng delays n the system; gven a worst-case per-hop cost hop max even mmedate propagaton provdes a temporal guarantee no better than l hop max where l s the maxmum number of hops from any leaf to the root of an aggregaton tree. Second, explctly exposng TI allows to reduce load by usng temporal batchng: a set of updates at a leaf sensor are condensed nto a perodc report or a set of updates that arrve at an nternal node over a tme nterval are combned nto a sngle message before beng sent further up the tree [17]. Ths temporal batchng mproves scalablty by reducng processng and network load as we show usng experments on a network montorng applcaton n Secton VI.

8 mplements TI usng a smple mechansm of havng each node send updates to ts parent once per TI/l seconds smlar to TAG [8] as shown n Fgure (b). Further, to maxmze the possblty of batchng updates, when clocks are synchronzed 2, ppelnes delays across tree levels so that each node sends once every (TI ) seconds wth each level s sendng tme staggered so that the updates from level arrve just before level + 1 can send (Fgure (a)). The term accounts for the worst-case per hop delays and maxmum clock skew; detals are n the extended techncal report [17]. B. Bandwdth-Aware Tree Constructon As descrbed n Secton III, leverages DHTs [16], [29], [3], [38] to construct a forest of aggregaton trees and maps dfferent attrbutes to dfferent trees [14] [16], [39] for scalablty and load balancng. then uses these trees to perform n-network aggregaton. constructs bounded fan-n, bandwdth-aware aggregaton trees to mprove result accuracy and quckly detect anomales n heterogeneous envronments. Recent studes [7], [1], [19] [21] suggest that only a few attrbutes (e.g., elephant flows [19]) generate a sgnfcant fracton of the total traffc n many montorng applcatons. Thus, to provde fast anomaly detecton, an aggregaton tree should quckly route the updates of elephant flows towards the root such that no nternal node becomes a processng/communcaton bottleneck due to ether hgh n-degree or low bandwdth. DHTs provde dfferent degrees of flexblty n choosng neghbors and next-hop paths n buldng aggregaton trees [4]. Many DHT mplementatons [18], [3] use proxmty (usually round-trp latency) n the underlyng network topology to select neghbors n the DHT overlay. Ths neghbor selecton n turn determnes the parent-chld relatonshps n the aggregaton tree. However, n a heterogeneous envronment where dfferent nodes have dfferent bandwdth budgets, an aggregaton tree formed solely based on RTTs may degrade the qualty precson of the query result for two reasons. Frst, a node may not have suffcent outgong bandwdth to send updates up n the tree even though ts underlyng tree may be suffcently well-provsoned. In such an envronment, ths node becomes a bottleneck as the updates sent by the underlyng subtree go wasted. Second, a resource-lmted parent may not be able to process the aggregate outgong update rate of all ts chldren. Thus, a practcal technque for buldng trees would be to bound the number of chldren at each nternal node and use both latences and bandwdth constrants to select the best parent at each tree level. To mprove accuracy and to quckly dentfy anomales, bulds DHT-based aggregaton trees as follows: Bound the fan-n (.e., number of chldren) at each parent node. In our mplementaton, a chld node selects ts parent such that the fan-n at the parent s at most 16.e., each parent has maxmum up to 16 chldren. 2 Algorthms n the lterature can acheve clock synchronzaton among nodes to wthn one mllsecond [37]. Use both network latency and avalable bandwdth capacty as the proxmty metrc for selectng parent nodes. orders DHT neghbors of a node such that they have the hghest ncomng bandwdth capacty and have network latency below a specfed threshold. Thus, nodes close n proxmty and havng hgh bandwdth capactes are hghly lkely to be selected as parent nodes. Fnally, note that n some envronments, t mght be useful to select nodes wth low bandwdth as parents e.g., f the nput workload at the leaf nodes comes from an ndependent unform dstrbuton, then a node closer to the root s expected to receve very few updates snce an aggregate (e.g., SUM) s lkely to become more stable gong towards the root. However, n practce, real workloads (1) are often non-unform wth few attrbutes generatng a sgnfcant fracton of the total traffc [19] and (2) exhbt both temporal and spatal skewness wth nput rates unexpectedly ncreasng over tme and across nodes. We quantfy the effectveness of constructng bounded fan-n, bandwdth-aware aggregaton trees n Secton VI. C. Robustness Falures and reconfguratons are common n dstrbuted systems. As a result, a query mght return a stale answer when nodes whose nputs are needed to compute the aggregate result become unreachable. Furthermore, n a large-scale montorng system, such falures can nteract badly wth our technques for provdng scalablty herarchy, arthmetc flterng, and temporal batchng. E.g., f a subtree s slent over an nterval, t s dffcult to dstngush between two cases: (a) the subtree has sent no updates because the nputs have not sgnfcantly changed or (b) the nputs have sgnfcantly changed but the subtree s unable to transmt ts report. As a result, reported results can devate arbtrarly from the truth. Addressng ths problem of node falures and network dsruptons n large-scale montorng systems s beyond the scope of ths paper. In a separate paper [41], we descrbe how a new consstency metrc called Network Imprecson (NI) safeguards the accuracy of query results n the face of falures, network dsruptons, and system reconfguratons. D. Dscusson Improvng precson for dfferent aggregates: focuses on the SUM aggregate snce t s lkely to be common n network montorng [9], [1] and fnancal applcatons [32]; maxmzng precson for the AVG aggregate s smlar to SUM. For MAX, MIN aggregates, f the AI error budget s fxed, then the best error assgnment s to gve equal AI error budget to all the leaf nodes. However, snce bandwdth budget s lmted n practce, each node may set ts precson dfferently to meet ts avalable bandwdth. An ntutve soluton to compute global MAX, MIN values s to smply broadcast them to each node, and a node sends an update only f t changes the global aggregate. However, ths approach may lmt scalablty n large-scale data stream systems that montor a large number of dynamc attrbutes. For the TOP-K aggregate, acheves hgh accuracy by prortzng updates based on the

9 Fg. 6. provdes hgher precson benefts as skewness n a workload ncreases. The fgures show the average error vs. load budget for three dfferent skewness settngs (a) 2:8%, (b) :%, and (c) 9:1%. hghest aggregate values and the result devaton D a. Our experments n Secton VI show that ths approach works well n practce. We plan to develop mechansms for other aggregates such as quantles n future work. Boundng Query Result Dvergence: ams to delver results wth useful accuracy under lmted bandwdth resources. Some applcatons, however, may requre guaranteed upper bounds on the dvergence of query results e.g., settng a threshold on the total traffc sent by a dstrbuted experment n PlanetLab [42]. To accommodate such cases, allows an attrbute to be tagged as a hard precson lmt attrbute, and t uses STAR [1] that adapts gven AI error budgets to mnmze bandwdth cost for such attrbutes. VI. EXPERIMENTAL EVALUATION In ths secton, we present the precson and scalablty results of an expermental study of. Frst, we use smulatons to evaluate the mprovement n query result accuracy due to s adaptve bandwdth settngs. Second, we quantfy the scalablty and accuracy acheved by for the DHH applcaton n a network montorng mplementaton. To perform ths experment, we have mplemented a prototype of usng the PRISM aggregaton system [17] on top of FreePastry [29]. We use Ablene [33] netflow traces and perform the evaluaton on 12 node nstances mapped to 3 machnes n the department Condor cluster. Fnally, we nvestgate the precson benefts of constructng bandwdthaware aggregaton trees usng our prototype. A. Smulaton Experments In ths secton, we quantfy the result accuracy acheved by compared to unform bandwdth allocaton and an dealzed optmal algorthm. Frst, we assess the effectveness of adaptve bandwdth settngs n mprovng result precson as skewness n a workload ncreases. Second, we analyze the effect of fluctuatng bandwdth. Fnally, we evaluate for dfferent workloads. In all experments, all actve sensors are at the leaf nodes of an aggregaton tree. Each sensor generates a data value every tme unt (round) for two sets of synthetc workloads for 1, rounds: (1) a random walk pattern n whch the value ether ncreases or decreases by an amount sampled unformally from [., 1.], and (2) a Gaussan dstrbuton wth standard devaton 1 and mean. We smulate m {1, 1} data sources each havng n {1, 1} attrbutes n one-level and mult-level trees, and under fxed and fluctuatng bandwdth. All attrbutes have equal weghts, messages have the same sze, and each message uses one unt of bandwdth. Evaluatng Update Rate Skewness: Frst, we evaluate the precson benefts of as skewness n a workload ncreases. We compare t wth (1) the optmal algorthm under the dealzed and unrealstc model of perfect global knowledge of each attrbute s dvergence at each data source and (2) a unform allocaton polcy where the ncomng bandwdth capacty B at a parent s allocated equally ( B C ) among ts chld set C. Although ths smple polcy s correct (the total ncomng load from the chldren s guaranteed to never exceed the ncomng load of ther parent), t s not generally the best polcy as we show n our experments. We frst perform a smple experment for a one-level tree and later show the results for herarchcal topologes. Fgure 6 shows the query precson acheved by for m=1 and n=1 under the followng skewness settngs: (a) 2:8%, (b) :%, and (c) 9:1%. For example, the 2:8% skewness represents that a randomly selected 2% attrbutes are updated wth probablty.1 whle the remanng ones are updated consstently every round under the random walk model. In all subsequent graphs n ths secton, the x-axs denotes the bandwdth budget as a fracton of the total cost m.n of refreshng all the attrbutes across all nodes; the y-axs shows the resultng average error. For 2:8% skewness, snce only a small fracton of attrbutes are stable, can only reclam up to 2% load budget from stable attrbutes sources and dstrbute t to dynamc sources to reduce ther error. For small bandwdth budgets, mproves accuracy by up to 3% compared to unform allocaton. The optmal algorthm mproves accuracy by 27% over. As the load budget ncreases, converges to the optmal soluton. mproves error by 4% over unform allocaton under 2% load budget and by more than an order of magntude under suffcently large budgets. For the : case, can reclam % of the total load budget compared to unform allocaton and gve t to unstable sources. In ths case, reduces error

10 Fg. 7. mproves accuracy even under fluctuatng bandwdth. The maxmum bandwdth varaton n the fgure s (a) 1%, (b) 2%, and (c) 3%. by up to % over unform polcy at 4% bandwdth and acheves accuracy close to the optmal soluton. Fnally, for 9% skewness, acheves the accuracy of the optmal algorthm even under 2% fracton of the total bandwdth and mproves accuracy by more than an order of magntude over unform allocaton. We observed qualtatvely smlar results for other m and n settngs. Note that the advantages of depend on the workload skewness. We expect that for systems montorng a large numbers of attrbutes (e.g., DHH), some attrbutes (e.g., elephants) wll have a hgh varablty n data values and update rates so they gan only a modest advantage n accuracy from, whle other attrbutes (e.g., mce) wll have large ratos and hence, a query (e.g., top-k) wll gan large advantages snce t only needs to provde hgh accuracy for the top-k flows. Effect of Fluctuatng Bandwdth: Next, we evaluate the effectveness of under fluctuatng bandwdth. We vary the ncomng bandwdth over tme followng a sne wave pattern and set the maxmum rate of bandwdth change to 1%, 2%, and 3% for m=1 nodes each havng n=1 attrbutes. We use update rate skewness of % as descrbed above. From Fgure 7, we observe that under 1% varaton, provdes % reducton n error over unform allocaton at 4% bandwdth fracton. As we ncrease the bandwdth fluctuaton from 1% to 3%, reduces error by about 7% under 4% bandwdth fracton, and more than an order of magntude for larger fractons. In all cases, acheves accuracy close to the optmal algorthm. Evaluatng Dfferent Workloads: Fnally, we evaluate under dfferent confguratons by varyng nput workload, standard devaton (step szes), and update frequency at each node. The workload data dstrbuton s generated from a random walk pattern and Gaussan models. For standard devaton/step-sze, 7% nodes have unform parameters as prevously descrbed; the remanng 3% nodes have these parameters set proportonal to rank (.e., wth localty) or randomly assgned (.e., no localty) from the range [., 1]. Fgure 8 shows the correspondng results for dfferent settngs of nput workload and standard devaton for m=1 and n=1. The update frequency s set to.7 skewness as descrbed prevously. We make three key observatons. Frst, Fg. 8. Precson benefts of vs. optmal algorthm and unform allocaton for dfferent {workload, step szes/standard devaton} confguratons: (a) random walk, rank, (b) random walk, random, (c) Gaussan, rank, and (d) Gaussan, random. s error s close to the optmum algorthm under the rank based assgnment as shown n Fgure 8(a),(c). Second, under random assgnment, s accuracy benefts are reduced snce updates generated from wthn the same subtree are lkely uncorrelated. In both cases, as bandwdth ncreases, s error approaches the optmal. Thrd, because stepszes are based on node rank, prortzes attrbutes havng hgher step-szes and update rates, and apples costbeneft throttlng to ensure that the precson benefts exceed costs. The unform polcy, however, does not make such a dstncton equally favorng all attrbutes that need to be refreshed, thereby neffectve n mprovng precson. Fnally, under lmted bandwdth, refreshng mce attrbutes wth small step szes does not sgnfcantly reduce the result error for queres such as top-k heavy htters but consumes valuable bandwdth resources. For all these confguratons, mproves accuracy by up to an order of magntude over unform allocaton. The optmal approach mproves accuracy by 2% over. Overall, across all confguratons n Secton VI-A, reduces naccuracy by up to an order of magntude compared to unform allocaton and s wthn 27% of the optmal algorthm under modest bandwdth fracton.

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

More information

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

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

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

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

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

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

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

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

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

Resource and Virtual Function Status Monitoring in Network Function Virtualization Environment

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

More information

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

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

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

More information

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

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

Goals and Approach Type of Resources Allocation Models Shared Non-shared Not in this Lecture In this Lecture

Goals and Approach Type of Resources Allocation Models Shared Non-shared Not in this Lecture In this Lecture Goals and Approach CS 194: Dstrbuted Systems Resource Allocaton Goal: acheve predcable performances Three steps: 1) Estmate applcaton s resource needs (not n ths lecture) 2) Admsson control 3) Resource

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

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

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

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

CS 534: Computer Vision Model Fitting

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

More information

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

MobileGrid: Capacity-aware Topology Control in Mobile Ad Hoc Networks

MobileGrid: Capacity-aware Topology Control in Mobile Ad Hoc Networks MobleGrd: Capacty-aware Topology Control n Moble Ad Hoc Networks Jle Lu, Baochun L Department of Electrcal and Computer Engneerng Unversty of Toronto {jenne,bl}@eecg.toronto.edu Abstract Snce wreless moble

More information

NUMERICAL SOLVING OPTIMAL CONTROL PROBLEMS BY THE METHOD OF VARIATIONS

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

More information

THere are increasing interests and use of mobile ad hoc

THere are increasing interests and use of mobile ad hoc 1 Adaptve Schedulng n MIMO-based Heterogeneous Ad hoc Networks Shan Chu, Xn Wang Member, IEEE, and Yuanyuan Yang Fellow, IEEE. Abstract The demands for data rate and transmsson relablty constantly ncrease

More information

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

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

More information

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

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

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

More information

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

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

More information

AADL : about scheduling analysis

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

More information

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

Internet Traffic Managers

Internet Traffic Managers Internet Traffc Managers Ibrahm Matta matta@cs.bu.edu www.cs.bu.edu/faculty/matta Computer Scence Department Boston Unversty Boston, MA 225 Jont work wth members of the WING group: Azer Bestavros, John

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

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

Biostatistics 615/815

Biostatistics 615/815 The E-M Algorthm Bostatstcs 615/815 Lecture 17 Last Lecture: The Smplex Method General method for optmzaton Makes few assumptons about functon Crawls towards mnmum Some recommendatons Multple startng ponts

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

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

Tuning QoD in Stream Processing Engines

Tuning QoD in Stream Processing Engines 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

More information

ELEC 377 Operating Systems. Week 6 Class 3

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

More information

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

Gateway Algorithm for Fair Bandwidth Sharing

Gateway Algorithm for Fair Bandwidth Sharing Algorm for Far Bandwd Sharng We Y, Rupnder Makkar, Ioanns Lambadars Department of System and Computer Engneerng Carleton Unversty 5 Colonel By Dr., Ottawa, ON KS 5B6, Canada {wy, rup, oanns}@sce.carleton.ca

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

Machine Learning: Algorithms and Applications

Machine Learning: Algorithms and Applications 14/05/1 Machne Learnng: Algorthms and Applcatons Florano Zn Free Unversty of Bozen-Bolzano Faculty of Computer Scence Academc Year 011-01 Lecture 10: 14 May 01 Unsupervsed Learnng cont Sldes courtesy of

More information

Network Coding as a Dynamical System

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

More information

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

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009.

Assignment # 2. Farrukh Jabeen Algorithms 510 Assignment #2 Due Date: June 15, 2009. Farrukh Jabeen Algorthms 51 Assgnment #2 Due Date: June 15, 29. Assgnment # 2 Chapter 3 Dscrete Fourer Transforms Implement the FFT for the DFT. Descrbed n sectons 3.1 and 3.2. Delverables: 1. Concse descrpton

More information

A fair buffer allocation scheme

A fair buffer allocation scheme A far buffer allocaton scheme Juha Henanen and Kalev Klkk Telecom Fnland P.O. Box 228, SF-330 Tampere, Fnland E-mal: juha.henanen@tele.f Abstract An approprate servce for data traffc n ATM networks requres

More information

Shared Running Buffer Based Proxy Caching of Streaming Sessions

Shared Running Buffer Based Proxy Caching of Streaming Sessions Shared Runnng Buffer Based Proxy Cachng of Streamng Sessons Songqng Chen, Bo Shen, Yong Yan, Sujoy Basu Moble and Meda Systems Laboratory HP Laboratores Palo Alto HPL-23-47 March th, 23* E-mal: sqchen@cs.wm.edu,

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

Private Information Retrieval (PIR)

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

More information

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

Quantifying Responsiveness of TCP Aggregates by Using Direct Sequence Spread Spectrum CDMA and Its Application in Congestion Control

Quantifying Responsiveness of TCP Aggregates by Using Direct Sequence Spread Spectrum CDMA and Its Application in Congestion Control Quantfyng Responsveness of TCP Aggregates by Usng Drect Sequence Spread Spectrum CDMA and Its Applcaton n Congeston Control Mehd Kalantar Department of Electrcal and Computer Engneerng Unversty of Maryland,

More information

Comparisons of Packet Scheduling Algorithms for Fair Service among Connections on the Internet

Comparisons of Packet Scheduling Algorithms for Fair Service among Connections on the Internet Comparsons of Packet Schedulng Algorthms for Far Servce among Connectons on the Internet Go Hasegawa, Takahro Matsuo, Masayuk Murata and Hdeo Myahara Department of Infomatcs and Mathematcal Scence Graduate

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

Efficient Load-Balanced IP Routing Scheme Based on Shortest Paths in Hose Model. Eiji Oki May 28, 2009 The University of Electro-Communications

Efficient Load-Balanced IP Routing Scheme Based on Shortest Paths in Hose Model. Eiji Oki May 28, 2009 The University of Electro-Communications Effcent Loa-Balance IP Routng Scheme Base on Shortest Paths n Hose Moel E Ok May 28, 2009 The Unversty of Electro-Communcatons Ok Lab. Semnar, May 28, 2009 1 Outlne Backgroun on IP routng IP routng strategy

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

Cost-efficient deployment of distributed software services

Cost-efficient deployment of distributed software services 1/30 Cost-effcent deployment of dstrbuted software servces csorba@tem.ntnu.no 2/30 Short ntroducton & contents Cost-effcent deployment of dstrbuted software servces Cost functons Bo-nspred decentralzed

More information

Parallel matrix-vector multiplication

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

More information

Feature Reduction and Selection

Feature Reduction and Selection Feature Reducton and Selecton Dr. Shuang LIANG School of Software Engneerng TongJ Unversty Fall, 2012 Today s Topcs Introducton Problems of Dmensonalty Feature Reducton Statstc methods Prncpal Components

More information

State of the Art in Differentiated

State of the Art in Differentiated Outlne Dfferentated Servces on the Internet Explct Allocaton of Best Effort Packet Delvery Servce, D. Clark and W. Fang A Two bt Dfferentated Servces Archtecture for the Internet, K. Nchols, V. Jacobson,

More information

On the Fairness-Efficiency Tradeoff for Packet Processing with Multiple Resources

On the Fairness-Efficiency Tradeoff for Packet Processing with Multiple Resources On the Farness-Effcency Tradeoff for Packet Processng wth Multple Resources We Wang, Chen Feng, Baochun L, and Ben Lang Department of Electrcal and Computer Engneerng, Unversty of Toronto {wewang, cfeng,

More information

Online Policies for Opportunistic Virtual MISO Routing in Wireless Ad Hoc Networks

Online Policies for Opportunistic Virtual MISO Routing in Wireless Ad Hoc Networks 12 IEEE Wreless Communcatons and Networkng Conference: Moble and Wreless Networks Onlne Polces for Opportunstc Vrtual MISO Routng n Wreless Ad Hoc Networks Crstano Tapparello, Stefano Tomasn and Mchele

More information

Conditional Speculative Decimal Addition*

Conditional Speculative Decimal Addition* Condtonal Speculatve Decmal Addton Alvaro Vazquez and Elsardo Antelo Dep. of Electronc and Computer Engneerng Unv. of Santago de Compostela, Span Ths work was supported n part by Xunta de Galca under grant

More information

Constructing Minimum Connected Dominating Set: Algorithmic approach

Constructing Minimum Connected Dominating Set: Algorithmic approach Constructng Mnmum Connected Domnatng Set: Algorthmc approach G.N. Puroht and Usha Sharma Centre for Mathematcal Scences, Banasthal Unversty, Rajasthan 304022 usha.sharma94@yahoo.com Abstract: Connected

More information

Problem Set 3 Solutions

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

More information

TECHNICAL REPORT AN OPTIMAL DISTRIBUTED PROTOCOL FOR FAST CONVERGENCE TO MAXMIN RATE ALLOCATION. Jordi Ros and Wei K Tsai

TECHNICAL REPORT AN OPTIMAL DISTRIBUTED PROTOCOL FOR FAST CONVERGENCE TO MAXMIN RATE ALLOCATION. Jordi Ros and Wei K Tsai TECHNICAL REPORT AN OPTIMAL DISTRIUTED PROTOCOL FOR FAST CONVERGENCE TO MAXMIN RATE ALLOCATION Jord Ros and We K Tsa Department of Electrcal and Computer Engneerng Unversty of Calforna, Irvne 1 AN OPTIMAL

More information

Towards High Fidelity Network Emulation

Towards High Fidelity Network Emulation Towards Hgh Fdelty Network Emulaton Lanje Cao, Xangyu Bu, Sona Fahmy, Syuan Cao Department of Computer Scence, Purdue nversty, West Lafayette, IN, SA E-mal: {cao62, xb, fahmy, cao208}@purdue.edu Abstract

More information

Review of approximation techniques

Review of approximation techniques CHAPTER 2 Revew of appromaton technques 2. Introducton Optmzaton problems n engneerng desgn are characterzed by the followng assocated features: the objectve functon and constrants are mplct functons evaluated

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

Dynamic Voltage Scaling of Supply and Body Bias Exploiting Software Runtime Distribution

Dynamic Voltage Scaling of Supply and Body Bias Exploiting Software Runtime Distribution Dynamc Voltage Scalng of Supply and Body Bas Explotng Software Runtme Dstrbuton Sungpack Hong EE Department Stanford Unversty Sungjoo Yoo, Byeong Bn, Kyu-Myung Cho, Soo-Kwan Eo Samsung Electroncs Taehwan

More information

LECTURE : MANIFOLD LEARNING

LECTURE : MANIFOLD LEARNING LECTURE : MANIFOLD LEARNING Rta Osadchy Some sldes are due to L.Saul, V. C. Raykar, N. Verma Topcs PCA MDS IsoMap LLE EgenMaps Done! Dmensonalty Reducton Data representaton Inputs are real-valued vectors

More information

Analytic Evaluation of Quality of Service for On-Demand Data Delivery

Analytic Evaluation of Quality of Service for On-Demand Data Delivery Analytc Evaluaton of Qualty of Servce for On-Demand Data Delvery Hongfe Guo Haonan Tan ( guo@cs.wsc.edu) (haonan@cs.wsc.edu) Abstract Qualty of servce (QoS) measured as balkng probablty and average watng

More information

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

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

More information

WIRELESS communication technology has gained widespread

WIRELESS communication technology has gained widespread 616 IEEE TRANSACTIONS ON MOBILE COMPUTING, VOL. 4, NO. 6, NOVEMBER/DECEMBER 2005 Dstrbuted Far Schedulng n a Wreless LAN Ntn Vadya, Senor Member, IEEE, Anurag Dugar, Seema Gupta, and Paramvr Bahl, Senor

More information

A Robust Method for Estimating the Fundamental Matrix

A Robust Method for Estimating the Fundamental Matrix Proc. VIIth Dgtal Image Computng: Technques and Applcatons, Sun C., Talbot H., Ourseln S. and Adraansen T. (Eds.), 0- Dec. 003, Sydney A Robust Method for Estmatng the Fundamental Matrx C.L. Feng and Y.S.

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

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

A New Feedback Control Mechanism for Error Correction in Packet-Switched Networks

A New Feedback Control Mechanism for Error Correction in Packet-Switched Networks Proceedngs of the th IEEE Conference on Decson and Control, and the European Control Conference 005 Sevlle, Span, December -15, 005 MoA1. A New Control Mechansm for Error Correcton n Packet-Swtched Networks

More information