Achieving class-based QoS for transactional workloads

Size: px
Start display at page:

Download "Achieving class-based QoS for transactional workloads"

Transcription

1 Achevng class-based QoS for transactonal workloads Banca Schroeder Mor Harchol-Balter Carnege Mellon Unversty Department of Computer Scence Pttsburgh, PA USA <banca, Arun Iyengar Erch Nahum IBM T.J. Watson Research Center Yorktown Heghts, NY USA Abstract In e-commerce applcatons certan classes of users desre mean response tme guarantees and are wllng to pay for ths preferental level of servce. Unfortunately, todays commercal DBMS, whch le at the heart of most e- commerce applcatons, do not provde adequate support for class-based qualty of servce guarantees. When desgnng methods for provdng such guarantees, t s furthermore desrable that they be effectve across workloads and not rely on changes to DBMS nternals for portablty and ease of mplementaton. Ths paper presents an External Queue Management System (EQMS) that strves to acheve the above goals. 1. Introducton Transacton processng systems le at the core of modern e-commerce applcatons such as on-lne retal stores, banks and arlne reservaton systems. The economc success of these applcatons depends on the ablty to acheve hgh user satsfacton, snce a sngle mouse-clck s all that t takes a frustrated user to swtch to a compettor. Gven that system resources are lmted and demands are varyng, t s dffcult to provde optmal performance to all users at all tmes. However, often transactons can be dvded nto dfferent classes based on how mportant they are to the onlne retaler. For example, transactons ntated by a bg spendng clent are more mportant than transactons from a clent that only browses the ste. A natural goal then s to ensure short delays for the class of mportant transactons, whle for the less mportant transactons longer delays are acceptable. It s n the fnancal nterest of an onlne retaler to be able to ensure that certan classes of transactons (fnancally lucratve ones) are completed wthn some target mean response tme. It s also fnancally desrable for the onlne retaler to be able to offer a Servce Level Agreement (SLA) to certan customers, guaranteeng them some target mean response tme that they desre (wth possble deterorated performance for customers wthout SLAs). Ths paper proposes and mplements algorthms for provdng such performance targets on a per-class bass A guaranteed mean response tme for some class of transactons s one form of a Qualty of Servce (QoS) target. In many stuatons t s useful to provde more general QoS targets such as percentle targets, where x% of response tmes for a class are guaranteed to be below some value y. Percentle targets are often demanded by clents as part of a Servce Level Agreement (SLA), for example to ensure that at least 9% of the clent s transactons see a response tme below a specfed threshold. In addton to perclass response tme and percentle targets, another common QoS target s to provde low varablty n response tmes. The reason s that users may judge a relatvely fast servce stll unacceptable unless t s also predctable [5, 11, 25]. Because the domnant tme assocated wth servng an e-commerce transacton s often the tme spent at the backend database (rather than the front-end web/app server), t s mportant that the QoS be appled to the backend database system to control the tme spent there. Yet, commercal database management systems (DBMS) do not provde effectve servce dfferentaton between dfferent classes of transactons. In desgnng a framework for provdng class-based QoS targets one strves for the followng hgh-level desgn goals: Dverse per-class QoS target metrcs The system should allow for an arbtrary number of dfferent classes, where the classes can dffer n ther arrval rates, transacton types, etc. Each class s assocated wth one or more QoS targets for (per-class) mean response tme, percentles of response tme, varablty n response tme, best effort, or any combnaton thereof. Portablty and ease of mplementaton Ideally the system should be portable across DBMS, and easy to mplement.

2 Self-tunng and self-adaptve The system should deally have few parameters, all of whch are determned by the system, as a functon of the QoS targets, wthout nterventon of the database admnstrator. The system should also automatcally self-adapt to changes n the workloads and QoS targets. ncomng transactons external queue DBMS MPL=4 Effectve across workloads Database workloads are dverse wth respect to ther resource utlzaton characterstcs (CPU, I/O, etc.). We am for a soluton whch s effectve across a large range of workloads. No sacrfce n throughput & overall mean response tme Achevng per-class targets should not come at the cost of an ncrease n the overall (over all classes) mean response tme or a drop n overall throughput. Wth respect to the above desgn goals, the pror work s lmted. Commercal DBMS provde tools to assgn prortes to transactons, however these are not assocated wth any specfc response tme targets. Research on real-tme databases does not consder mean per-class response tme goals, but rather looks only at how an ndvdual transacton can be made to ether meet a deadlne or be dropped (we never drop transactons). The only exstng work on per-class mean response tme guarantees for databases s based on modfed buffer pool management algorthms [6, 7, 14, 22]. These technques are not effectve across workloads, snce they focus only on one resource: Tunng the buffer pool wll for example have lttle effect on CPU-bound or lock-bound workloads. Moreover, they don t cover more dverse QoS goals such as percentle or varablty goals. A major lmtaton of all the above approaches s that they rely on changes to DBMS nternals. Ther mplementaton depends on complex DBMS specfcs and s nether smple, nor portable across dfferent systems. Our approach ams at achevng the above hgh-level desgn goals through an external frontend scheduler. The scheduler mantans an upper lmt on the number of transactons executng smultaneously wthn the DBMS called the Mult-Programmng Lmt, or MPL (see llustraton n Fgure 1). If a transacton arrves and fnds MPL number of transactons already n the DBMS, the arrvng transacton s held back n an external queue. Response tme for a transacton ncludes both watng tme n the external queue (queueng tme) and tme spent wthn the DBMS (executon tme). The mmedately apparent attrbute of our approach s that t lends tself to portablty and ease of mplementaton as there s no dependence on DBMS nternals. Also movng the schedulng outsde the DBMS, rather than schedulng ndvdual DBMS resources (such as the bufferpool or lock queues), makes t effectve across dfferent workloads, ndependent of the resource utlzaton. Fgure 1. Smplfed vew of mechansm used to acheve QoS targets. A fxed lmted number of transactons (MPL=4) are allowed nto the DBMS smultaneously. The remanng transactons are held n an unlmted external queue. Response tme s the tme from when a transacton arrves untl t completes, ncludng queueng tme. Wth respect to obtanng dverse QoS targets, the core dea s that by mantanng a low MPL, we obtan a better estmate of a transacton s executon tme wthn the DBMS, and hence we are able to mantan accurate estmates of the per-class mean executon tmes. Ths n turn gves us an upper bound on the queueng tme for a transacton, whch can be used by the scheduler n order to ensure that QoS targets are met. The actual algorthms that we use are more complex and rely on queueng analyss n order to meet a more dverse set of QoS targets, and behave n a self-adaptve manner. The external scheduler acheves class dfferentaton by provdng short queueng tmes for classes wth very strngent QoS targets, at the expense of longer queueng tmes for classes wth more relaxed QoS targets. There are no transactons dropped. One nherent dffculty n ths approach s that not every set of targets s feasble, e.g., not every class can be guaranteed a really low response tme. An external scheduler therefore also needs to nclude methods for determnng whether a set of QoS targets s feasble. The effectveness of the external schedulng approach and whether t requres sacrfces n overall performance (e.g. throughput or mean response tme) depends on the choce of the MPL. For schedulng to be most effectve a very low MPL s desrable, snce then at any tme only a small number of transactons wll be executng nsde the DBMS (outsde the control of the external scheduler), whle a large number are queued under the control of the external scheduler. On the other hand, too low an MPL can hurt the overall performance of the DBMS, e.g., by underutlzng the DBMS resources resultng n a drop n system throughput. Therefore, another core problem an external scheduler needs to solve s that of choosng the MPL. In ths paper we propose and mplement a unfed external schedulng framework called EQMS (External Queue Management System) that addresses all of the above problems. Fgure 2 gves an overvew of the EQMS archtecture.

3 Fgure 2. Overvew of the EQMS system. The EQMS takes as nput a set of classes wth one or several QoS targets for each class. These are specfed by the onlne retaler and are not part of the EQMS. The core component of the EQMS s the Scheduler whch decdes on the order n whch transactons are dspatched to the DBMS such that the assocated QoS targets are met. The scheduler reles on the MPL Advsor to determne an MPL that provdes suffcent schedulng control, whle keepng performance penaltes, such as loss n throughput, below a threshold defned by the DBA (database admnstrator). The MPL Advsor also checks for the feasblty of a gven set of targets. The EQMS combnes feedback control (based on nformaton collected by the Performance Montor) wth queueng theory to operate n a self-tunng and self-adaptve fashon. We demonstrate the effectveness of our soluton n experments wth two dfferent DBMS, IBM DB2 and PostgreSQL. We create a range of workloads, ncludng CPUbound, I/O-bound, and hgh vs. low lock contenton workloads, based on dfferent confguratons of TPC-C [23] and TPC-W [24]. We show that our solutons apply equally well across all workloads studed. The reason s that the core dea of lmtng the MPL reduces contenton wthn the DBMS at the bottleneck resource, ndependent of what the partcular bottleneck resource s. The paper s organzed as follows: Secton 2 revews related work. Secton 3 descrbes the expermental setup. Secton 4 detals the algorthms used by the Scheduler to acheve class-based mean response tme targets and Secton 5 explans how to schedule for more complex QoS goals, ncludng percentle and varablty goals. Secton 6 descrbes the technques used by the Scheduler and the MPL Advsor to adapt n dynamc envronments. We conclude n Secton Related work When lookng at pror work on provdng QoS guarantees for DBMS transactons two ponts are apparent: Frst, pror work focuses on schedulng datbase nternal resources and hence requres modfcatons to DBMS nternals; our goal s to provde QoS guarantees externally, transparent to the underlyng DBMS. Second, only per-class mean response tme targets have been consdered; our goal s to provde methods for a wder range of QoS targets, ncludng varablty or percentle targets. Below we descrbe pror work on provdng guarantees for DBMS transactons. Most of the work s n the area of real-tme DBMS (RTDBMS), whch s concerned wth deadlnes rather than targets nvolvng mean response tme. Commercal DBMS provde tools to assgn prortes to transactons, however these are not assocated wth any specfc response tme targets. The lttle work that nvolves per-class guarantees s prmarly smulaton-only, and does not cover complex QoS goals such as percentle or varablty goals, and s not portable n that t requres the modfcaton of database nternals (e.g. the bufferpool manager). Work on RTDBMS In Real-tme DBMS, there s a deadlne (typcally a hard deadlne) assocated wth each transacton. The goal of RTDBMS s to mnmze the number of transactons whch mss ther deadlnes. If a hard deadlne s mssed, the transacton s dropped. Examples of work n ths area nclude: [1 4, 12]. Ths work s dfferent from our own n that t does not allow for mean response tme targets or varablty targets. Also, n our work, no transactons are dropped. The RTDBMS typcally nvolves usng a specalzed database engne, and the mechansm s mplemented nternally, makng t less portable. Commercal DBMS As a testament to the mportance of the problem of provdng dfferent servce levels most commercal DBMS provde prorty mechansms n some form. For example, both IBM DB2 [16] and Oracle [2] offer CPU schedulng

4 tools for prortzng transactons. Although dfferent classes are gven dfferent prortes wth respect to system resources, t s not clear how these prorty levels relate to achevng specfc response tme targets. Towards ths end, Krass et al. [15] try to map each class to some fxed prorty such that schedulng based on prortes wll meet the desred response tme targets. Such an assgnment of prortes to classes does not always exst. Towards per-class mean response tme targets Carey et al. [1] consder the stuaton of two classes, where they strve to make the mean response tme for the hgh prorty class as low as possble by schedulng nternal DBMS resources on a read-only workload. Ther work s a smulaton study. In our recent work [18] we consder the same problem for a more general workload (TPC-C and TPC-W) under a varety of DBMS va an mplementaton of (DBMS nternal) lock schedulng and CPU schedulng. More closely related to our current work are the followng papers, [6 8,22], all of whch have multple classes each wth a dfferent mean response tme target. Other QoS targets are not consdered. Ther approach s to schedule nternal memory (buffer pool management). The above are all smulaton studes. 3. Expermental setup As representatve workloads for transactonal web applcatons, we choose the TPC-C [23] and TPC-W [24] benchmarks. The TPC-C workload n ths study s generated usng software developed at IBM. The TPC-W workload s generated usng the TPC-W Kt from PHARM [9], though mnor modfcatons are made to mprove performance, ncludng rewrtng the connecton poolng algorthm to reduce overhead. Dfferent confguratons of these workloads (number of warehouses, number of clents) result n dfferent levels of resource utlzaton for the hardware resources: CPU and I/O. We experment wth 4 dfferent confguratons of TPC- C and TPC-W as shown n Table 1(top). We chose these confguratons n order to cover dfferent combnatons of resource utlzaton levels (see Table 1(bottom)). In addton, varyng the confguraton wll also result n dfferent levels of lock contenton [18]. For example, lock contenton s a large component of a transacton s lfetme n workloads W I and W I>CP U, but not n the other workloads. The TPC-C and TPC-W benchmarks are defned to be used as closed systems, and we use them ths way. We assume a zero thnk tme throughout. All results n the paper have been repeated wth non-zero thnk tmes, and wth open system confguratons and results have been found to be smlar. Due to a lack of space, unless otherwse stated, we show only the results for zero thnk tmes, allowng us Workload Benchmark Confg Data- CPU I/O base load load W IO TPC-C 4 WH, 4GB low hgh 1 clents W IO>CP U TPC-C 1 WH, 1GB med. hgh 1 clents W CP U>IO TPC-W 1 EBs, 3MB hgh med. Shoppng 1K tems, 14K customers W CP U TPC-W 1 EBs, 3MB hgh low Browsng 1K tems, 14K customers Table 1. Descrpton of the expermental workloads. to focus on the effect of varyng the MPL n all the graphs. The DBMS we experment wth are IBM DB2 [16] verson 8.1, and PostgreSQL [19] verson 7.3. Due to lack of space, all results graphs throughout the paper pertan to the IBM DB2 DBMS. Results for PostgreSQL are very smlar and we descrbe these n words only. In all experments the DBMS s runnng on a 2.4-GHz Pentum 4 wth 3GB RAM, runnng Lnux , wth a buffer pool sze of 2GB. The machne s equpped wth two 12GB IDE drves, one of whch we use for the database log and the other one for the data. The clent generator s run on a separate machne wth the same specfcatons as the database server, and s drectly connected to the database server through a network swtch. 4. Achevng response tme targets In ths secton we assume that each of the QoS targets s a specfc mean response tme target for each class. Specfcally, class transactons have a target mean response tme of τ. After ntroducng some notaton, we explan the algorthms used by the Scheduler to acheve the per-class response tme targets and to determne whether a set of targets s feasble Notaton The notaton we use n order to formally explan the external schedulng algorthms s summarzed n Table 2, and s straghtforward. The mean response tme of transactons s denoted by T, and can be dvded nto T Q and, where the former denotes the mean tme the transactons spend queueng externally to the DBMS and the latter quantty s the mean tme that the transactons spend wthn the DBMS. That s, T = T Q +

5 T Q T Q T DBMS T T R R τ p t curr T x% DBMS x% τ x% Mean tme transactons spend watng n external queue n system wth external schedulng Mean tme transactons spend executng n the DBMS n system wth external schedulng Mean tme transactons n class spend watng n external queue Mean tme transactons n class spend executng n the DBMS n system wth external schedulng Overall mean response tme,.e. sum of T Q and Mean response tme n orgnal (no external schedulng) system Mean response tme of class transactons n orgnal (no external schedulng) system Mean response tme target of class Fracton of transactons that are class current tme x-th percentle of T x-th percentle of T DBMS Target for x-th percentle of T Table 2. Notaton Furthermore, we denote the per-class response tmes va a subscrpt denotng class, where T denotes the mean response tme for class transactons, and T = T Q + Notce that the above notaton s dfferent from the τ s whch denotes the th class mean response tme target. Lastly, we defne R to be the mean response tme n the orgnal system, wthout external schedulng. The remanng notaton wll be explaned as needed. Measurements of the quanttes ntroduced above,.e. the queung tmes, executon tmes, and total mean response tmes, both per class and aggregated, are needed by the Scheduler and the MPL Advsor and are therefore tracked by the Performance Montor The basc algorthm The Scheduler reles on the MPL Advsor to choose an MPL so that the tme spent wthn the DBMS s low and predctable. In partcular, snce the Scheduler cannot control the tme a transacton takes to execute nsde the DBMS, the MPL has to be low enough such that for each class the expected tme wthn the DBMS s lower than the class response tme target. Gven n QoS classes wth response tme targets {τ 1,..., τ n }, the MPL needs to ensure that for each class < τ The man queston for the Scheduler s then how to order the transactons wthn the external queue to acheve the targets. Observe that for each class the Scheduler knows the mean target response tme τ and can obtan the mean database executon tme T DBMS from the Performance Montor. It can therefore determne how much slack t has n schedulng transactons from ths class: transactons n class can afford on average to wat up to but not more than s = τ tme unts n the external queue before they should start executng n the DBMS. Based on the slack of a transacton the Scheduler computes a tmestamp for when the transacton should be dspatched out of the external queue and nto the DBMS, whch we call the dspatch target tme. Formally, f a new transacton of class arrves at tme t a ts dspatch target t d s t d = t a + s = t a + τ. Whenever a transacton completes at the DBMS, and we have to pck the next transacton for executon from the external queue, we pck the transactons n ncreasng order of ther dspatch targets (t d value). We demonstrate the vablty of the above algorthm expermentally. The above hgh level descrpton omts an mportant ssue arsng n practce: how does the Scheduler adjust to surges and fluctuatons n system load whch mght make t mpossble to acheve all the targets. Ths practcal concern wll be addressed n Secton Feasblty of assgnment The Scheduler dstngushes two types of nfeasble targets. The frst one has already been explaned above and ncludes per-class targets that are lower than the per-class mean executon tme (.e. the average tme spent nsde the DBMS). The mean response tme of a class s the sum of ts queueng tme and ts executon tme, and can obvously not be smaller than ether one of ts components. The frst condton for a target to be feasble s therefore the followng: < τ

6 It s mportant to note that the mean executon tme T DBMS depends on the MPL: a smaller MPL leads to less contenton at the DBMS and therefore to shorter executon tmes. It s therefore the goal of the MPL Advsor to recommend an MPL that meets the above condton, provded that ths does not come at a performance penalty (e.g. n terms of throughput loss) beyond what the DBA has specfed as tolerable. If the MPL Advsor cannot determne an MPL that satsfes the above condton, then the target τ s not feasble. The detals of how the MPL Advsor works wll be explaned n Secton 6.1. The second type of nfeasble targets comprses those that cannot be acheved due to a smple lack of system resources (e.g. suppose every class desres a really low response tme guarantee). More precsely, we don t expect the overall mean response tme under class-based prortzaton to be lower than for the unprortzed system. That s the weghted average over all per-class mean response tme targets s not expected to be lower than the mean response tme n the orgnal unprortzed system. We descrbe a smple condton for determnng whether a set of per-class mean response tme targets s feasble,.e., whether the set of targets s achevable va some algorthm. We start by defnng the overall target mean response tme (aggregated over all classes): τ overall = n p τ =1 Recall R represents the mean response tme n the orgnal system (wthout schedulng). Obvously a necessary condton for achevng the ndvdual τ s (va some orderng of the external queue) s that τ overall > R We now argue (only ntutvely) that ths also represents a suffcent condton. The crux of the argument s that the external schedulng (wth the lmted MPL) does not ncrease the overall measured mean response tme T as compared wth the orgnal R. That s, when the MPL s chosen carefully (as n Secton 6.1) we have T R Hence the above condton also mples whch s suffcent. τ overall > T 4.4. Results for mean response tme targets We expermentally evaluate the accuracy of the Scheduler n achevng per-class mean response tme targets usng the four workloads n Table 1. In all experments we use an MPL of 2, snce for our workloads ths MPL s hgh enough that nether throughput nor overall mean response tme s sacrfced. Tables 3 and 4 show detaled results for W I and W CP U respectvely under IBM DB2. Results are shown n the Measured column correspondng to the QoS target specfed n the prevous two columns. Mean and max values are specfed for a sequence of 1 expermental runs, each consstng of 25, transactons. At the moment, we are only concerned wth the frst two rows of these tables, whch consder per-class response tme targets. We have expermented wth three dfferent classes wth dfferent targets and frequences. As shown n the tables, we are always able to acheve wthn 8% of the desred per-class response tme targets for W IO (Table 3) and wthn 12% of the desred perclass response tme targets for W CP U (Table 4). Recall that W CP U corresponds to the TPC-W workload whch s more varable. Results for W I>CP U are very smlar to those for W I wth errors rangng between -5% and results for W CP U>IO are very smlar to those for W CP U wth errors rangng between 1-11%. We also repeated all experments for PostgreSQL, where results are slghtly worse but stll wthn 15% of the targets. 5. More complex QoS targets In ths secton we consder more complex QoS targets. These nclude: Reducng overall varance n response tmes (aggregated over all class transactons)(secton 5.1); and achevng targets on the x th percentle of response tme for multple classes (Secton 5.2) Reducng varance In addton to desrng low mean response tme, users are equally desrous of low varablty n response tmes [5]. Both W CP U and W IO benchmarks are composed of a fxed set of transacton types. We fnd that although the varance wthn each transacton type s not too hgh, the overall varance n response tme across all transacton types s qute hgh. Specfcally, for W CP U, the squared coeffcent of varaton (C 2 ) for ndvdual transacton types ranges from C 2 = 2 to C 2 = 5; however over all transacton types, we measure C 2 = 15. W IO s less varable. For ndvdual transacton types we measure values rangng from C 2 =.15 to C 2 =.8, whle lookng across all transacton types we measure C 2 = 2.3. As a reference pont, the exponental dstrbuton has C 2 = 1. Fgure 3(left column) shows the (orgnal) response tmes for the dfferent transactons under W CP U and W IO, for IBM DB2. Our approach to combattng varablty s to decrease the response tme of the long transactons (by gvng them prorty) and n exchange ncrease the response

7 Experment type Response tmes Response tmes Percentles Class Frequency Prorty QoS target Target Measured Mean Max Avg. error C1 1% 1 Resp Tme.7 sec % C2 2% 2 Resp Tme 1 sec % C3 7% N/A Best effort N/A N/A C1 4% 1 Resp Tme.6 sec % C2 4% 2 Resp Tme 1.3 sec % C3 2% N/A Best effort N/A N/A C1 1% 1 8th %tle 1 sec % C2 1% 2 95th %tle 2 sec % 8th %tle: N/A C3 8% N/A Best effort N/A 95th %tle: N/A C1 2% 1 8th %tle 1 sec % Percentles C2 2% 2 95th %tle 2 sec % C3 6% N/A Best effort N/A 8th %tle: N/A 95th %tle: N/A Varablty C1 1% 1 Reduce var N/A C 2 =.18 (before C 2 = 2.3) C1 1% 1 Resp Tme.7 sec % C2 1% 2 Resp Tme 1 sec % Combned C3 1% 3 8th %tle 1 sec % C4 1% 4 95th %tle 2 sec % C5 6% N/A Best effort N/A 1.7 Experment type Response tmes Response tmes Percentles Percentles Table 3. Summary of results for dfferent QoS targets for W IO. Class Frequency Prorty QoS target Target Measured Mean Max Avg. error C1 1% 1 Resp Tme 3 sec % C2 2% 2 Resp Tme 6 sec % C3 7% N/A Best effort N/A N/A C1 25% 1 Resp Tme 2.5 sec % C2 25% 2 Resp Tme 6.5 sec % C3 5% N/A Best effort N/A N/A C1 1% 1 8th %tle 3 sec % C2 1% 2 95th %tle 12 sec % C3 8% N/A Best effort NA 8th %tle: N/A 95th %tle: N/A C1 2% 1 8th %tle 3 sec % C2 2% 2 95th %tle 9 sec % C3 6% N/A Best effort N/A 8th %tle: N/A 9th %tle: N/A Varablty C1 1% 1 Reduce var N/A Combned C 2 =.19 (before C 2 = 15) C1 1% 1 Resp Tme 3 sec % C2 1% 2 Resp Tme 6 sec % C3 1% 3 8th %tle 2.5 sec % C4 6% N/A Best effort N/A 8th %tle N/A 95th %tle N/A Mean N/A Table 4. Summary of results for dfferent QoS targets for W CP U.

8 no QoS 14 QoS Mean Response Tme (sec) Mean Response Tme (sec) Request Type Request Type (W CP U before QoS) (W CP U after QoS) Mean response tme (sec) Mean response tme (sec) Transacton type Transacton type (W IO before QoS) (W IO after QoS) Fgure 3. QoS target reducng varablty: Results for W CP U (top) and W IO (bottom). tme of the short transactons, where the goal s to make all transacton response tmes as close to the overall mean response tme as possble. Ths turns out to be possble because n typcal workloads the fracton of transactons wth very long response tmes s qute small as compared wth the fracton of transactons wth short response tmes (as n Pareto s 8-2 rule ). Fgure 3(rght column) shows the results of equalzng the response tmes, hence greatly decreasng varance. Under IBM DB2, for W CP U we are able to decrease C 2 from 15 to.19. For W IO we are able to decrease C 2 from 2.3 to.11. These results are summarzed n Tables 3 and 4. Under PostgreSQL, for W CP U we are able to decrease C 2 from 14 to.9. For W IO we are able to decrease C 2 from 1.6 to.8. The exact algorthm for reducng varablty s easy to mplement wthn our external schedulng framework. We start wth the measured overall mean response tme of the orgnal system R. We denote the mean response tme for the th transacton type by T. Intally some of the T s are hgher than R and some are lower. To make the system more predctable, we assgn type transactons a target mean response tme of τ = R. We then apply the standard method for achevng per-class target mean response tmes. For ths method to work, t s mportant to note that t s desrable that the varablty wthn each type s low, so that each type s more predctable. For many OLTP servers, e.g. the database backend of a Web ste, ths s the case: There are a lmted number of possble transacton types that the user nterface allows for, e.g. orderng, product search, retrevng shoppng cart contents, and these transacton types are each lmted n scope, resultng n low response tme varablty wthn each type Meetng xth percentle targets Mean target response tmes are loose n that they can be heavly nfluenced by a small percentage of transactons. It s concevable that some customers mght prefer stronger guarantees, namely that 9%, say, of ther transactons have response tmes strctly below some target. In ths secton we descrbe how to obtan per-class percentle target guarantees. Consder the example of settng a 9 th percentle target denoted by τ 9% for the transactons n class. Our approach for mean response tme targets doesn t apply to percentle targets. Thus we need a new approach. Our percentle target approach has two parts: Frst the MPL Advsor determnes an MPL value whch ensures a 9 th percentle target on just the executon tme T DBMS,.e. DBMS 9% T < τ DBMS 9% where T denotes the 9 th percentle of executon tmes. We next defne an algorthm for schedulng the external queue that uses T to acheve a 9 th percentle DBMS 9% target on the response tme for class. The second step of our approach s to convert,9% nto a 9 th percentle result for response tme. Observe that f the queueng tme T Q s bounded by some c, the resultng 9 th percentle response tme s bounded by T 9% c +,9% That means, when schedulng a transacton, n order to ensure a gven percentle target τ 9%,.e. ensure that T 9% τ 9%

9 the amount of slack we have n schedulng ths transacton s τ 9%,9% We can hence translate percentle targets to dspatch targets as follows: assgn a transacton wth target target τ 9% the dspatch target of: t d = t curr + τ 9%,9% As before we schedule transactons from the queue n order of ncreasng dspatch targets. Tables 3 and 4 show results for varous experments wth per-class percentle target targets under IBM DB2 for W IO and W CP U. As shown, n all experments, for both workloads, we are able to acheve our percentle response tme targets usually wthn 3%. Results for W IO>CP U and W CP U<IO are comparable, wth errors n achevng percentle targets rangng from 1-4%. For our experments wth PostgreSQL ths number becomes 1% Combnaton targets Fnally, t s qute plausble that () dfferent customer classes mght desre dfferent types of QoS targets, and () a gven customer class mght smultaneously request multple targets (e.g., a target for the mean and a percentle target). Both of these combnaton scenaros are easy to acheve n our external schedulng framework snce all targets are mmedately mapped to dspatch targets and transactons are then pulled from the external queue n order of these targets. A transacton havng multple QoS targets s assgned the most strngent of all of ts correspondng dspatch targets. Some results nvolvng combnaton targets are shown for IBM DB2 n Tables 3 and 4, and all targets are acheved wth very hgh accuracy. 6. Makng the EQMS self-tunng and adaptve Ths secton detals the self-tunng and self-adaptve features of the EQMS that make t robust to dynamc stuatons. We frst explan how the MPL Advsor tunes and dynamcally adapts the MPL, the most mportant parameter of the EQMS. We then dscuss how the Scheduler copes wth varyng load condtons, especally wth sudden load surges Detals of the MPL Advsor One bg advantage of the EQMS approach s that there are very few parameters to tune. Essentally, the one most mportant parameter s the MPL. The proper choce of the MPL s crucal, though, snce too hgh an MPL wll provde the scheduler wth only lttle control on class dfferentaton, whle a too low MPL can harm the overall system performance. Below we frst descrbe how the MPL Advsor determnes a lower bound on the MPL (to lmt loss n throughput, and ncrease n response tme) and then how t determnes an upper bound on the MPL (to allow suffcent control for achevng a gven set of QoS targets). Determnng a lower bound on the MPL There are two potental rsks nvolved n choosng the MPL too low. Frst, a low MPL may cause the DBMS resources to be underutlzed, leadng to loss n throughput. Second, a low MPL may ncrease overall mean response tme, snce t enforces a strcter queueng of transactons, resultng n short transactons beng forced to queue behnd long ones (Head-of-Lne-Blockng). Our expermental results across varous workloads and system confguratons show that the wrong choce of MPL can result n a drop n throughput by a factor of 1 and a more than tenfold ncrease n overall mean response tme. What the MPL Advsor does s to fnd a lower bound on the MPL whch lmts the above problems such that throughput loss and ncrease n mean response tme are wthn tolerable range (where tolerable s specfed by the DBA). Fndng a good lower bound s a dffcult problem (and s left as an open problem even n recent publcatons [13]). Our basc approach s to use a control loop augmented wth queueng theoretc gudance. We develop queueng theoretc models that capture the basc propertes of the relatonshp between system throughput and response tme and the MPL. Analyss of the models (parameterzed based on the gven system and workload) provdes us wth a good ntal MPL value, whch we then fne-tune through a control-loop. Jump-startng the control-loop wth a close-to-optmal startng value provdes fast convergence tmes, even when usng only small conservatve constant adjustments n each teraton. The detals are nvolved and addressed n a separate paper [21], also n submsson. Determnng an upper bound on the MPL In Secton 4.3 we have dentfed several necessary condtons for a set of QoS targets to be feasble. In partcular, for each class that has a mean response tme target assocated wth t the followng condton needs to hold < τ and for each class j wth a percentle target DBMS 9% Tj < τj 9% DBMS 9% needs to hold. Snce both and Tj are affected by the MPL (a hgher MPL wll lead to hgher contenton at the DBMS and therefore to hgher T DBMS DBMS 9% and T values) the feasblty of a set of targets j

10 Executon tme (sec) W CPU W IO Response tme (msec) th percentle 9th percentle 8th percentle 6th percentle 4th percentle Multprogrammng lmt MPL Fgure 4. The mean executon tme as a functon of the MPL under W IO and W CP U. Fgure 5. Percentle of the executon tme at the server for dfferent MPLs for W IO. depends on the MPL. The goal of the MPL Advsor s to choose an MPL such that the above condtons are met. The basc mechansm s a control loop that dynamcally adjusts the MPL based on measurements provded by the s hgher than desred, the MPL s reduced (provded the lower bound on the MPL determned n the prevous subsecton s not volated). In order to decde how much the MPL needs to be adjusted the MPL Advsor uses queueng theoretc gudance to provde fast convergence. The detals of the algorthm are explaned below, frst for response tme targets then for percentle targets. Determnng the rght MPL for ensurng the feasblty of response tme targets would be trval f we had a functon that descrbes the exact relatonshp between the MPL Performance Montor; f the measured. Whle we cannot know the exact functon, queueng theory reveals a crucal property of ths functon: Accordng to Lttle s law [17] the expected executon tme T s lnear n the MPL value. Fgure 4 verfes 1 ths law n experments for W IO and W CP U. Based on ths observaton, we can tune the MPL n a control loop smlar to the followng: and the mean executon tme 1. Perodcally montor the per-class executon tmes. 2. Adjust the MPL f for any class the mean executon tme ncreases above the per-class target,.e. > τ 3. Assumng that for some class the executon tme s a factor of f > 1 tmes the per-class target target,.e. we adjust the MPL as follows: = f τ MP L new := MP L old 1/f 1 In the case of W CP U, the lne s not as straght as for W IO, snce the workload s created usng TPC-W whch exhbts a very hgh varablty n servce tmes, leadng to hgher varablty n expermental results. provded that MP L new does not volate the lower bound on the MPL. The above algorthm nvolves multplcatve adjustments. In practce, combnng ths wth small constant adjustments, when close to the target, works well. We fnd that for obtanng a good estmate of the mean executon tme n step 1) t suffces for the Performance Montor to sample a few hundred transactons n the case of W IO and a few thousand transactons n the case of W CP U (due to the nherently hgher varablty of workload W CP U ). In our experments the above tunng algorthm fnds the optmal MPL wth at most 1 teratons. Movng from mean response tme targets to percentle targets the above approach does not work anymore, snce Lttle s law does not apply to percentles of response tme. We solve ths problem by approxmatng the DBMS by a Processor-Sharng (PS) server. Whle ths approxmaton mght be too crude for exact predctons, the hope s that t s stll useful for provdng ntuton on the relatonshp DBMS 9% between the MPL and T. From queueng theory 2 t follows that n a PS server the percentles of response tme scale lnearly wth the number of transactons at the server. Ths result enables us to use the same method we used for mean response tme targets for percentle targets as well. The effectveness of the above approach for percentle targets hnges on the assumpton that our DBMS behaves smlarly to a PS server wth respect to the lnear scalng of percentle response tmes as a functon of MPL. Our expermental results n Fgure 5 show that ths assumpton s n fact vald for our workloads runnng under IBM DB2. Although not shown, we fnd that the same result holds for PostgreSQL. We add a dsclamer that the above algorthm works best when all classes have a smlar mx of transactons. Ths was not a necessary condton on all of our 2 Ths s based on the queueng-theoretc result that under M/G/1/PS, for a gven transacton, ts expected response tme s proportonal to both the number of transactons at the server and ts servce demand.

11 Mean response tme (sec) Best effort Target Resp 1.3 sec Target Resp.6 sec Mean response tme (sec) Target Resp 2.4 sec Target Resp 1.3 sec Target Resp.6 sec Load (Number of clents) Load (Number of clents) Fgure 6. The graphs show the response tmes for three classes and workload W IO wth ncreasng load (.e. ncreasng number of clents). prevous QoS algorthms, and s needed only here. If that condton s not met, the control loop that adjusts the MPL needs to be more complex Adaptng to load fluctuatons The results n Sectons 4 and 5 have assumed a system n steady state wth a stable arrval process. Durng the day, however, the system load may fluctuate. Assumng that the system s never n overload, there should be no need to drop transactons, but the load mght rse too hgh for the current set of targets to be feasble,.e. T > τ overall The EQMS offers two approaches for handlng ths case. The frst approach assumes t s more mportant for some classes to stay wthn ther target than for others. The DBA ndcates ths by specfyng a prorty for each class, n addton to specfyng per-class response tme targets. These prortes only become effectve when load condtons make the per-class targets no longer feasble (.e. T > τ overall ). We detect ths stuaton by checkng whether there are any late transactons n the external queue,.e., transactons that have already mssed ther dspatch target. If t curr s the current tme and t d s the transacton s dspatch target tme, then late transactons as those for whom t curr > t d Whenever we have to choose a new transacton for executon n the DBMS from the external queue, we frst check whether there are transactons that are late. If there are, we pck the transacton wth the hghest prorty among the late transactons. If there are no late transactons n the queue, we schedule as usual n the order of the dspatch targets. An alternatve approach s to carry the burden of the excess load equally among all the classes. The burden wll be proportonately shared between the classes n the followng way: For each transacton we compute ts lateness, l, as l = t curr t d When schedulng late transactons, we consder the relatve lateness, l rel, of the transacton normalzed by ts target response tme τ. Relatve lateness s defned as l rel = l/τ = (t curr t d )/τ Whenever we choose a transacton for executon n the DBMS from the external queue, we frst check whether there are transactons that are late. If there are late transactons n the queue, we pck the transacton wth the largest relatve lateness, l rel, for executon. If there are no late transactons n the queue, we schedule as usual solely based on the dspatch targets. We mplement both approaches for dealng wth fluctuatng load descrbed above and expermentally evaluate them on the workload correspondng to the second row n Table 3. In the experments we vary the load by ncreasng the number of clents from 1 to 3. The results are shown n Fgure 6. In the frst approach, the targets for the frst two classes are mantaned despte the load ncrease, whle only the thrd (best effort) class suffers. These results for IBM DB2 are shown n Fgure 6 (left). Observe that the frst two classes have nearly constant mean response tmes across all loads. In the second approach, we share the burden across all the classes. The results are shown n Fgure 6 (rght), for the case where the thrd class has target response tme 2.4 seconds. In ths fgure, the mean response tmes of all classes ncrease by the same factor as load ncreases. 7. Concluson Many tme-senstve applcatons rely on a DBMS backend. From the perspectve of these applcatons, the DBMS s a mysterous black box: Transactons are sent nto the DBMS and may take ether a very short tme (msec) or a

12 very long tme (tens of secs), dependng largely on the other transactons concurrently n the DBMS. The applcaton has no control over whch transactons wll take long and whch wll take a short tme. Ths paper provdes mechansms and algorthms for controllng the tme dfferent transactons spend at a database backend. We provde methods for creatng dfferent QoS classes and for meetng specfed per-class QoS targets. QoS targets can be mean response tme targets, percentle targets, varablty targets, or a combnatons of targets. Our soluton s an external schedulng mechansm whch lmts the number of concurrent transactons (MPL) wthn the DBMS, holdng all remanng transactons n an external queue. We fnd that for our workloads there s a good range of MPL values whch allows us to acheve class targets wthout hurtng overall system performance wth respect to throughput and overall mean response tme. The algorthms needed to acheve the QoS targets are non-obvous and rely on queueng theory results and analyses. We demonstrate the effectveness of the algorthms on several benchmark based workloads, ncludng CPU bound, I/O bound and lock bound workloads, n stuatons wth multple classes and multple targets per class. However, t s desrable to experment wth other real workloads to further valdate the algorthms. Our external schedulng approach s extremely portable, not just to dfferent DBMS, but also to other types of backend servers. The queung theoretc arguments n ths paper do not depend on the server beng a DBMS and apply to general systems as well. References [1] R. K. Abbott and H. Garca-Molna. Schedulng real-tme transactons. In Proceedngs of SIGMOD, pages 71 81, [2] R. K. Abbott and H. Garca-Molna. Schedulng real-tme transactons wth dsk resdent data. In Proceedngs of Very Large Database Conference, pages , [3] R. K. Abbott and H. Garca-Molna. Schedulng I/O requests wth deadlnes: A performance evaluaton. In IEEE Real- Tme Systems Symposum, pages , 199. [4] R. K. Abbott and H. Garca-Molna. Schedulng real-tme transactons: A performance evaluaton. Transactons on Database Systems, 17(3):513 56, [5] A. Bouch and M. Sasse. It an t what you charge t s the way that you do t: A user perspectve of network QoS and prcng. In Proceedngs of IM 99, [6] K. P. Brown, M. J. Carey, and M. Lvny. Managng memory to meet multclass workload response tme goals. In Proceedngs of Very Large Database Conference, pages , [7] K. P. Brown, M. J. Carey, and M. Lvny. Goal-orented buffer management revsted. In Proceedngs of the 1994 ACM SIGMOD Conference on Management of Data, pages , [8] K. P. Brown, M. Mehta, M. J. Carey, and M. Lvny. Towards Automated Performance Tunng For Complex Workloads. In Proceedngs of the Twenteth Internatonal Conference on Very Large Databases, pages 72 84, Santago, Chle, [9] T. Can, M. Martn, T. Hel, E. Weglarz, and T. Bezenek. Java TPC-W mplementaton. pharm/tpcw.shtml, 2. [1] M. J. Carey, R. Jauhar, and M. Lvny. Prorty n DBMS resource schedulng. In Proceedngs of Very Large Database Conference, pages , [11] B. Dellart. How tolerable s delay? Consumers evaluaton of nternet web stes after watng. Journal of Interactve Marketng, 13:41 54, [12] J. Huang, J. Stankovc, K. Ramamrtham, and D. F. Towsley. On usng prorty nhertance n real-tme databases. In IEEE Real-Tme Systems Symposum, pages , [13] W. Jn, J. S. Chase, and J. Kaur. Interposed proportonal sharng for a storage servce utlty. In Proceedngs of ACM SIGMETRICS 4, pages 37 48, 24. [14] K. D. Kang, S. H. Son, and J. A. Stankovc. Servce dfferentaton n real-tme man memory databases. In Ffth IEEE Internatonal Symposum on Object-Orented Real- Tme Dstrbuted Computng, [15] A. Krass, F. Schoen, G. Wekum, and U. Deppsch. Wth heart towards response tme guarantees for message-based e-servces. In VIII. Conference on Extendng Database Technology (EDBT 22), pages , 22. [16] I. T. Lab. IBM DB2 unversal database admnstraton gude verson 5. Document Number S1J-8157-, [17] J. Lttle. A proof of the theorem L = λw. Operatons Research, 9: , [18] D. T. McWherter, B. Schroeder, A. Alamak, and M. Harchol-Balter. Prorty mechansms for OLTP and transactonal web applcatons. In 2th IEEE Conference on Data Engneerng (ICDE 24), 24. [19] PostgreSQL. [2] A. Rhee, S. Chatterjee, and T. Lahr. The Oracle Database Resource Manager: Schedulng CPU resources at the applcaton. Hgh Performance Transacton Systems Workshop, 21. [21] B. Schroeder, M. Harchol-Balter, A. Iyengar, and E. Nahum. How to determne a good mult-programmng level for external schedulng. In submsson to ICDE 6 (Paper 597). [22] M. Snnwell and A. Koeng. Managng dstrbuted memory to meet multclass workload response tme goals. In 15th IEEE Conference on Data Engneerng (ICDE 99), [23] Transacton Processng Performance Councl. TPC benchmark C. Number Revson 5.1., December 22. [24] Transacton Processng Performance Councl. TPC benchmark W (web commerce). Number Revson 1.8, February 22. [25] M. Zhou and L. Zhou. How does watng duraton nformaton nflucence customers reactons to watng for servces. Journal of Appled Socal Psychology, 26: , 1996.

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

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

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

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

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

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

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

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

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

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

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 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

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

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

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

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

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

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

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

More information

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

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

More information

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

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

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

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

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

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

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

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 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

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

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

Lecture 5: Multilayer Perceptrons

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

More information

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

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

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

Petri Net Based Software Dependability Engineering

Petri Net Based Software Dependability Engineering Proc. RELECTRONIC 95, Budapest, pp. 181-186; October 1995 Petr Net Based Software Dependablty Engneerng Monka Hener Brandenburg Unversty of Technology Cottbus Computer Scence Insttute Postbox 101344 D-03013

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

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

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc.

BioTechnology. An Indian Journal FULL PAPER. Trade Science Inc. [Type text] [Type text] [Type text] ISSN : 0974-74 Volume 0 Issue BoTechnology 04 An Indan Journal FULL PAPER BTAIJ 0() 04 [684-689] Revew on Chna s sports ndustry fnancng market based on market -orented

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

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

Module Management Tool in Software Development Organizations

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

More information

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

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

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

Quantifying Performance Models

Quantifying Performance Models Quantfyng Performance Models Prof. Danel A. Menascé Department of Computer Scence George Mason Unversty www.cs.gmu.edu/faculty/menasce.html 1 Copyrght Notce Most of the fgures n ths set of sldes come from

More information

An Investigation into Server Parameter Selection for Hierarchical Fixed Priority Pre-emptive Systems

An Investigation into Server Parameter Selection for Hierarchical Fixed Priority Pre-emptive Systems An Investgaton nto Server Parameter Selecton for Herarchcal Fxed Prorty Pre-emptve Systems R.I. Davs and A. Burns Real-Tme Systems Research Group, Department of omputer Scence, Unversty of York, YO10 5DD,

More information

TECHNIQUE OF FORMATION HOMOGENEOUS SAMPLE SAME OBJECTS. Muradaliyev A.Z.

TECHNIQUE OF FORMATION HOMOGENEOUS SAMPLE SAME OBJECTS. Muradaliyev A.Z. TECHNIQUE OF FORMATION HOMOGENEOUS SAMPLE SAME OBJECTS Muradalyev AZ Azerbajan Scentfc-Research and Desgn-Prospectng Insttute of Energetc AZ1012, Ave HZardab-94 E-mal:aydn_murad@yahoocom Importance of

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

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

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

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 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

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

NAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics

NAG Fortran Library Chapter Introduction. G10 Smoothing in Statistics Introducton G10 NAG Fortran Lbrary Chapter Introducton G10 Smoothng n Statstcs Contents 1 Scope of the Chapter... 2 2 Background to the Problems... 2 2.1 Smoothng Methods... 2 2.2 Smoothng Splnes and Regresson

More information

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

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

More information

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

Verification by testing

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

More information

Dynamic Bandwidth Provisioning with Fairness and Revenue Considerations for Broadband Wireless Communication

Dynamic Bandwidth Provisioning with Fairness and Revenue Considerations for Broadband Wireless Communication Ths full text paper was peer revewed at the drecton of IEEE Communcatons Socety subject matter experts for publcaton n the ICC 008 proceedngs. Dynamc Bandwdth Provsonng wth Farness and Revenue Consderatons

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

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

Solving two-person zero-sum game by Matlab

Solving two-person zero-sum game by Matlab Appled Mechancs and Materals Onlne: 2011-02-02 ISSN: 1662-7482, Vols. 50-51, pp 262-265 do:10.4028/www.scentfc.net/amm.50-51.262 2011 Trans Tech Publcatons, Swtzerland Solvng two-person zero-sum game by

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

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

CMPS 10 Introduction to Computer Science Lecture Notes

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

More information

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

LS-TaSC Version 2.1. Willem Roux Livermore Software Technology Corporation, Livermore, CA, USA. Abstract

LS-TaSC Version 2.1. Willem Roux Livermore Software Technology Corporation, Livermore, CA, USA. Abstract 12 th Internatonal LS-DYNA Users Conference Optmzaton(1) LS-TaSC Verson 2.1 Wllem Roux Lvermore Software Technology Corporaton, Lvermore, CA, USA Abstract Ths paper gves an overvew of LS-TaSC verson 2.1,

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

Lecture 7 Real Time Task Scheduling. Forrest Brewer

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

More information

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

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

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following.

Complex Numbers. Now we also saw that if a and b were both positive then ab = a b. For a second let s forget that restriction and do the following. Complex Numbers The last topc n ths secton s not really related to most of what we ve done n ths chapter, although t s somewhat related to the radcals secton as we wll see. We also won t need the materal

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

Real-time Scheduling

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

More information

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

USING GRAPHING SKILLS

USING GRAPHING SKILLS Name: BOLOGY: Date: _ Class: USNG GRAPHNG SKLLS NTRODUCTON: Recorded data can be plotted on a graph. A graph s a pctoral representaton of nformaton recorded n a data table. t s used to show a relatonshp

More information

A Facet Generation Procedure. for solving 0/1 integer programs

A Facet Generation Procedure. for solving 0/1 integer programs A Facet Generaton Procedure for solvng 0/ nteger programs by Gyana R. Parja IBM Corporaton, Poughkeepse, NY 260 Radu Gaddov Emery Worldwde Arlnes, Vandala, Oho 45377 and Wlbert E. Wlhelm Teas A&M Unversty,

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

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

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

More information

3. CR parameters and Multi-Objective Fitness Function

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

More information

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur

FEATURE EXTRACTION. Dr. K.Vijayarekha. Associate Dean School of Electrical and Electronics Engineering SASTRA University, Thanjavur FEATURE EXTRACTION Dr. K.Vjayarekha Assocate Dean School of Electrcal and Electroncs Engneerng SASTRA Unversty, Thanjavur613 41 Jont Intatve of IITs and IISc Funded by MHRD Page 1 of 8 Table of Contents

More information

A Hybrid Genetic Algorithm for Routing Optimization in IP Networks Utilizing Bandwidth and Delay Metrics

A Hybrid Genetic Algorithm for Routing Optimization in IP Networks Utilizing Bandwidth and Delay Metrics A Hybrd Genetc Algorthm for Routng Optmzaton n IP Networks Utlzng Bandwdth and Delay Metrcs Anton Redl Insttute of Communcaton Networks, Munch Unversty of Technology, Arcsstr. 21, 80290 Munch, Germany

More information

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes

R s s f. m y s. SPH3UW Unit 7.3 Spherical Concave Mirrors Page 1 of 12. Notes SPH3UW Unt 7.3 Sphercal Concave Mrrors Page 1 of 1 Notes Physcs Tool box Concave Mrror If the reflectng surface takes place on the nner surface of the sphercal shape so that the centre of the mrror bulges

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

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

Programming in Fortran 90 : 2017/2018

Programming in Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Programmng n Fortran 90 : 2017/2018 Exercse 1 : Evaluaton of functon dependng on nput Wrte a program who evaluate the functon f (x,y) for any two user specfed values

More information

A Model Based on Multi-agent for Dynamic Bandwidth Allocation in Networks Guang LU, Jian-Wen QI

A Model Based on Multi-agent for Dynamic Bandwidth Allocation in Networks Guang LU, Jian-Wen QI 216 Jont Internatonal Conference on Artfcal Intellgence and Computer Engneerng (AICE 216) and Internatonal Conference on etwork and Communcaton Securty (CS 216) ISB: 978-1-6595-362-5 A Model Based on Mult-agent

More information

Proper Choice of Data Used for the Estimation of Datum Transformation Parameters

Proper Choice of Data Used for the Estimation of Datum Transformation Parameters Proper Choce of Data Used for the Estmaton of Datum Transformaton Parameters Hakan S. KUTOGLU, Turkey Key words: Coordnate systems; transformaton; estmaton, relablty. SUMMARY Advances n technologes and

More information

Steps for Computing the Dissimilarity, Entropy, Herfindahl-Hirschman and. Accessibility (Gravity with Competition) Indices

Steps for Computing the Dissimilarity, Entropy, Herfindahl-Hirschman and. Accessibility (Gravity with Competition) Indices Steps for Computng the Dssmlarty, Entropy, Herfndahl-Hrschman and Accessblty (Gravty wth Competton) Indces I. Dssmlarty Index Measurement: The followng formula can be used to measure the evenness between

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

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

Intra-Parametric Analysis of a Fuzzy MOLP

Intra-Parametric Analysis of a Fuzzy MOLP Intra-Parametrc Analyss of a Fuzzy MOLP a MIAO-LING WANG a Department of Industral Engneerng and Management a Mnghsn Insttute of Technology and Hsnchu Tawan, ROC b HSIAO-FAN WANG b Insttute of Industral

More information

Parameter estimation for incomplete bivariate longitudinal data in clinical trials

Parameter estimation for incomplete bivariate longitudinal data in clinical trials Parameter estmaton for ncomplete bvarate longtudnal data n clncal trals Naum M. Khutoryansky Novo Nordsk Pharmaceutcals, Inc., Prnceton, NJ ABSTRACT Bvarate models are useful when analyzng longtudnal data

More information

A New Transaction Processing Model Based on Optimistic Concurrency Control

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

More information

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

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

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

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

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

VRT012 User s guide V0.1. Address: Žirmūnų g. 27, Vilnius LT-09105, Phone: (370-5) , Fax: (370-5) ,

VRT012 User s guide V0.1. Address: Žirmūnų g. 27, Vilnius LT-09105, Phone: (370-5) , Fax: (370-5) , VRT012 User s gude V0.1 Thank you for purchasng our product. We hope ths user-frendly devce wll be helpful n realsng your deas and brngng comfort to your lfe. Please take few mnutes to read ths manual

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