Design Level Performance Modeling of Component-based Applications. Yan Liu, Alan Fekete School of Information Technologies University of Sydney

Size: px
Start display at page:

Download "Design Level Performance Modeling of Component-based Applications. Yan Liu, Alan Fekete School of Information Technologies University of Sydney"

Transcription

1 Desgn Level Performane Modelng of Component-based Applatons Tehnal Report umber 543 ovember, 003 Yan Lu, Alan Fekete Shool of Informaton Tehnologes Unversty of Sydney Ian Gorton Paf orthwest atonal Laboratory Rhland WA, USA ISB Shool of Informaton Tehnologes Unversty of Sydney SW 006

2 Desgn Level Performane Modelng of Component-based Applatons Yan Lu 1, Alan Fekete 1 and Ian Gorton 1 [jennylu,fekete]@t.usyd.edu.au; an.gorton@pnl.gov 1 Shool of Informaton Tehnologes Unversty of Sydney Australa Paf orthwest atonal Laboratory Rhland, WA 9935,USA Abstrat. In ths paper, we present an approah to predt the performane of omponent-based applatons n the desgn phase of development. We an buld a quanttatve performane model for a proposed system desgn. The nputs needed to produe ths performane predton are a state dagram showng the man watng and resoure usage aspets of the proposed system arhteture, and measurements taken on the mddleware nfrastruture usng a smple benhmark applaton whh s muh heaper to mplement than the full system. The performane model allows the system desgner to make desons between alternatve arhtetures and mplementaton approahes, n terms of ther salablty, and ablty to aheve requred serve levels. We show our method n aton usng a JEE applaton, Stok-Onlne, and valdate these predtons by mplementng the desgn and measurng ts performane. The modelng approah s applable to applatons bult on ommon mddleware tehnologes suh as CORBA, JEE and COM+/.ET. 1. Introduton The omponent-based approah has proved suessful n the onstruton of enterprsesale systems. A range of tehnologes suh as JEE, CORBA, COM+/.ET, eah allow desgners to deploy separate omponents n an envronment where mddleware nfrastruture provdes essental support for aspets suh as namng/bndng, messagng, persstene, transatons and seurty [4]. Whle the mddleware redues muh of the omplexty of odng a dstrbuted applaton, t has been a hallenge to desgn a system wth onfdene that t wll perform well enough to meet Serve Level Agreements (SLAs). The overall performane of a deployed system depends on arhtetural desons n the desgn of omponents, on the partular mplementaton of the mddleware, and on the many tunable parameters of the mddleware, as well as on the lent load [5]. Furthermore, these aspets nterat n subtle ways, so (for example) the relatve salablty of three dfferent software arhtetures may be reversed f the hostng mddleware produt s hanged to another whh mplements the same tehnology [6]. Some of the desons taken n the development of a omponent-based system an be adjusted easly, late n the development lfeyle. For example, n order to mprove performane, the sze of a thread pool an be onfgured at deployment. However some desons must be taken early, and hange s thereafter very expensve: for example the hoe of the tehnology (JEE vs.et) and the hoe of system arhteture need to be made rrevoably, long before substantal - 1 -

3 odng takes plae. An unwse deson at desgn-tme ould make t mpossble to aheve the requred performane level one the system has been delvered. Consequently, the desgner needs to be able to predt the performane of the fnshed system, workng from a desgn but wthout aess to a omplete mplementaton of the applaton. An arhtet ould use a performane model to answer questons suh as the followng: What are the maxmum load levels that the system wll be able to handle? If lent load nreases by a gven amount, what level of extra hardware s needed to mantan the requred performane? What are the average response tme, throughput and resoure utlzaton under the expeted workload? Whh omponents have the largest effet on the overall system performane and are they potental bottleneks? What performane beneft would be obtaned by varous desgn hanges? Can tunng aheve the requred performane? The ommon prate to address these problems s to buld a prototype. For a omplex applaton, ths s expensve and tme-onsumng. Our approah avods the need for a prototype, sne we an determne the overall form of the performane equaton from the desgn desrpton. We an then estmate the numer parameters of the equaton by measurng the mddleware produt performane wth a smple benhmark, whh s muh smpler n both ode and arhteture than the proposed desgn. Ths researh fts wthn the goals of predton-enabled omponent tehnology [8]. Our work s more narrowly foused than [8] as we deal only wth performane rather than general qualty attrbutes. However, models for the lass of mddleware-hosted applatons our work addresses must deal wth the subtle nteratons between the nfrastruture and doman omponents. A partular ontrbuton of ths paper s our ablty to dsentangle the nfluenes of performane haratersts of the nfrastruture from those of the applaton s arhteture. Ths s aheved wthout the need to nspet or nstrument the mddleware nfrastruture ode tself. Our work s also related to the tradton of analytal performane modelng of omputer systems, based partularly on queung theory [9][1][15][16]. These tehnques have been appled to omponent-based mddleware-hosted applatons [14]. One approah has been to model the omplete system at a very detaled, physal level []. In ontrast, other researhers have worked at the abstrat level of the software arhteture [3][10][13]. These efforts generally lead to a performane model gvng the overall form of the equaton. However, a quanttatve predton requres applaton-spef parameters, whh an be obtaned only from a substantal prototype mplementaton. Another thread of researh on the desgn of omponent-based applatons to meet performane goals has been amed at more qualtatve predton [1]. Ths researh s often based on detaled measurements of a benhmark applaton, but the outome s nsght nto the aspets of a desgn wth performane onsequenes [1][5]. In ths paper, seton desrbes our new approah to provde a quanttatve performane model. Ths s followed by a ase study where we predt the performane of an applaton used n expostory lterature. We desrbe the Stok-Onlne applaton n seton 3, and n seton 4 - -

4 demonstrate our performane model for three dfferent arhtetures n a JEE mplementaton of Stok-Onlne. We also valdate the predtons by odng these desgns and measurng atual performane.. Framework of Our Approah An overvew of our modelng approah s shown n Fgure 1. We follow fve phases: 1. Modelng. We establsh a general model for the hosen tehnology, by dentfyng the man omponents of the system, and notng where queung delays an be expeted. We abstrat detals of the nfrastruture omponents and ther ommunaton.. Calbratng. An arhtetural hoe an be mapped to a set of nfrastruture omponents and ther ommunaton pattern[3]. The operatons of serve omponents an be further aggregated nto omputng modules. Calbratng the performane model means dervng mathematal models wth parameters haraterzng those omputng modules. 3. Charaterzng. For a gven applaton, we an determne how often eah module s exeuted. Ths wll depend on the busness log, whh tells us how often methods are alled, and what operatons are performed by what omputng modules. 4. Benhmarkng. The above produes a performane predton for the desgned system n the form of an equaton wth parameters. Some of the parameters represent observable or tunable features of the onfguraton, but other parameters reflet nternal detals of the mddleware platform. We therefore mplement a smple applaton, wth mnmal busness log and a smple arhteture, on the target mddleware platform, and measure ts performane. Solvng the performane model orrespondng to the smple applaton allows us to determne the parameter values, whh we desrbe as the performane profle of the platform. 5. Populatng. The parameters of the mddleware performane profle an be substtuted nto the performane model of the desgned system, gvng the requred quanttatve predton of performane of that system. Mddleware Doman Abstrat of Infrastruture behavor Modelng General performane model Arhteture pattern Applaton Doman Target applaton Senaro based behavor Charaterzng Arhteture spef model Calbratng Benhmark sute Calbratng Benhmarkng Performane profle Populatng Applaton spef model Output Performane metrs of the target applaton wth spef arhteture Fgure 1 The performane predton framework

5 3. Predtng Stok-Onlne Performane 3.1 Motvaton Stok-Onlne [4] s a smulaton of an on-lne stok-brokng system. It models typal e- ommere applaton funtons and ams to exerse the ore features of a omponent ontaner. Stok-Onlne supports sx busness transatons and t enables users to buy and sell stok, nqure about the up-to-date pres of partular stoks, and get a holdng statement detalng the stoks they urrently own. The supportng database has features to trak ustomers, ther transatons, payments, and so on. There are four database tables to store detals for aounts, stok tems, holdngs and transaton hstory. The transaton mx an be onfgured to model a lghtweght system wth read-mostly operatons, or a heavyweght one wth ntensve update operatons. The proess of determnng the transaton mx of the workload requres an understandng of the busness doman, a data model, and some expetatons as to the patterns of usage of the data. Two busness models of Stok-Onlne are and lsted n Table 1, one for the read-only ntensve usage pattern of data and the other one for nreasng demand of data update,.e. the system has doubled updates ompared to the frst model. Table 1 Two Stok-Onlne busness models Transaton mx Transaton mx Usage Pattern Transaton (Read-only ntensve) (Doubled updates) Read-only pont Query stok 70% 5% (read one reord) Read-only multple (read a olleton of reords) Read-wrte (nsertng reords, and updatng reords; all requrng transatonal support) Get stokholdng 1% 1% Create aount % 4% Update aount % 4% Buy stok 7% 14% Sell stok 7% 14% The deployment envronment onssts of a JEE applaton server as the ontaner for Stok-Onlne and a database for persstene. The ontaner and database exeute on separate mahnes. In the test envronment, smulated lents mm the behavor of web server hosted omponents under a full, sustaned request load. Clents also exeute on ther own mahne. Suppose that Stok-Onlne s to be mplemented usng EJB omponents and assembled nto a sngle JEE applaton. A ommon soluton arhteture ould use Contaner Managed Persstene (CMP) entty beans, usng the standard EJB desgn pattern of a sesson bean as a façade to the entty beans. A sngle sesson bean mplements all transaton methods. Four entty beans, one eah for the database tables, manage the database aess. Transatons are ontaner managed. Whle ths sesson-façade arhteture s ertanly a vald approah, there are others ould be onsdered. For example, reall that the read-only ntensve busness model for Stok-Onlne has 8% read-only transatons. Ths makes a soluton based on the read-mostly pattern [1] a strong alternatve to a pure CMP-based desgn. In ths pattern, read-only and read-wrte operatons are separated nto two dfferent entty beans. By explotng the JEE ontaner s entty bean ahng ablty, reads from read-only beans are not bloked, redung the transatonal overhead n synhronzng the ahe wth the persstent data store. Another opton s optmst onurreny ontrol [11], whh s mplemented by most JEE applaton servers for persstene serve. The dea s that no lok s held durng a transaton n the - 4 -

6 ontaner and the database. The ontaner ssues a predated update lause to detet the onflton of transatons at the ommt tme. If the data n a transaton has been updated by other transatons, the transaton s rolled bak. For an arhtet, knowledge about whh desgn s most sutable for the applaton wthout buldng all the three solutons s desrable, as s determnaton of the level of performane that the system provdes under load. 3. Performane modelng 3..1 A losed QM for an applaton server A queung network model (QM) s used for the performane model. The model aptures an applaton server s behavor n proessng a request from a lent. The QM of an applaton server wth a fxed sze server thread pool 1 s shown n Fgure. A losed QM s approprate for applaton servers wth fnte thread pool apaty as ths effetvely lmts the maxmum requests atve n the server. Clents LA m k Request queue Contaner queue DataSoure queue Fgure A losed QM for an applaton server The lents n the model represent the proxy lents of an applaton server, suh as servlets n a web server. Consequently, a lent s onsdered as a delay resoure and ts serve tme equals the thnkng tme between two suessve requests. The request handler and ontaner are modeled as sngle server queues respetvely wth no load-dependeny. Applaton servers provde a database poolng mehansm to faltate onneton reuse aross requests. The only database lents are n fat the EJBs wthn the applaton server, and hene the onneton pool an be set to the sze of the server thread pool. Database aess s then modeled as a delay server wth load dependeny. The operaton tme at the database ter ontrbutes to the serve demand of the DataSoure queue. Smultaneous resoure possesson (SRP) ours at the Contaner and DataSoure queues. A server thread s bloked whle awatng reples from the database, and hene s not avalable to other requests. The key pont s that the serve demand of Contaner queue an overlap wth the serve demand of DataSoure queue. A model wth SRP an be solved usng the Method of Surrogates [9]. In ths paper however we use an approxmaton tehnque to solve the model usng benhmarkng. We wsh to represent exatly one every serve demand and every soure of queung delay exhbtng SRP. When the 1 For an applaton server, whh dynamally spawns a thread to serve eah request, the maxmum atve requests n the server vary dependng on the workload n the system. It s mportant for the applaton to plae lmts on the number of onurrent allers nto the applaton server

7 workload n the overall network s stable, the utlzaton of the Contaner queue an be determned. Consequently, the atve number of server threads nvokng requests at the database an be determned. At ths pont, we an onsder the DataSoure queue as a load-ndependent server wth a onstrant on ts lent populaton. The delay at the Contaner queue manly results from the delay awatng server thread avalablty, whle the DataSoure queue delay s manly due to ontenton. The approxmaton made here s that a logal queung delay s substtuted for the ontenton delay at the DataSoure queue. The orgnal model an now be revsed nto a logally separable QM, as n Fgure 3. We add the onstrant value m to Contaner queue to represent the atve number of server threads and k to the DataSoure queue to represent ts atual lent populaton. The network serve demand s gnored beause the effets of network traff are unform between arhtetural hoes. Clents Request queue Contaner queue DataSoure queue m k Fgure 3 A separable QM of the applaton server Ths model fouses on the software nfrastruture of an applaton, as the am s to predt the performane of dfferent arhtetures before the system s bult. To arry out apaty plannng at the hardware level, the model an be deomposed to map to hardware resoures (e.g. CPU, dsk) usng Herarhal Deomposton [1] or Layered Queung Models [15][16]. 3.. Model analyss The performane metr of nterest s the average server sde response tme. We fous on the average response tme under dfferent usage patterns, as ths smplfes the tasks of modelng and measurement. Our presentaton s based on the followng notaton: : Average requests/lent populaton n the QM. K: umber of queues. X 0 : Average throughput of the queung network. D : Serve demand of a sngle queue,.e. the amount of tme requred for a request to be served at queue. R: Average response tme, equal to the total resdene tme over all queues. u : Average utlzaton of queue, defned as the fraton of tme the resoures of queue s busy. s: Server thread pool sze. m: Average number of atve server threads. k: Average number of atve database onnetons. Hereafter, we denote subsrpt 1,, 3 for Request, Contaner and DataSoure queue respetvely

8 We make approxmatons when the Contaner queue has multple threads onurrently ' ' ' servng the requests. Let D 1, D and D 3 be the effetve serve demand of eah queue. The Request queue s stll a sngle server queue n ths ase. Therefore: D = (1) ' 1 D1 We assume the serve demand of the Contaner queue s effetvely dvded by m beause the sngle queue struture guarantees that the requests wll be served n a frst-ome-frst-server fashon, and no request wll wat f any thread s dle. ' D D = m s () m We assume the effetve serve demand of the DataSoure queue s a lnear funton of k. The database serve tme s atually affeted by varous fators, (e.g. transatonal attrbutes, lok management). Those settngs are stat and hene not expltly modeled. Usng Utlzaton and Lttle s Law [1], we have ' D3 = kd3 k m (3) K K u ' u ' D = D = (4) = 1 X X o R K = 1 = K = 1 Ths model an be solved usng Approxmate Mean Value Analyss (MVA) for Closed ' QM [14]. D s the nput parameter and R ' and u are the output. Eq.(1)-(3) show that D depends on D, m and k. ' To solve the model, the hallenge s to obtan D, the separated serve demand of eah queue wth sngle resoure. We ntrodue a notaton for the usage of a queue, denoted as U K. U s the perentage of the total serve tme the applaton server spent on queue durng the measurement. It does not nlude the fraton of watng tme on the proessng of serves at lower levels. U an be measured by benhmarkng. Let T be the serve tme the applaton server spent on queue durng the measurement and T be the total tme of the measurement. In a multthreaded applaton envronment, T s the average tme of all the runnng server threads. The followng trval relatonshp holds: U U = u = T u D K T = 1 = T T u K = 1 Therefore, usng Utlzaton and Lttle s Law and Eq.(6) we an have D u ' 0 K ( U u R ) ' =1 = (7) (5) (6)

9 3.3 Modelng EJB arhtetures We now need to albrate the applaton server tehnology that wll host the three alternatve desgns. Thus we add a supersrpt to quanttes to ndate the relevant arhteture. For mp D example, 1 s the serve demand of queue1 (Request queue) n the CMP arhteture. It proves onvenent to abstrat the applaton server s state n order to analyze ts serve tme. We desgnate that a request resdes n one of the followng states: Request dspathng (RDISP): A request s aepted by the server and dspathed to the Contaner queue. Server ntalzaton proessng (SIIT): When a thread s avalable, the request steps through an nvoaton han n the server. Bean objet skeleton proessng (BSP): Before the atual busness method s nvoked, the skeleton ode of a sesson bean objet s frst nvoked. Pre-method-nvoaton proessng (PREP): A sesson bean nstane from the pool s assoated wth the request. The ontaner regsters the request wth the transaton manager. Method proessng (MP): The busness log s exeuted. Post-method-nvoaton proessng (POSTP): The ontaner fnalzes the request proessng. Data updates are ommtted. Clearly, the serve demand of Request queue equals the serve tme at state RDISP, whh an be regarded as a onstant. Therefore the three arhtetures have the same Request queue mp rm o serve demand,.e. = D D. D1 1 = 1 SIIT, BSP, PREP and POSTP are modules that a request must pass through. If the tme for database operatons s deduted, ther total serve tme s onstant for all the three arhtetures, T denoted as 0. For onvenene, these states as a whole are referred to as a omposte, CS. The busness log s proessed n the MP state, and t omprses the majorty of the serve demands on the Contaner queue and DataSoure queue. The serve tme of operatons n the MP f f state are modeled as and d for the Contaner and DataSoure queues respetvely. From the f above analyss, we know that f and d are determned by the omponent arhteture, denoted as supersrpt A, thus A = T 0 A D 3 = D + f A f A d ow the problem s to fnd the expresson of and omponent nvolved n a transaton, and model two senaros: A f A f d. We frst onsder only one fndbyprmarykey s nvoked on the omponent s home nterfae. Only one omponent s dentfed by the prmary key. fndbyonprmarykey s alled on the omponent s home nterfae. A olleton of referenes s returned

10 3.3.1 Modelng CMP A sesson bean gets a referene to an entty bean by nvokng ts fndbyprmarykey method n state FndByPK n Fgure 4(a). If the prmary key s present n the database, a referene to the entty bean s returned to the sesson bean. The ontaner heks ts ahe to see whether a orrespondng bean nstane (dentfed by ts prmary key) exsts. If so t transtons to state LC, n whh a ahed nstane s returned. We defne the ahe ht rato as h, so ths transton ours wth probablty h. Otherwse, the ontaner transtons to state A/P. ejbatvate, whh nurs expensve seralzaton operatons, s alled to assoate a pooled nstane wth a prmary key. In the ase that the pool s full, ejbpassvate s alled to seralze a vtm entty bean nstane to seondary storage. Both the LC and A/P states are followed by state LD, n whh a all to ejbload s made to synhronze the state of the entty bean ahe wth the underlyng database. At the end of the transaton, ejbstore s alled to store any updates made n the transaton. Ths s represented by state SD. As the absolute order n the state mahne s not rual for the serve demand alulaton, we ompat FndByPK, LD and SD nto a ompound state DataSoure and separate t from states nvolvng the Contaner queue, (see Fgure 4(b),()). Consequently, we an represent the CMP arhteture effet on Contaner queue as: f mp = ht ( T (8) h) where T 1 and T are the serve tme of state LD and A/P respetvely. Smlarly we model the CMP arhteture effet on the DataSoure queue as n Eq.(9), where, T fnd, Tload and T store are the serve tme to fnd, load data nto and store updates to an entty bean. p s the rato of read-only requests. mp d fnd load f = T + T + ( 1 p) T (9) store (a) Overall CMP states (b) Contaner queue states () DataSoure queue states Fgure 4 CMP state mahne 3.3. Modelng the read-mostly pattern For RM, the ontaner s aware of the request type and aesses the read-only or read-wrte entty bean ahe. For a read-only bean, the ontaner goes to state LD only when a ahe mss - 9 -

11 ours. We denote the ahe ht rato of read-only beans by h r. The ontaner deals wth read-wrte requests n the same manner as the CMP arhteture. The state mahne for ths behavor s shown n Fgure 5. We therefore model the RM arhteture as follows: f f rm rm d = [ phr + (1 p) h] T1 + [ p(1 hr ) + (1 p)( 1 h)] T = T + [ p(1 h ) + (1 p)] T + (1 p) T fnd r load store (b) Contaner queue states (a) Overall RM States () DataSoure queue states Fgure 5 Read-mostly pattern state mahne Modelng Optmst Conurreny Control The state mahne of OCC s shown n Fgure 6. The ontaner nvaldates the entty bean nstane, whose operaton results n the onfltng transaton. ejbload method s alled the next tme ths nvaldated entty s nvoked, whh s modelled as Invaldaton state followed by LD state. The ontext nformaton of an nvaldated bean s kept vald, whh an save the overhead of atvatng/passvatng a bean nstane. If there s no onflt deteted, ejbstore s alled at the end of the read-wrte transaton. OCC s desrable f there s a low probablty of wrte ontenton. We assume that the overhead of nvaldaton and rollng bak a transaton an be gnored when the data sze of unform aess s large enough and the rato of read-wrte transatons s low. The ahe ht rato of OCC entty ahe s h o. We model OCC arhteture as follows: o d fnd o f = h T o o) o ( h T f = T + ( 1 h ) T + (1 p) T load store

12 (a) Overall OCC states (b) Contaner queue states () DataSoure queue states Fgure 6 Optmst onurreny ontrol state mahne Modelng fnd-by-non-prmary-key The FndByonPrmaryKey method of the EnttyHome nterfae an return a olleton of entty bean referenes. The ontaner loads all the mathed entty beans nto the ahe when fndbyonprmarykey s alled. Ths s modeled by state Fnd&Load n Fgure 7. When getvalue s alled the ontaner uses the ahed beans. As bean nstanes are aessed teratvely, we denote the rato of state transton as np where p s the rato of fndbyonprmarykey transatons. Other states are enapsulated nto a ompound state, fndbypksm. In the deomposton of the overall state mahne, the sub-state mahnes of the Contaner and DataSoure queues wth fndbyprmarykey transatons are abstrated as states fndbypkcsm and fndbypkdsm ol ol respetvely. The formulae for f and f d n dfferent arhteture models wth fndbyonprmarykey transatons are lsted n Table. (a) Overall state (b) Contaner queue states () DataSoure queue states Fgure 7 State mahne for fndbyonprmarykey transatons

13 CMP_COL RM_COL OCC_COL ol f Table Arhteture models wth fndbyonprmarykey transatons ( 1 p + np ) ht1 + [(1 p + np )(1 h )] T _ mp ol _ mp f d ol _ rm f ol _ rm f d ol _ o f ol _ o f d [( 1 p ) + np (1 h )] T + (1 p p) T + T load [( p + np ) hr + (1 p p) h] T1 + [( p + np )(1 hr ) + (1 p p)(1 h)] T r r load store [ 1 p ph + np (1 h )] T + (1 p p) T + T store ( 1 p + np ) ht1 + [(1 p + np )(1 h )] T [ 1 p ph + np (1 h )] T + (1 p p) T + T load fnd store fnd fnd Modelng multple EJBs ow we generalze the analyss for an applaton wth multple sesson and entty beans. In the Sesson-Faade arhteture, we assume the nstane pool sze s large enough, redung the watng tme to obtan a sesson bean nstane to zero. Let p s be the probablty of an operaton of sesson bean s beng aessed and T s be the average serve tme of ts operaton, whh doesn t nlude the tme watng for reples from nested beans operatons. The serve tme of all sesson beans s p st s. For an entty bean, operatons an be ategorzed nto four groups, reatng a s bean, removng a bean, gettng value(s) and settng value(s). The tme for a ontaner to reate and remove an entty bean s denoted as T reate and T remove respetvely. Let p e, o be the probablty of operaton o n entty bean e beng nvoked and T e, o be the average serve tme. If o s a getter or setter method, T e, o s determned by the entty arhteture model f A derved n the above setons. T, also does not nlude the tme spent n nested beans operatons. e o T e, o A f ( p = pe, ot pe, ot e, o reate remove, T, T 1 ) o { get, set} o { reate} o { remove} T s an be regarded as the total serve tme of all but state SIIT n CS, whose serve tme s T. Hene, the overall serve demand of the Contaner queue s SIIT D = TSIIT Te, o (10) + psts + s Smlarly let t e, o be the serve tme of operaton o n entty bean e to aess the database through the DataSoure queue. Ths gves: t e, o A f d ( p = pe, ot pe, ot e, o nsert delete, T fnd, T load e, T o store ) o { get, set} o { reate} o { remove} Here T nsert and T delete are the tme for the database to nsert and delete an entty reord respetvely. The overall serve demand of DataSoure queue s 3.4 Charaterzng Stok-Onlne D t e, o e o = 3 (11) The above analyss has dentfed the nfrastruture omponents nvolved n a spef arhteture and establshed the lnkage between arhteture haratersts and the overall - 1 -

14 performane. ow the task s to haraterze the applaton and determne how muh t utlzes the operatons of nfrastruture omponents. We use the onept of a senaro, whh proves useful n understandng system and software behavor[7], to defne the performane expetatons for an applaton. A senaro traes through the applaton and an be derved from use ases or lass dagrams. It has attrbutes to spefy ts name, vst ount, type (e.g. read, wrte, reate, remove) and thnk tme (e.g. dle tme between two requests n mllseonds). A senaro omprses multple alls. A all equals a message n sequene dagrams. It has attrbutes aller, allee, aller senaro and allee senaro to spefy the orgn and destnaton of a all. A all also has other attrbutes suh as the number of alls (or nvoaton ount) n a transaton, the type (e.g. synhronous or asynhronous) and teraton ount. If a all s remote, bytes sent and reeved an be spefed to estmate the overhead of the network ommunaton. For example, BuyStok transaton n Fgure 8 queres an nstane of Aount entty by ts prmary key. A getter method of Aount entty, getcredt s nvoked nsde BuyStok transaton. The aess expetaton of getcredt method equals to the number of alls n the transaton multpled by the transaton s frequeny n the transaton mx (7%). Smlarly we an derve the aess expetaton of other enttes nvolved n BuyStok transaton. Sne an entty bean suh as Aount entty s used by more than one transaton, e.g, BuyStok, SellStok, UpdateAount et., we aggregate the aess expetaton for all transatons that use one entty, gvng the metr for eah entty bean shown n Table 3 for the two busness models we ntrodued earler. ote that the transaton frequenes sum to 1, but the aess expetatons sum to more than 1 (sne eah transaton aess one or more methods). lent broker aount stoktem stokholdng stoktx Transaton Manager BuyStok (transaton mx =7%) start transaton get stok pre (nv. ount=1) hek aount redt (nv. ount=1) transaton rollbak f there s not enough redt (nv. ount=1) update (nv. ount=1) nsert transaton reord (nv. ount=1) ommt transaton Clent Applaton server /Transaton ontext Fgure 8 Sequene dagram of BuyStok As the serve demand of the Request queue s onstant, therefore StokOnlne mp rm StokOnlne StokOnlne D1 = D1 = D1. D and D 3 an be alulated usng Eq.(10) and Eq.(11). Sne there s only one sesson bean nvolved n Stok-Onlne, t s easy to onlude that TSIIT + psts = TSIIT + Ts = T 0. s

15 Three of the Stok-Onlne entty beans, Aount, StokItem and StokTx an be modeled usng fndbyprmarykey, as ther nstanes are obtaned by prmary key. StokHoldng has a senaro to aess a olleton of entty beans and the olleton sze s 0 and t s onsequently modeled by fndbyonpramrykey. ow t s lear that to predt the performane of Stok-Onlne wth arhteture CMP and RM, the followng parameters have to be populated: T 0, T 1, T reate,, Tnsert T load, T store, and also the ahe ht rato of eah arhteture must be known. T fnd Table 3 Metrs of Stok-Onlne entty beans Entty Operaton Aess Expetaton Aess Expetaton (Read-only ntensve) (Doubled updates) Aount Get % 7.91% Set 16.8% 3.564% Create.36% 4.65% StokHoldng Get 6.978% % Set % 7.91% Get (teraton=0) % % StokItem Get % % StokTx Create % 7.91% 3.5 Benhmarkng Benhmarkng s used to populate the performane parameters needed to solve the model The benhmark desgn The benhmark sute onssts of four modules, namely a workload generator, benhmark applaton, montorng utlty and proflng toolkt. The benhmark lents smulate atve requests from proxy applatons, suh as a servlet engne n a web server. Ths knd of proxy lent has an gnorable nterval between two suessve requests. Its populaton n a steady state s bounded 3. Hene the lent spawns a fxed number of threads n eah test. Eah thread submts a new serve request mmedately after the results are returned from the prevous request to the applaton server. The thnkng tme of the lent s effetvely zero. The mplementaton of the smple applaton nvolves a sesson bean objet Agent and an entty bean objet Reord. CMP persstene s used and transatons are ontaner-managed. The example ollaboraton dagram n Fgure 9 shows the sequene of alls n the benhmark applaton for a read/wrte request. In Fgure 10 getreords event smulates the senaro of an entty, whh has fndbyonprmarykey transatons. The montorng utlty s mplemented usng the Java Management Extensons (JMX) remote API. It ollets performane metrs at runtme, nludng the number of atve server threads and atve database onnetons. A proflng toolkt OptmzeIt s also employed. OptmzeIt obtans proflng data from the Java vrtual mahne, and helps n trang the exeuton path and olletng statsts suh as the method nvoaton ount and duraton of eah nvoaton. Proflng tools are neessary for COTS omponent-based systems, when nstrumentaton of the soure ode s not possble. 3 A web server has onfguraton parameters to lmt the atve workload. For example, Apahe uses MaxClent to ontrol the maxmum number of workers, thus the onurrent requests to the applaton server are bounded

16 The same fundamental desgn for the benhmark sute should apply to dfferent tehnologes. It wll be the prese mplementaton detals that dffer. However, t should be possble to use the same sute for applatons that adhere to the same mddleware, e.g.jee n ths ase. : fnd Reord by PK 1: read (wrte) Clent Agent : SessonBean 5: return value 3: get (set) value 4: return value Reord : EnttyBean Fgure 9 Benhmark applaton: read/wrte event : fnd Reords by on-pk 3: terate to get value 1: get reords Clent Agent : SessonBean 6 : ret urn re ords : get value n every teraton Reord : EnttyBean 5: return value n every teraton Fgure 10 Benhmark applaton: getreords event 3.5. Performane measurement The benhmarkng envronment omprses three 4-CPU mahnes onneted by a 100 Mbps solated network. The lent, applaton server and the database server are deployed on separate mahnes. The applaton server used s WebLog Server 7.0 and the server thread pool sze s s 0. The JVM s Sun s JDK wth settngs hotspot, Xms51m and Xmx104m. The database server s Orale and the Orale thn JDBC drver s used. Intally, there are 1000 reords n the database table. All three mahnes are runnng on Wndows 000 server. Eah experment has three phases, rampup, steadystate and rampdown. The system s started and ntalzed n the rampup stage for 1 mnute. The system then transfers to steadystate for 10 mnutes. The statstal results are measured durng ths tme. Eah experment s run several tmes to guarantee that the dfferene between runs s mnor. Table 4 Parameters measured by benhmarkng Aess Expetaton Aess Expetaton Parameter (Read-only ntensve) (Doubled updates) Workload () Throughput (tps) (X) Response tme (ms) (R) Atve # of server threads (m) Atve # of db onnetons (k) CMP ahe ht rato (h) 50% 50% RM ahe ht rato (h r ) 99.6% 99% OCC ahe ht rato (h o ) 60% 63% fndbyonpramrykey ahe ht rato (h ) 96% 97% Request queue utlzaton ( U 1 ) 15.93% 14.16% Contaner queue utlzaton ( U ) 57.1% 51.10% DataSoure queue utlzaton ( U 3 ) 6.86% 34.74%

17 In order to measure parameters to solve the performane model, we need to selet the workload so that t s large enough to effently utlze the server s physal resoures but small enough to prevent overload and performane degradaton. We saled the workload from 1 to 1000 lents and measured the throughput. We observed the throughput was 513 transatons per seond (tps) when =100. The applaton server CPU utlzaton was 89% and the database server utlzaton was 3%. The peak throughput was 57 tps for all lents and the degradaton of throughput was.66%. We therefore deded to use =100 as base workload. In order to measure the ahe ht rato, the benhmark applaton s mplemented usng CMP, RM and OCC arhteture. getreords events are njeted to smulate the StokHoldng entty s usage pattern wth fndbyonprmarykey transatons. Table 4 lsts the parameters obtaned by benhmarkng. 3.6 Populatng parameters K ( U u R ) ' Reall that D = =1. Thus ' D depends on u however further ntrodue ntermedate parameters as ' " D1 U R D = = K u =1 u s unknown. We " It an be proved that u = u, where u " s the utlzaton of queue under the serve demand as " " D. D an be alulated usng data n Table 4, then u " an be solved by MVA algorthm. Consequently u s avalable and D ' an be solved usng Eq.(7). The serve demand of the benhmark applaton an be solved n Table 5 usng Eq.(1)-(3), from whh we an derve other performane parameters. Table 5 Benhmark serve demands (alulated) Transaton mx Transaton mx Serve demand (Read-only ntensve) (Doubled updates) mp benh D _ mp _ benh D mp _ benh D mp _ benh mp _ benh Our analyss treated D 1 and D as ndependent of the workload mx p. mp benh The measurement shows that the error s 9.18% for D _ mp benh 1 and 9.76% for D _ when p=50%. Approxmatng T fnd = Tload n Eq.(8), we get T fnd + Tload + (1 0.9) Tstore = T fnd = T fnd + Tload + (1 0.5) Tstore = Tload = T fnd = Tload Tstore = As readng data from ahe s faster than readng data from the database, we use T load as a substtute for T 1. Thus T T an be solved by Eq.(8). We further assume that nsert = Tstore. We also found from the JVM proflng that average serve tme of state CS s about % of the mp benh Contaner queue s serve demand, so we estmate T 0 =11.816% D _ = Smlarly we an have T reate = Serve demands of Stok-Onlne are alulated n Table 6 usng Eq.(10)(11)

18 Table 6 Stok-Onlne serve demands (alulated) Busness model Busness model Serve demand (Read-only ntensve) (Doubled updates) CMP RM OCC CMP RM OCC StokOnlne D 1 StokOnlne D StokOnlne D The utlzaton u of a software task s a useful performane metr, from whh we an estmate the average number of threads that are busy. We only measure m and k when =100 lents. The values for other workloads are estmated as follows: The maxmum number of requests beng served smultaneously by the server threads s the thread pool sze s. When s, the apaty of the server threads approahes saturaton, m100 and k 100 an be used for m and k as approxmatons. When < s, we an regard u as the rato of atve number of threads m not dle watng for requests to the thread pool sze,.e. u m s ; u3 as the rato of the number of atve database onnetons to the number of atve threads,.e. u3 k m. Therefore m m = m 100, k = mn( m 100 = k 100, s u ( )), k = mn( k 100, m u 3 ( )) s < s 3.7 Predtng Stok-Onlne performane To verfy our approah, three versons of Stok-Onlne were mplemented, one usng the CMP arhteture, one usng the RM arhteture and another OCC arhteture. Eah was deployed and run on the expermental envronment used for benhmarkng. The predted server sde response tme was then ompared to the empral results Sngle applaton server performane Fgure 11 shows the performane results of three mplementatons of Stok-Onlne. The error of predton s around 5-9% and the worst ase exept for =1 s about 13% for the three mplementatons. The predton s that RM arhteture sgnfantly mproves performane by about 60-65% over CMP, whle OCC arhteture has lmted performane optmzaton over CMP by about 5-15%. Measurement onfrms ths predton. Fgure 11 Stok-Onlne Performane (Read-only ntensve busness model)

19 When the busness model has twe as many updates, we predt the performane n Fgure 1. The error of predton s around 5-17% exept =1. The error of predtng OCC performane s up to 17% when =500. We observed that more transatons rolled bak as the workload nreases, whh results n more overhead of the ontaner. It an be seen from the predton that the advantage of RM arhteture dmnshes as the rato of read-only transatons dereases. RM arhteture and OCC arhteture stll produe better performane than CMP arhteture. The model an also help to sze the apaty of the system. Suppose that the requrement for the applaton response tme s sub-1 seond. We an estmate that the maxmum workload of CMP to meet ths requrement s =400, and ths degrades to =380 when the system has twe as many updates. Fgure 1 Stok-Onlne Performane (Doubled updates busness model) The utlzaton of eah queue n the QM s depted n Fgure 14. The predton s that n the CMP and OCC arhteture, the Contaner queue s the most demandng subsystem. It s the bottlenek software omponent as ts utlzaton s approahng 100%. In the ontrary, the RM arhteture speeds up the ontaner by optmzng the ahe usage of read-only data. Thus the bottlenek s transferred to the DataSoure queue whose utlzaton s saturated Tunng the thread pool sze The onfguraton of thread pool sze represents an mportant tunng opton. Too few threads wll lmt performane n the applaton server by seralzng muh of the applaton proessng. Too many threads wll onsume resoures and nrease ontenton, agan redung applaton performane. Fortunately, the model an help us fnd the optmal onfguraton for the thread pool sze. The model aurately predts n Fgure 13 that the optmal value s 0 for both CMP and RM and 5 for OCC nstead of the default settng 15. Measured Predted Fgure 13 Stok-Onlne thread pool sze tunng

20 1 (a) CMP Utlzaton (u) Contaner-D Contaner-R DataSoure-D DataSoure-R Request-D Request-R o. of lent () 1 (b) RM Utlzaton (u) DataSoure-D DataSoure-R Contaner-D Contaner-R Request-D Request-R o. of lent () 1 () OCC Utlzaton (u) DataSoure-R Contaner-D Contaner-R DataSoure-D Request-D Request-R o. of lent () Fgure 14 Predted utlzaton of eah queue n a sngle server. For one arhteture, the fgure shows the utlzaton of eah queue under two busness models: Read-only ntensve wth the olumn named n the form of Queue-R and Doubled updates wth the olumn named n the form of Queue-D

21 3.7.3 Two-node server lusterng Most mddleware produts support server lusterng to provde salablty and avalablty. The applaton omponents are replated on the servers wthn the luster. We appled our approah to explore the performane of CMP arhteture n a two-node server luster. The RM arhteture n a luster envronment requres more omplated nfrastruture serves to manage the onssteny of beans replas. The ontaner s responsble for the nvaldaton of ahed entty beans nvolved n onfltng transatons. The RM arhteture model for a sngle server onsequently has to be extended to represent ths hange n a lustered envronment, and ths s beyond the sope of ths paper. Clents Two-node luster Request queue Contaner queue DataSoure queue m 1 1 k 1 m k Fgure 15 QM of a two-node server luster We assume the two server mahnes are dental and they aess a shared database server. The extended QM s depted n Fgure 15. The workload s balaned between these two servers. The onstrant of the lent populaton of the DataSoure queue s the total number of atve database onnetons used by the two servers. We further assume that m 1 =m and k 1 =k. Ths model an be solved usng Herarhy Deomposton [1]. The server thread pool sze s 0 and the parameters derved from a sngle server an be used to solve the model. The results are shown n Fgure 16. The predton error s -6% for varous tested workloads. Usng the model we an predt that addng an dental server, the maxmum workload s =660 whle meetng the requrement for a sub-seond response tme. Fgure 16 Stok-Onlne performane (two-node luster) The model an also produe the utlzaton of eah queue n the QM of a two-node luster. It s learly shows n Fgure 17 that the utlzaton of two Request queues s smlar to eah other n the two applaton servers, whh s also true for the utlzaton of the two Contaner queues. Ths s beause the workload s balaned between these two servers and atve number of server threads and database onnetons are almost dental. We an see that now the DataSoure queue s about 100% utlzed, whh ndates t s the bottlenek software. Thus wthout needng more experments, we an reason that addng extra nodes beyond to the applaton server luster would - 0 -

22 not be useful. To further mprove the performane, ether the database ould be transferred to a more powerful mahne or more database servers should be lustered to provde serve. 1 Utlzaton (u) DataSoure queue Contaner(server) Contaner(server1) Request(server) Request(server1) o. of lents () 4. Conluson Fgure 17 Predted utlzaton of eah queue n a luster In ths paper we report a sgnfant ontrbuton to software developers who need to make sensble arhtetural hoes durng the desgn phase for a omponent-based, mddleware-hosted applaton, n order to aheve desred performane goals. We have shown that one an predt eventual performane qute losely (wthn 10% on most measures for our example system). Our approah derves a quanttatve performane model for the desgn, wth parameters that reflet propertes of the nfrastruture platform. These parameters an be measured by runnng a smple benhmark applaton on the platform. We have demonstrated our approah by predtng the performane of three ompetng desgns for an applaton from the lterature. The predtons were good enough to hoose between the desgns. The example desgn used EJB and JEE tehnologes, and dealt wth a CMP desgn, a read-mostly optmzaton desgn and optmst onurreny ontrol desgn. So far, we only model synhronous proesses and we only derve the average response tme of all lasses of requests. The next step s to model asynhronous proesses and to derve performane metrs of eah lass of requests. We also plan to nvestgate models that deal more presely wth the database server, whh we have approxmated as a smple queue. Case studes wll be arred out on other mddleware based applatons. We are onfdent that the approah s general, and ould be appled to other omponent tehnologes. 5. Aknowledgements We would lke to thank Software Arhtetures and Component Tehnologes (SACT) group n CSIRO Australa for provdng the experment envronment for ths work, espeally Dr. Shpng Chen for hs tehnal support. 6. Referenes [1] Bahmann, F.; Bass, L.; Klen, M. Dervng arhtetural tats, CMU/SEI-003-TR-004, 003. [] Dlley, J.A.; Fredrh, R. J.; Jn, T. Y.; Rola, J. Measurement tools and modelng tehnques for evaluatng web server performane, HPL ,

23 [3] Gomaa, H.; Menasé, D.A. Desgn and performane modelng of omponent nteronneton patterns for dstrbuted software arhtetures, Pro. Workshop on Software and Performane (WOSP), 000, pp [4] Gorton, I. Enterprse Transaton Proessng Systems, Addson-Wesley, 000. [5] Gorton, I.; Lu, A. Performane evaluaton of alternatve omponent arhtetures for EJB applatons, IEEE Internet Computng, vol.7, no. 3,003, pp [6] Gorton, I.; Lu, A.; Brebner, P. Rgorous evaluaton of COTS mddleware tehnology, IEEE Computer, vol. 36, no.3, 003, pp [7] Harel, D.; Kugler, H.; Marelly, R.; Pnuel, A. Smart play-out, 18 th Annual ACM SIGPLA Conferene on Objet-Orented Programmng, Systems, Languages, and Applatons (OOPSLA 03), pp , 003. [8] Hssam, S., Moreno, G., Stafford, J., Wallman, K., Pakagng predtable assembly, Component Deployment: IFIP/ACM Workng Conferene, LCS 370, 00, pp [9] Jaobson, P. A. and Lazowska, E. D., Analyzng queueng networks wth smultaneous resoure possesson, Comm. of the ACM, vol 5, no., 198, pp [10] Kounev, S., Buhmann, A., Performane modelng of dstrbuted E-Busness applatons usng queung petr nets, Pro. of IEEE Int l Symp on Performane Analyss of Systems and Software, 003. [11] Kung, H. T. and Robnson, J. T. On Optmst Methods for Conurreny Control, ACM Transatons on Database Systems, vol. 6, o., 13-6, [1] Lazowska, E., Zahorjan, J., Graham, S., Sevk, K., Quanttatve System Performane, Prente Hall, [13] Lu, T.K., Behrooz, A., Kumaran, S. A performane model for a busness proess ntegraton mddleware, IEEE Int l Conf. on E-Commere, 003, pp [14] Menasé, D.; Almeda, V.A.F. Salng for E-Busness: Tehnologes, Models, Performane, and Capaty Plannng. Prente-Hall, 000. [15] Rola, J. A., Sevk, K.C., The method of layers, IEEE Transaton on Software Engneerng, vol. 1, no , p [16] Woodsde, C.M., elson, J.E., Petru, D.C., Majumdar, S., The Stohast Rendezvous etwork Model for Performa of Synhronous Clent-Server-Lke Dstrbuted Software, IEEE Transatons on Computers, vol. 44, no. 1, January, 1995, pp [17] Xu, J., Woodsde, C. M., Petru, D., Performane analyss of a software desgn usng the UML profle for shedulablty, performane and tme, Pro. Computer Performane Evaluaton, Modellng Tehnques and Tools (TOOLS), LCS 794, 003, pp

Matrix-Matrix Multiplication Using Systolic Array Architecture in Bluespec

Matrix-Matrix Multiplication Using Systolic Array Architecture in Bluespec Matrx-Matrx Multplaton Usng Systol Array Arhteture n Bluespe Team SegFault Chatanya Peddawad (EEB096), Aman Goel (EEB087), heera B (EEB090) Ot. 25, 205 Theoretal Bakground. Matrx-Matrx Multplaton on Hardware

More information

Session 4.2. Switching planning. Switching/Routing planning

Session 4.2. Switching planning. Switching/Routing planning ITU Semnar Warsaw Poland 6-0 Otober 2003 Sesson 4.2 Swthng/Routng plannng Network Plannng Strategy for evolvng Network Arhtetures Sesson 4.2- Swthng plannng Loaton problem : Optmal plaement of exhanges

More information

Connectivity in Fuzzy Soft graph and its Complement

Connectivity in Fuzzy Soft graph and its Complement IOSR Journal of Mathemats (IOSR-JM) e-issn: 2278-5728, p-issn: 2319-765X. Volume 1 Issue 5 Ver. IV (Sep. - Ot.2016), PP 95-99 www.osrjournals.org Connetvty n Fuzzy Soft graph and ts Complement Shashkala

More information

Scalable Parametric Runtime Monitoring

Scalable Parametric Runtime Monitoring Salable Parametr Runtme Montorng Dongyun Jn Patrk O Nel Meredth Grgore Roşu Department of Computer Sene Unversty of Illnos at Urbana Champagn Urbana, IL, U.S.A. {djn3, pmeredt, grosu}@s.llnos.edu Abstrat

More information

ABHELSINKI UNIVERSITY OF TECHNOLOGY Networking Laboratory

ABHELSINKI UNIVERSITY OF TECHNOLOGY Networking Laboratory ABHELSINKI UNIVERSITY OF TECHNOLOGY Networkng Laboratory Load Balanng n Cellular Networks Usng Frst Poly Iteraton Johan an Leeuwaarden Samul Aalto & Jorma Vrtamo Networkng Laboratory Helsnk Unersty of

More information

Measurement and Calibration of High Accuracy Spherical Joints

Measurement and Calibration of High Accuracy Spherical Joints 1. Introduton easurement and Calbraton of Hgh Auray Spheral Jonts Ale Robertson, Adam Rzepnewsk, Alexander Sloum assahusetts Insttute of Tehnolog Cambrdge, A Hgh auray robot manpulators are requred for

More information

Microprocessors and Microsystems

Microprocessors and Microsystems Mroproessors and Mrosystems 36 (2012) 96 109 Contents lsts avalable at SeneDret Mroproessors and Mrosystems journal homepage: www.elsever.om/loate/mpro Hardware aelerator arhteture for smultaneous short-read

More information

Semi-analytic Evaluation of Quality of Service Parameters in Multihop Networks

Semi-analytic Evaluation of Quality of Service Parameters in Multihop Networks U J.T. (4): -4 (pr. 8) Sem-analyt Evaluaton of Qualty of Serve arameters n Multhop etworks Dobr tanassov Batovsk Faulty of Sene and Tehnology, ssumpton Unversty, Bangkok, Thaland bstrat

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

On the End-to-end Call Acceptance and the Possibility of Deterministic QoS Guarantees in Ad hoc Wireless Networks

On the End-to-end Call Acceptance and the Possibility of Deterministic QoS Guarantees in Ad hoc Wireless Networks On the End-to-end Call Aeptane and the Possblty of Determnst QoS Guarantees n Ad ho Wreless Networks S. Srram T. heemarjuna Reddy Dept. of Computer Sene Dept. of Computer Sene and Engneerng Unversty of

More information

Cluster ( Vehicle Example. Cluster analysis ( Terminology. Vehicle Clusters. Why cluster?

Cluster (  Vehicle Example. Cluster analysis (  Terminology. Vehicle Clusters. Why cluster? Why luster? referene funton R R Although R and R both somewhat orrelated wth the referene funton, they are unorrelated wth eah other Cluster (www.m-w.om) A number of smlar ndvduals that our together as

More information

A Fast Way to Produce Optimal Fixed-Depth Decision Trees

A Fast Way to Produce Optimal Fixed-Depth Decision Trees A Fast Way to Produe Optmal Fxed-Depth Deson Trees Alreza Farhangfar, Russell Grener and Martn Znkevh Dept of Computng Sene Unversty of Alberta Edmonton, Alberta T6G 2E8 Canada {farhang, grener, maz}@s.ualberta.a

More information

Research on Neural Network Model Based on Subtraction Clustering and Its Applications

Research on Neural Network Model Based on Subtraction Clustering and Its Applications Avalable onlne at www.senedret.om Physs Proeda 5 (01 ) 164 1647 01 Internatonal Conferene on Sold State Deves and Materals Sene Researh on Neural Networ Model Based on Subtraton Clusterng and Its Applatons

More information

Time Synchronization in WSN: A survey Vikram Singh, Satyendra Sharma, Dr. T. P. Sharma NIT Hamirpur, India

Time Synchronization in WSN: A survey Vikram Singh, Satyendra Sharma, Dr. T. P. Sharma NIT Hamirpur, India Internatonal Journal of Enhaned Researh n Sene Tehnology & Engneerng, ISSN: 2319-7463 Vol. 2 Issue 5, May-2013, pp: (61-67), Avalable onlne at: www.erpublatons.om Tme Synhronzaton n WSN: A survey Vkram

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

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

Performance Evaluation of TreeQ and LVQ Classifiers for Music Information Retrieval

Performance Evaluation of TreeQ and LVQ Classifiers for Music Information Retrieval Performane Evaluaton of TreeQ and LVQ Classfers for Mus Informaton Retreval Matna Charam, Ram Halloush, Sofa Tsekerdou Athens Informaton Tehnology (AIT) 0.8 km Markopoulo Ave. GR - 19002 Peana, Athens,

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

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

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

Interval uncertain optimization of structures using Chebyshev meta-models

Interval uncertain optimization of structures using Chebyshev meta-models 0 th World Congress on Strutural and Multdsplnary Optmzaton May 9-24, 203, Orlando, Florda, USA Interval unertan optmzaton of strutures usng Chebyshev meta-models Jngla Wu, Zhen Luo, Nong Zhang (Tmes New

More information

Optimal shape and location of piezoelectric materials for topology optimization of flextensional actuators

Optimal shape and location of piezoelectric materials for topology optimization of flextensional actuators Optmal shape and loaton of pezoeletr materals for topology optmzaton of flextensonal atuators ng L 1 Xueme Xn 2 Noboru Kkuh 1 Kazuhro Satou 1 1 Department of Mehanal Engneerng, Unversty of Mhgan, Ann Arbor,

More information

RV-Monitor: Efficient Parametric Runtime Verification with Simultaneous Properties

RV-Monitor: Efficient Parametric Runtime Verification with Simultaneous Properties RV-Montor: Effent Parametr Runtme Verfaton wth Smultaneous Propertes Qngzhou Luo 1, Y Zhang 1, Choonghwan Lee 1, Dongyun Jn 2, Patrk O Nel Meredth 1, Traan Florn Şerbănuţă 3, and Grgore Roşu 1 1 Unversty

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

Progressive scan conversion based on edge-dependent interpolation using fuzzy logic

Progressive scan conversion based on edge-dependent interpolation using fuzzy logic Progressve san onverson based on edge-dependent nterpolaton usng fuzzy log P. Brox brox@mse.nm.es I. Baturone lum@mse.nm.es Insttuto de Mroeletróna de Sevlla, Centro Naonal de Mroeletróna Avda. Rena Meredes

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

Fuzzy Modeling for Multi-Label Text Classification Supported by Classification Algorithms

Fuzzy Modeling for Multi-Label Text Classification Supported by Classification Algorithms Journal of Computer Senes Orgnal Researh Paper Fuzzy Modelng for Mult-Label Text Classfaton Supported by Classfaton Algorthms 1 Beatrz Wlges, 2 Gustavo Mateus, 2 Slva Nassar, 2 Renato Cslagh and 3 Rogéro

More information

Bit-level Arithmetic Optimization for Carry-Save Additions

Bit-level Arithmetic Optimization for Carry-Save Additions Bt-leel Arthmet Optmzaton for Carry-Sae s Ke-Yong Khoo, Zhan Yu and Alan N. Wllson, Jr. Integrated Cruts and Systems Laboratory Unersty of Calforna, Los Angeles, CA 995 khoo, zhanyu, wllson @sl.ula.edu

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

Topic 5: semantic analysis. 5.5 Types of Semantic Actions

Topic 5: semantic analysis. 5.5 Types of Semantic Actions Top 5: semant analyss 5.5 Types of Semant tons Semant analyss Other Semant tons Other Types of Semant tons revously, all semant atons were for alulatng attrbute values. In a real ompler, other types of

More information

A Novel Dynamic and Scalable Caching Algorithm of Proxy Server for Multimedia Objects

A Novel Dynamic and Scalable Caching Algorithm of Proxy Server for Multimedia Objects Journal of VLSI Sgnal Proessng 2007 * 2007 Sprnger Sene + Busness Meda, LLC. Manufatured n The Unted States. DOI: 10.1007/s11265-006-0024-7 A Novel Dynam and Salable Cahng Algorthm of Proxy Server for

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

Minimize Congestion for Random-Walks in Networks via Local Adaptive Congestion Control

Minimize Congestion for Random-Walks in Networks via Local Adaptive Congestion Control Journal of Communatons Vol. 11, No. 6, June 2016 Mnmze Congeston for Random-Walks n Networks va Loal Adaptve Congeston Control Yang Lu, Y Shen, and Le Dng College of Informaton Sene and Tehnology, Nanjng

More information

Link Graph Analysis for Adult Images Classification

Link Graph Analysis for Adult Images Classification Lnk Graph Analyss for Adult Images Classfaton Evgeny Khartonov Insttute of Physs and Tehnology, Yandex LLC 90, 6 Lev Tolstoy st., khartonov@yandex-team.ru Anton Slesarev Insttute of Physs and Tehnology,

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

Parallelism for Nested Loops with Non-uniform and Flow Dependences

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

More information

A MPAA-Based Iterative Clustering Algorithm Augmented by Nearest Neighbors Search for Time-Series Data Streams

A MPAA-Based Iterative Clustering Algorithm Augmented by Nearest Neighbors Search for Time-Series Data Streams A MPAA-Based Iteratve Clusterng Algorthm Augmented by Nearest Neghbors Searh for Tme-Seres Data Streams Jessa Ln 1, Mha Vlahos 1, Eamonn Keogh 1, Dmtros Gunopulos 1, Janwe Lu 2, Shouan Yu 2, and Jan Le

More information

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

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

More information

TAR based shape features in unconstrained handwritten digit recognition

TAR based shape features in unconstrained handwritten digit recognition TAR based shape features n unonstraned handwrtten dgt reognton P. AHAMED AND YOUSEF AL-OHALI Department of Computer Sene Kng Saud Unversty P.O.B. 578, Ryadh 543 SAUDI ARABIA shamapervez@gmal.om, yousef@s.edu.sa

More information

The Simulation of Electromagnetic Suspension System Based on the Finite Element Analysis

The Simulation of Electromagnetic Suspension System Based on the Finite Element Analysis 308 JOURNAL OF COMPUTERS, VOL. 8, NO., FEBRUARY 03 The Smulaton of Suspenson System Based on the Fnte Element Analyss Zhengfeng Mng Shool of Eletron & Mahanal Engneerng, Xdan Unversty, X an, Chna Emal:

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

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

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

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

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

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

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain

AMath 483/583 Lecture 21 May 13, Notes: Notes: Jacobi iteration. Notes: Jacobi with OpenMP coarse grain AMath 483/583 Lecture 21 May 13, 2011 Today: OpenMP and MPI versons of Jacob teraton Gauss-Sedel and SOR teratve methods Next week: More MPI Debuggng and totalvew GPU computng Read: Class notes and references

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

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

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

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

International Journal of Pharma and Bio Sciences HYBRID CLUSTERING ALGORITHM USING POSSIBILISTIC ROUGH C-MEANS ABSTRACT

International Journal of Pharma and Bio Sciences HYBRID CLUSTERING ALGORITHM USING POSSIBILISTIC ROUGH C-MEANS ABSTRACT Int J Pharm Bo S 205 Ot; 6(4): (B) 799-80 Researh Artle Botehnology Internatonal Journal of Pharma and Bo Senes ISSN 0975-6299 HYBRID CLUSTERING ALGORITHM USING POSSIBILISTIC ROUGH C-MEANS *ANURADHA J,

More information

Simulation: Solving Dynamic Models ABE 5646 Week 11 Chapter 2, Spring 2010

Simulation: Solving Dynamic Models ABE 5646 Week 11 Chapter 2, Spring 2010 Smulaton: Solvng Dynamc Models ABE 5646 Week Chapter 2, Sprng 200 Week Descrpton Readng Materal Mar 5- Mar 9 Evaluatng [Crop] Models Comparng a model wth data - Graphcal, errors - Measures of agreement

More information

AP PHYSICS B 2008 SCORING GUIDELINES

AP PHYSICS B 2008 SCORING GUIDELINES AP PHYSICS B 2008 SCORING GUIDELINES General Notes About 2008 AP Physcs Scorng Gudelnes 1. The solutons contan the most common method of solvng the free-response questons and the allocaton of ponts for

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

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

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

A Semi-parametric Approach for Analyzing Longitudinal Measurements with Non-ignorable Missingness Using Regression Spline

A Semi-parametric Approach for Analyzing Longitudinal Measurements with Non-ignorable Missingness Using Regression Spline Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 93-9466 Vol., Issue (June 5), pp. 95 - Applatons and Appled Mathemats: An Internatonal Journal (AAM) A Sem-parametr Approah for Analyzng Longtudnal

More information

Priority queues and heaps Professors Clark F. Olson and Carol Zander

Priority queues and heaps Professors Clark F. Olson and Carol Zander Prorty queues and eaps Professors Clark F. Olson and Carol Zander Prorty queues A common abstract data type (ADT) n computer scence s te prorty queue. As you mgt expect from te name, eac tem n te prorty

More information

Circuit Analysis I (ENGR 2405) Chapter 3 Method of Analysis Nodal(KCL) and Mesh(KVL)

Circuit Analysis I (ENGR 2405) Chapter 3 Method of Analysis Nodal(KCL) and Mesh(KVL) Crcut Analyss I (ENG 405) Chapter Method of Analyss Nodal(KCL) and Mesh(KVL) Nodal Analyss If nstead of focusng on the oltages of the crcut elements, one looks at the oltages at the nodes of the crcut,

More information

TCP Performance over Current Cellular Access: A Comprehensive Analysis

TCP Performance over Current Cellular Access: A Comprehensive Analysis TCP Performane over Current Cellular Aess: A Comprehensve Analyss Eneko Atxuteg 1(B), Åke Arvdsson 2, Fdel Lberal 1, Karl-Johan Grnnemo 3, and Anna Brunstrom 3 1 Unversty of the Basque Country (UPV/EHU),

More information

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

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

More information

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

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

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

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

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

Multilabel Classification with Meta-level Features

Multilabel Classification with Meta-level Features Multlabel Classfaton wth Meta-level Features Sddharth Gopal Carnege Mellon Unversty Pttsburgh PA 523 sgopal@andrew.mu.edu Ymng Yang Carnege Mellon Unversty Pttsburgh PA 523 ymng@s.mu.edu ABSTRACT Effetve

More information

Intro. Iterators. 1. Access

Intro. Iterators. 1. Access Intro Ths mornng I d lke to talk a lttle bt about s and s. We wll start out wth smlartes and dfferences, then we wll see how to draw them n envronment dagrams, and we wll fnsh wth some examples. Happy

More information

ETAtouch RESTful Webservices

ETAtouch RESTful Webservices ETAtouch RESTful Webservces Verson 1.1 November 8, 2012 Contents 1 Introducton 3 2 The resource /user/ap 6 2.1 HTTP GET................................... 6 2.2 HTTP POST..................................

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

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

Color Texture Classification using Modified Local Binary Patterns based on Intensity and Color Information

Color Texture Classification using Modified Local Binary Patterns based on Intensity and Color Information Color Texture Classfaton usng Modfed Loal Bnary Patterns based on Intensty and Color Informaton Shvashankar S. Department of Computer Sene Karnatak Unversty, Dharwad-580003 Karnataka,Inda shvashankars@kud.a.n

More information

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

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

More information

LOCAL BINARY PATTERNS AND ITS VARIANTS FOR FACE RECOGNITION

LOCAL BINARY PATTERNS AND ITS VARIANTS FOR FACE RECOGNITION IEEE-Internatonal Conferene on Reent Trends n Informaton Tehnology, ICRTIT 211 MIT, Anna Unversty, Chenna. June 3-5, 211 LOCAL BINARY PATTERNS AND ITS VARIANTS FOR FACE RECOGNITION K.Meena #1, Dr.A.Suruland

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

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

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

REGISTRATION OF TERRESTRIAL LASER SCANNER DATA USING IMAGERY INTRODUCTION

REGISTRATION OF TERRESTRIAL LASER SCANNER DATA USING IMAGERY INTRODUCTION EGISTATION OF TEESTIAL LASE SCANNE DATA USING IMAGEY Khall Al-Manasr, Ph.D student Clve S. Fraser, Professor Department of Geomats Unversty of Melbourne Vtora 3010 Australa k.al-manasr@pgrad.unmelb.edu.au.fraser@unmelb.edu.au

More information

Range images. Range image registration. Examples of sampling patterns. Range images and range surfaces

Range images. Range image registration. Examples of sampling patterns. Range images and range surfaces Range mages For many structured lght scanners, the range data forms a hghly regular pattern known as a range mage. he samplng pattern s determned by the specfc scanner. Range mage regstraton 1 Examples

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 Real-Time Detecting Algorithm for Tracking Community Structure of Dynamic Networks

A Real-Time Detecting Algorithm for Tracking Community Structure of Dynamic Networks A Real-Tme Detetng Algorthm for Trakng Communty Struture of Dynam Networks Jaxng Shang*, Lanhen Lu*, Feng Xe, Zhen Chen, Jaa Mao, Xueln Fang, Cheng Wu* Department of Automaton, Tsnghua Unversty, Beng,,

More information

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example

News. Recap: While Loop Example. Reading. Recap: Do Loop Example. Recap: For Loop Example Unversty of Brtsh Columba CPSC, Intro to Computaton Jan-Apr Tamara Munzner News Assgnment correctons to ASCIIArtste.java posted defntely read WebCT bboards Arrays Lecture, Tue Feb based on sldes by Kurt

More information

Steganalysis of DCT-Embedding Based Adaptive Steganography and YASS

Steganalysis of DCT-Embedding Based Adaptive Steganography and YASS Steganalyss of DCT-Embeddng Based Adaptve Steganography and YASS Qngzhong Lu Department of Computer Sene Sam Houston State Unversty Huntsvlle, TX 77341, U.S.A. lu@shsu.edu ABSTRACT Reently well-desgned

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

A Study on the uncertainty and sensitivity in numerical simulation of parametric roll

A Study on the uncertainty and sensitivity in numerical simulation of parametric roll Downloaded from orbt.dtu.dk on: Nov, 8 A Study on the unertanty and senstvty n numeral smulaton of parametr roll Cho, Ju Hyuk; Nelsen, Ulrk Dam; Jensen, Jørgen Junher Publshed n: Proeedngs of the th Internatonal

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

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

Adaptive Class Preserving Representation for Image Classification

Adaptive Class Preserving Representation for Image Classification Adaptve Class Preservng Representaton for Image Classfaton Jan-Xun M,, Qankun Fu,, Wesheng L, Chongqng Key Laboratory of Computatonal Intellgene, Chongqng Unversty of Posts and eleommunatons, Chongqng,

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

A fault tree analysis strategy using binary decision diagrams

A fault tree analysis strategy using binary decision diagrams Loughborough Unversty Insttutonal Repostory A fault tree analyss strategy usng bnary decson dagrams Ths tem was submtted to Loughborough Unversty's Insttutonal Repostory by the/an author. Addtonal Informaton:

More information

Analysis of Continuous Beams in General

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

More information

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

A Flexible Solution for Modeling and Tracking Generic Dynamic 3D Environments*

A Flexible Solution for Modeling and Tracking Generic Dynamic 3D Environments* A Flexble Soluton for Modelng and Trang Gener Dynam 3D Envronments* Radu Danesu, Member, IEEE, and Sergu Nedevsh, Member, IEEE Abstrat The traff envronment s a dynam and omplex 3D sene, whh needs aurate

More information

Multiscale Heterogeneous Modeling with Surfacelets

Multiscale Heterogeneous Modeling with Surfacelets 759 Multsale Heterogeneous Modelng wth Surfaelets Yan Wang 1 and Davd W. Rosen 2 1 Georga Insttute of Tehnology, yan.wang@me.gateh.edu 2 Georga Insttute of Tehnology, davd.rosen@me.gateh.edu ABSTRACT Computatonal

More information

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe

CSCI 104 Sorting Algorithms. Mark Redekopp David Kempe CSCI 104 Sortng Algorthms Mark Redekopp Davd Kempe Algorthm Effcency SORTING 2 Sortng If we have an unordered lst, sequental search becomes our only choce If we wll perform a lot of searches t may be benefcal

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

Computing Cloud Cover Fraction in Satellite Images using Deep Extreme Learning Machine

Computing Cloud Cover Fraction in Satellite Images using Deep Extreme Learning Machine Computng Cloud Cover Fraton n Satellte Images usng Deep Extreme Learnng Mahne L-guo WENG, We-bn KONG, Mn XIA College of Informaton and Control, Nanjng Unversty of Informaton Sene & Tehnology, Nanjng Jangsu

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

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