A Parallelization Design of JavaScript Execution Engine

Size: px
Start display at page:

Download "A Parallelization Design of JavaScript Execution Engine"

Transcription

1 , pp A Parallelzaton Desgn of JavaScrpt Executon Engne Duan Huca 1,2, N Hong 2, Deng Feng 2 and Hu Lnln 2 1 Natonal Network New eda Engneerng Research Center, Insttute of Acoustcs, Chnese Academy of Scences, Beng 10190, Chna 2 Unversty of Chnese Academy of Scences, Beng , Chna duanhc@dsp.ac.cn Abstract Wth more and more consumer electroncs apply mult-core chps, the tradtonal seralzed JavaScrpt executon engne, whch s optmzed by ust-n-tme (JIT) complaton technology, fals to utlze mult-core advantages. Ths paper proposes a mathematcal model to detect the dependency of seral JavaScrpt tasks and a parallelsm executon algorthm for seral JavaScrpt executon engnes. oreover, the parallel JavaScrpt executon engne wth thread-level speculaton technology s mplemented based on the SqurrelFsh Extreme engne of WebKt. As the experment were conducted respectvely on the general test platform platform Sunspder n the ndustry and world top 15 webstes at traffc volume, the results ndcate that both n the real Web applcaton and Sunspder platform, the parallel JavaScrpt executon engnes wth 2 to 16 threads can rase the performance dramatcally compared wth a SqurrelFsh executon engne wth or wthout JIT acceleraton, respectvely. Keywords: ult-core chps, parallel computaton, thread-level speculaton, JavaScrpt 1. Introducton JavaScrpt s a dynamc nterpretaton and executon language orented to obects. As JavaScrpt acts as man scrptng language n the clent s Web applcaton, ts executon performance drectly affects the user s experence related to Web applcatons. The tradtonal soluton of JavaScrpt acceleraton s JIT complaton technology [1-4] whch generate machne codes from runnng JavaScrpt codes for executon. JIT acceleraton technology may ncrease the complaton expenses [4], provded that the optmzed code s executed agan and the type of JavaScrpt obects s not changed etc. JIT optmzaton technology promotes JavaScrpt performances conventonally through experments on the specfc test platform [5, 6], but the actual features of Web applcatons are dfferent from the test platform of ndustral crcles [79]. JIT optmzaton technology usually fals to reduce the JavaScrpt executon tme n common Web applcatons accordng to some researches [10]. oreover, as more and more consumer electroncs use mult-core chps, JavaScrpt executon engne apples seralzaton operaton wth JIT acceleraton technology and fals to take advantage of mult-core chps. Accordng to some research results [11], the JavaScrpt executon engne under seralzaton operaton s parallelzed so that the performance of Web applcatons s rased by 45 tmes. To reduce the dffculty of parallel complaton, t s proposed n [12-14] that the technology of Thread-Level Speculaton (TLS) [15] should be appled to parallelze JavaScrpt engne and realze JavaScrpt functon-level parallelsm. However, the parallelsm at functon level cannot explore the parallelsm potental of JavaScrpt applcaton to the maxmum extent 1 Proect supported by the Natonal Scence and Technology Support Program of Chna (No.2012BAH73F01) and CAS plot specal ssue (No. XDA ). ISSN: IJUE Copyrght c 2014 SERSC

2 whle a large number of loop operatons n the actual JavaScrpt applcaton can apply fnegraned loop level to partton parallelsm. Ths paper analyzes the factors for JavaScrpt functon-level or loop-level parallelsm, proposes the detecton approach of data dependency n JavaScrpt byte codes and further dscusses an algorthm whch dvde seralzed JavaScrpt program nto tasks for parallel executon. eanwhle, based on SqurrelFsh Extreme, t also proposes a parallelsm soluton of byte-code nterpreters. The algorthm hereof mproves performances obvously after beng tested on world top 10 webstes at traffc volume. 2. Feasble Analyss of Parallel JavaScrpt Executon Engne 2.1. Prncple Analyss of JavaScrpt Executon Engne The conventonal JavaScrpt executon engne apples seral executon and translates JavaScrpt codes nto byte codes for nterpretaton and executon [1, 3] or drectly nto machne codes for executon [2]. Fgure 1 shows the executon processes for three common types of JavaScrpt executon engnes. Hydrogen JavaScrpt AST JavaScrpt AST ByteCode load r0, t1 add r1, t1 Natve Code Exst? Natve Code Yes B8 84 C0 AF Natve Code 08 B5 C3 D5 AE 0F Full CodeGen Crankshaft Lthum LaddI t1, t2, 7 LodI t5, t1, 2 NO Interpret ByteCode (a) V8 Complaton Ppelne (b) Bytecode Interpreter wth Just-In-Tme Compler Fgure 1. Executon Processes of JavaScrpt Executon Engnes As shown n Fgure 1, t ndcates the flow dagrams about how manstream JavaScrpt executon engnes nterpret and execute JavaScrpt programs at present. (a) ndcates V8 s executon process, V8 converts JavaScrpt source codes nto abstract syntax trees and ntates a Full-Codege compler to comple the abstract syntax trees nto machne codes related to the platform and execute them one by one; t ntates a Crankshaft compler to optmze hotspot functons n the runnng process and generate better machne codes for executon. (b) s a common JavaScrpt executon engne wth the combnaton of a byte code nterpreter and a JIT compler, where JavaScrpt source codes are converted nto abstract syntax trees. Dfferent from V8, ths engne generate a knd of abstract byte codes whle an nterpreter nterprets and executes these codes. eanwhle, a JIT compler comples hotpots of byte codes nto machne codes related to the platform to optmze performances. As both SqurrelFsh Extreme and Traceonkey apply ths desgn, the dfference les n optmzed gran szes. And the former apples the hotspot optmzaton algorthm based on ethod whle the latter uses that based on Trace [16]. Therefore, the current JavaScrpt executon engne can execute JavaScrpt codes only accordng to the sngle-threaded sequence but fals to speed up wth the advantages of mult-core chps. 172 Copyrght c 2014 SERSC

3 1.2. Parallelsm Instances of JavaScrpt Executon Engne All parts of the JavaScrpt program always have a certan dependency relatonshp. The parallel processng shall decompose the program nto several tasks for parallel executon wthout causng damage to these dependency relatonshps n order to shorten the tme requred for runnng the whole process. However, there s no general model for the parallelsm of a seral program at present, so t s necessary to take the features of seral tasks n consderaton for partton. As there are a lot of functons n the JavaScrpt program, t s possble to perform parallel executon of callee and caller functons durng the functon call. oreover, there are a lot of loop teratve operatons n the JavaScrpt codes and each teratve operaton may be also executed n a parallel manner. Fgure 2 ndcates an example of creatng JavaScrpt functon, whle JavaScrpt source codes stay on the left and the correspondng byte-code pseudo-code on the rght. In ths fgure, the sequence of byte codes s parttoned nto 13 tasks. Obvously, Tasks 2 and 3 are mutually ndependent and so are Tasks 3 and 4. The executon must be carred out after Task 1. And Tasks 4-12 are the bytecode sequence after JavaScrpt loop unrolls and every round of teraton s based on the former round. The loop teratve operaton cannot be executed n a parallel manner whle Task 13 cannot be executed untl all other tasks are completed. functon f() { var = 0; g(); ++; for (var = 1; < 5;++) { += ; } return ; } functon g() { return 1; } set = 0 call g return 1 ncrement set = 1 test loop condton < 5 += ncrement test loop condton < 5 += ncrement test loop condton < 5 += ncrement test loop condton < 5 += ncrement test loop condton < 5 return Fgure 2. Example of JavaScrpt Source Code and ts Correspondng Byte- Code Sequence Fgure 3 ndcates the sequence chart of the parallelsm executon for the tasks n Fgure 2. Frst, execute Task 1 n the man thread. When t s tme to execute Task 2, open a thread to execute Task 2 because Tasks 2 and 3 are mutually ndependent. As the man thread proceeds to other byte codes after Task 2, t s tme to execute Task 3. And then, open another thread to execute Task 3 due to mutual ndependence between Tasks 3 and 4. As the man thread proceeds to other byte codes after Task 3, kck off Task 4. The executon of Task 5 reles on Copyrght c 2014 SERSC 173

4 Tasks 3 and 4, so Task 4 must be executed n seres by the man thread at ths tme. After the completon of Task 4, the man thread must not execute Task 5 untl the completon of Task 3. As Task 3 s completed, t sends feedback to the man thread and the man thread executes Task 5 and ts subsequent tasks n order. Therefore, comparng wth seral executon, parallel executon can reduce the total tme ndcated n Equaton (1): Thread 1 Thread 2 Thread 3 Task 1 Task 4 Task 5 Task 6 Task 7 Task 8 Task 9 Task 10 Task 11 Task 12 Task13 Task 2 Task 3 Tme Spent n creatng new Threads Tme Spent n watng for Task3 fnsh before Task5 start Fgure 3. Sequence Chart of JavaScrpt Parallel Executon T T T T (1) t2 t3 thread wat 5 Where, T t 2 refers to the tme consumed for Task 2 executon, T t3 ndcates the tme consumed for Task 3 executon, T thread means the tme consumed for openng Threads 2 and 3 whle T wat5 ndcates the tme consumed to wat for the completon of Task 3 before the man thread executes Task 5, t can be expressed n Fgure 3 as follows: Twat 5 Tt 3 Tt 4 (2) Therefore, the tme reduced for parallel executon can be expressed as follows: Tt 2Tt 4 Tthread (3) Because Tasks 2 and 4 are executed n a parallel manner, the tme consumed for the two tasks s reduced, comparng wth seral executon but addtonal tme s consumed for openng the thread. Provded the tme consumed for seral executon of Tasks 2 and 4 s longer than that for openng the thread, the parallelzaton can mprove the performances of JavaScrpt program. In the actual program, the expenses for task executon s much more than the tme consumed for openng the thread, so maxmzng the parallel executon of JavaScrpt program can mprove performances and t s feasble to parallelze the seral JavaScrpt program. 2. Parallel algorthm of JavaScrpt Executon Engne The key to parallel executon of JavaScrpt executon engne s to dentfy the dependency relatonshp n JavaScrpt tasks. Under the premse of no damage to the dependency relatonshp, a JavaScrpt program s parttoned nto several subtasks for parallel executon. The dependency relatonshps can be categorzed nto the two types of control dependency relatonshp and data dependency relatonshp whle the former leads to program process changes and the latter s ncurred by readng/wrtng the same data. And the data dependency can affect the dependency relatonshp of a JavaScrpt program. Therefore, the analyss theory and technques of data dependency relatonshps s the bass of JavaScrpt program parallelsm athematcal odel Analyss of JavaScrpt Task Dependency P ( 1,2,, m) s defned as one task n the JavaScrpt program and V ( 1,2,, n) as a varable. As dfferent tasks carry out readng/wrtng operatons on the same varable, there 174 Copyrght c 2014 SERSC

5 may be data dependency relatonshps. mn-order matrx r s defned as readng matrx wth the value as follows: 0, no readng Varable V n P, r (, ) (4) 1, readng Varable V n P. mn-order wrtng matrx s defned as: 0, no wrtng Varable V n P, w(, ) (5) 1, wrtng Varable V n P. There are three types of data dependency relatonshps: read-after-wrte (RAW), wrte-afterread (WAR) and wrte-after-wrte (WAW) [17]. mm-order matrx wr of JavaScrpt task read-wrte dependency s defned as T wr r w (6) Therefore: 0, no data RAW dependency between P and P wr (, ) (7) k(0 k n), k varables have RAW dependency between P and P. mn-order matrx ww of JavaScrpt task WAW dependency s defned as (8) T ww w w Therefore, 0, no data WAW dependency between P and P, ww(, ) k(0 k n), WAW dependency between P and P. mn-order dependency matrx d s defned as: d wr ww (10) And 0, no dependency betweenpand P, d (, ) (11) k (0<k 2n), dependency between Pand P. eanwhle, the dependency relatonshp s of transtvty; f d (, ) 0 and d (, l) 0, there s the dependency relatonshp between P and P l. The task can be executed n a parallel manner only f there s no dependency relatonshp whle the tasks under dependency relatonshps must be executed by the same thread n order Parallel algorthm of JavaScrpt Executon Engne C s defned as a set of tasks under executon or to be executed andc { P1, P2, P3,, P m }; every tme a new task P ( 1,2,, m) s kcked off, put the new task s put nto Set C ; and when a task s completed, delete t from C. C C,0 m s defned as some task under executon, Thread ( C ) s the thread where some task s under executon at that tme, P( Thread ( C )) ndcates the task set whch has (9) Copyrght c 2014 SERSC 175

6 dependency relatonshp wth C and s to be executed n the same thread wth C, and P( Thread ( C )) C. Index( P ) refers to the seral numbers of Task P n { P1, P2, P3,, P m } whle F { P1, P2,, P m } s a task to be executed. Ths paper proposes an algorthm for parallel executon of seral JavaScrpt tasks: Step 1: If C, execute F n the man thread and put F nto Set C, otherwse proceed to Step 2; Step 2: If d( Index( F), Index( C )) 0 to randomc C, execute F n the new thread and put F nto SetC, otherwse proceed to Step 3; Step 3: If d( Index( F), Index( C )) 0 to C C, put F n C and P( Thread ( C )), proceed to Step 4; Step 4: As the executon ofc s completed, delete C from C ; f P( Thread ( C )), Thread ( C ) goes on proceedng to the next C, C P( Thread ( C )) from P( Thread ( C )) and. eanwhle, delete C from P( Thread ( C )), otherwse complete Thread ( C ) and feed the results back to the man thread. And then proceed to Step 5; Step 5: The man thread skps F and analyzes the subsequent tasks, proceed to Step 1 f there s any task, otherwse wat for executon completon of all threads and return to executon results. 3. Algorthm Implementaton Ths paper apples thread-level speculaton technology and proposes a parallel algorthm soluton of the JavaScrpt executon engne based on the Squrrelfsh Extreme executon engne Algorthm for Seral JavaScrpt Task Parttonng For parallel executon of the JavaScrpt program, t s requred to dvde the seral program nto several tasks and fnd tasks from the task set for parallel executon. The thread-level speculaton s ntended to dynamcally parallelze the seral program whle there are the parallelsm gran-szes at loop level and method level. The loop-level parallelsm assgns one thread to teraton of each loop for executon whle the method-level parallelsm deploys each functon as one thread. Squrrelfsh Extreme executon engne frst translates JavaScrpt source codes nto byte codes [18], parttons seral JavaScrpt program nto several tasks n the process of byte-code generaton and establshes the task dependency matrx. Loop, loop_f_true and loop_f_less of Squrrelfsh Extreme byte codes ntate one-loop nstructons, ts target parameter s a start address of one loop-level task, the call nstructon s a functon call nstructon, ts func parameter s a start address of the functonlevel task and the ret nstructon s the symbol ndcatng callng by a functon and backng to results. 176 Copyrght c 2014 SERSC

7 Start Loop Target Loop f true call pop Loop Target Loop f false Task 1 Task 2 Task3 Task4 Task5 Task6 Task7 Fgure 4. Schematc Dagram of Task Parttonng for JavaScrpt Seral Program Fgure 5. Pseudo-Code Realzaton of Task Parttonng for JavaScrpt Seral Program Fgure 4 s the schematc dagram of task parttonng for the JavaScrpt seral program, t scans the byte-code sequence n order; every tme t meets wth a call functon nstructon or a loop teratve nstructon, record one new task and map the task number to the address parameter of the nstructon. eanwhle, byte-code fragments between teraton and functon call are parttoned nto separate tasks. Fgure 5 shows the pseudo-codes of the soluton. Copyrght c 2014 SERSC 177

8 3.2. Dependency atrx Computaton Fgure 6 shows the pseudo codes realzed by the algorthm; as JavaScrpt program s parttoned nto several tasks, t s possble to obtan r (,:) from the th row of the readng matrx and w(,:) from the th row of the wrtng matrx through all read/wrte varables n the speculaton task P( 1, 2,, m). The same operatons are carred out for all tasks to establsh the readng matrx r and the wrtng matrx w and obtan the task dependency matrx n combnaton wth Equatons (6)-(11). To reduce the memory consumpton, use d a sparse matrx durng desgn to store the data of r, w and d. Fgure 6. Pseudo-Code Computatons through JavaScrpt Task Dependency atrx 3.3. Parallel Executon of Seral JavaScrpt After the dependency matrx s obtaned, t s possble to udge whether two tasks can be executed n a parallel manner dependng on the matrx-to-matrx dependency value. Execute the tasks wth dependency relatonshps n the same thread and apply thread pool technology durng realzaton to reduce the expenses for creatng threads, whle the pseudo-code realzaton s shown n Fgure Copyrght c 2014 SERSC

9 Fgure 7. Pseudo Codes for JavaScrpt Parallel Executon 4. Performance Evaluaton Ths paper conducted the performance evaluatons respectvely from the two aspects of theory and experment and fully approved that the parallelzed JavaScrpt executon engne can sgnfcantly mprove the performances of JavaScrpt program. Copyrght c 2014 SERSC 179

10 4.1. Theoretcal Analyss Suppose that the seral JavaScrpt program can be parttoned nto several tasks, the executon tme of each task P ( 1, 2,, k) s T ( 1,2,, k) respectvely. Comparng wth the executon tme of each task, the expenses are omtted for allocatng threads because the thread pool s used to allocate threads. Therefore, the JavaScrpt executon engne wthout JIT acceleraton requres the tme k 1 T to execute k tasks. Suppose that the seral JavaScrpt program s fnally executed n parallel by d threads and each thread executes k ( 1, 2,, d) tasks, the JavaScrpt executon engne n the seralzed desgn requres the tme k max( T ) to execute k tasks. 1 For JavaScrpt executon engne wth JIT acceleraton, suppose that the executon tme for byte codes accelerated accounts for (0 1) 100% of the total tasks, the tme consumed for optmzng the part of codes accounts for (0 ) 100% of the total task executon tme and the executon effcency of JIT codes compled s f(0 f) tmes better than that of the orgnal byte codes, so the JavaScrpt executon engne wth JIT acceleraton k requres the tme (1 ) T to execute k tasks. f 1 Therefore, comparng wth the conventonal seral JavaScrpt executon engne wthout JIT acceleraton, the parallel executon engne can mprove the performances by: k T 1 k max( T ) 1 ( 1,2,, d) Obvously, t s proved from the theoretcal vew, the parallel JavaScrpt executon engne can effectvely mprove the performances by d tmes at the maxmum only f the seral JavaScrpt program can be parttoned nto separate tasks. eanwhle, the d value s related to the specfc JavaScrpt program whch can be proved by the subsequent tests. Comparng wth the seral JavaScrpt executon engne wth JIT acceleraton, the parallel executon engne hereof can mprove the performances by: (1 ) f k max( T ) 1 k 1 T ( 1,2,, d) Accordng to Pareto s 80/20 Law, 20% of the codes n a program take up 80% of the total runnng tme, so the value of α s set to 80% [19] n ths paper. And the average executon tme for SqurrelFsh Extreme byte codes s 10 tmes hgher than that for the machne codes [12, 18], so f s set to 10 and β to 20%. Equaton (13) s converted nto: (12) (13) 180 Copyrght c 2014 SERSC

11 0.48 k 1 k max( T ) 1 T ( 1,2,, d) The parallel executon effcency can sgnfcantly exceed that of JIT acceleraton only f the seral JavaScrpt program can be executed n parallel at the maxmum. Durng value settngs of Equaton (13), the value of Parameter depends on the seekng effcency of hotspots and ts subsequent executon frequency of ts JavaScrpt program hotspots whle the actual value of β s absolutely possble to exceed 1 [20]. No general theores can be used at present to carry out quanttatve analyss for mprovng the parallelzaton performances of seral JavaScrpt program, so t s requred to perform expermental statstcs for the common Web applcatons n order to analyze the performance mprovement due to parallel JavaScrpt executon engne Expermental Analyss (4) Fgure 8. The Comparatve Chart of Test Performances on World Top 15 Webstes at Traffc Volume The experment n ths paper was based on the embedded network set-top box and the tests were conducted on the general test platform Sunspder of 15 webstes wth dfferent busness types as well as ndustral felds. Fgure 8 shows the comparatve chart of performance tests on world top 15 webstes wth maxmum traffc volumes, where JIT acceleraton ndcates unobvous effects on the actual webstes, the average performances are rased by 5.43% and JIT acceleraton even reduces the performances on some webstes. Parallel JavaScrpt executon engne can sgnfcantly mprove performances; comparng wth seral JavaScrpt Copyrght c 2014 SERSC 181

12 executon engne wthout JIT acceleraton, the parallel JavaScrpt engnes wth 2, 4, 8 and 16 threads can mprove the average performances respectvely by 37.07%, 1.36 tmes, 4.08 tmes and 5.92 tmes; comparng wth the seral JavaScrpt executon engne wth JIT acceleraton, the parallel JavaScrpt executon engnes wth 2, 4, 8 and 16 threads can mprove the average performances respectvely by 30.01%, 1.24 tmes, 3.82 tmes and 5.57 tmes. Fgure 9 shows the test results on Sunspder platforms. The characterstcs of JavaScrpt codes better ft the expectaton of JIT optmzaton on Sunspder platforms, so t s usually used as performance test platform for JIT acceleraton. Fgure 9. the Comparatve Chart of Performance Tests on Sunspder Platforms On Sunspder platforms, comparng to the JavaScrpt executon engne wthout JIT acceleraton, JIT acceleraton can mprove the average performances by 1.62 tmes but Sunspder s features are obvously dfferent from the actual Web busness. Comparng to the JavaScrpt executon engne wthout JIT acceleraton, the parallel JavaScrpt executon engnes wth 2, 4, 8 and 16 threads can rase the average performances respectvely by 58.57%, 2.23 tmes, 4.97 tmes and 9.28 tmes; and comparng wth JavaScrpt seral executon engne wth JIT acceleraton, the parallel JavaScrpt executon engnes wth 2, 4, 8 and 16 threads can rase the average performances respectvely by -39.7%, 22.86%, 1.27 tmes and 2.91 tmes. Obvously, the characterstcs of Sunspder are dfferent from that of current manstream Web applcatons and the parallel JavaScrpt executon engnes wth the same degree of parallelsm have dfferent effects on performance promoton for two types of busnesses. For manstream Web applcatons, 16-thread parallelsm and 8-thread parallelsm both have unobvous performance mprovement, but the applcaton of 16 threads on Sunspder nearly doubles performances comparng wth that of 8 threads. Therefore, more-thread parallelsm s not always better whle t requres combnng JavaScrpt task features and dentfyng the maxmum degree of parallelsm under current parallelsm gran sze through experments. 182 Copyrght c 2014 SERSC

13 5. Conclusons As the seral JavaScrpt executon engne fals to utlze mult-core advantages at present, ths paper proposes a desgn method of the parallel JavaScrpt executon engne. The test results from actual Web applcatons and Sunspder platforms ndcate that n the actual Web applcatons, comparng wth a seral JavaScrpt executon engne wthout JIT acceleraton, the parallel JavaScrpt executon engnes wth 2, 4, 8 and 16 threads can rase the performances respectvely by 37.07%, 1.36 tmes, 4.08 tmes and 5.92 tmes; comparng wth a seral JavaScrpt executon engne wth JIT acceleraton, the parallel JavaScrpt executon engnes wth 2, 4, 8 and 16 threads can rase the performances respectvely by 30.01%, 1.24 tmes, 3.82 tmes and 5.57 tmes. On a Sunspder platform, comparng wth a seral JavaScrpt executon engne wthout JIT acceleraton, the parallel JavaScrpt executon engnes wth 2, 4, 8 and 16 threads can rase the performances respectvely by 58.57%, 2.23 tmes, 4.97 tmes and 9.28 tmes, whle comparng wth a seral JavaScrpt executon engne wth JIT acceleraton, the parallel JavaScrpt executon engnes wth 2, 4, 8 and 16 threads can rase the performances respectvely by -39.7%, 22.86%, 1.27 tmes and 2.91 tmes. Ths algorthm utlzes the parallelsm of functon-level and loop-level gran szes at the same tme durng the executon and sgnfcantly mproves the performances of Web busness wth a lot of loops or functon calls, whle current Web busnesses also contan many nonloop or functon-call codes. It s also possble to execute these codes n parallel, so the subsequent study may hghlght the parallelsm research of byte-code gran szes. eanwhle, the parallel JavaScrpt executon engne may generate addtonal memory consumpton. Therefore, the memory optmzaton wll also be the key for future researches. Acknowledgements Thanks to my tutor, from the topcs of papers, wrtng, changes to the draft, condensed tutor's efforts and wsdom, thank the fund support. References [1] G. Garen, Announcng SqurrelFsh [2] Google Inc. A New Crankshaft for V /12/new-crankshaft-for-v8.html. [3] ozllawk. JavaScrpt:Traceonkey JavaScrpt:Traceonkey. [4] A. Gal, B. Ech,. Shaver, D. Anderson, D. andeln,. R. Haghghat and. Franz, Trace-based ust-ntme type specalzaton for dynamc languages, In AC Sgplan Notces, vol. 44, no. 6, (2009), June, pp , AC. [5] WebKt. SunSpder JavaScrpt Benchmark /sunspder-1.0.2/drver.html. [6] Google. V8 Benchmark Sute run.html. [7] J. K. artnsen and H. Grahn, A methodology for evaluatng JavaScrpt executon behavor n nteractve web applcatons, In Proc. of the 9th ACS/IEEE Int l Conf. On Computer Systems and Applcatons, (2011), December, pp [8] P. Ratanaworabhan, B. Lvshts and B. G. Zorn, JS eter: Comparng the behavor of JavaScrpt benchmarks wth real web applcatons, In WebApps 10: Proc. of the 2010 USENIX Conf. on Web Applcaton Development, (2010), pp [9] G. Rchards, S. Lebresne, B. Burg and J. Vtek, An analyss of the dynamc behavor of JavaScrpt programs, In PLDI 10: Proc. of the 2010 AC SIGPLAN Conf. on Programmng Language Desgn and Implementaton, (2010), pp [10] artnsen, J. Kasper, H. Grahn and Anders Isberg, A comparatve evaluaton of JavaScrpt executon behavor, Web Engneerng. Sprnger Berln Hedelberg, (2011), pp [11] E. Fortuna, A lmt study of JavaScrpt parallelsm, Workload Characterzaton (IISWC), 2010 IEEE Internatonal Symposum on. IEEE, (2010). Copyrght c 2014 SERSC 183

14 [12] artnsen, J. Kasper, H. Grahn and A. Isberg, Usng speculaton to enhance avascrpt performance n web applcatons, Internet Computng, IEEE 17.2 (2013), pp [13] artnsen, J. Kasper and H. Grahn, An alternatve optmzaton technque for JavaScrpt engnes, Proceedngs of the Thrd Swedsh Workshop on ult-core Computng (CC-10), (2010). [14] artnsen, J. Kasper and H. Grahn, Thread-level speculaton for web applcatons, Second Swedsh Workshop on ult-core Computng, (2009). [15] Oancea, E. Cosmn, and. Alan, Software thread-level speculaton: an optmstc lbrary mplementaton, Proceedngs of the 1st nternatonal workshop on ultcore software engneerng, AC, (2008). [16] A. Gal, Trace-based ust-n-tme type specalzaton for dynamc languages, AC Sgplan Notces, vol. 44, no. 6, AC, (2009). [17] S. Gupta, SPARK: A hgh-level synthess framework for applyng parallelzng compler transformatons, VLSI Desgn, 2003, Proceedngs, 16th Internatonal Conference on. IEEE, (2003). [18] WebKt, Squrrelfsh bytecode, [19] artnsen, J. Kasper, H. Grahn and A. Isberg, Prelmnary Results of Combnng Thread-Level Speculaton and Just-n-Tme Complaton n Google s V8, Sxth Swedsh Workshop on ultcore Computng (CC- 13), Halmstad Unversty, (2013). [20] artnsen, J. Kasper, H. Grahn and A. Isberg, A comparatve evaluaton of JavaScrpt executon behavor, Web Engneerng, Sprnger Berln Hedelberg, (2011), pp Copyrght c 2014 SERSC

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

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

Loop Transformations, Dependences, and Parallelization

Loop Transformations, Dependences, and Parallelization Loop Transformatons, Dependences, and Parallelzaton Announcements Mdterm s Frday from 3-4:15 n ths room Today Semester long project Data dependence recap Parallelsm and storage tradeoff Scalar expanson

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

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

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

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

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

BIN XIA et al: AN IMPROVED K-MEANS ALGORITHM BASED ON CLOUD PLATFORM FOR DATA MINING

BIN XIA et al: AN IMPROVED K-MEANS ALGORITHM BASED ON CLOUD PLATFORM FOR DATA MINING An Improved K-means Algorthm based on Cloud Platform for Data Mnng Bn Xa *, Yan Lu 2. School of nformaton and management scence, Henan Agrcultural Unversty, Zhengzhou, Henan 450002, P.R. Chna 2. College

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

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

BRDPHHC: A Balance RDF Data Partitioning Algorithm based on Hybrid Hierarchical Clustering

BRDPHHC: A Balance RDF Data Partitioning Algorithm based on Hybrid Hierarchical Clustering 015 IEEE 17th Internatonal Conference on Hgh Performance Computng and Communcatons (HPCC), 015 IEEE 7th Internatonal Symposum on Cyberspace Safety and Securty (CSS), and 015 IEEE 1th Internatonal Conf

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

The Research of Support Vector Machine in Agricultural Data Classification

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

More information

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

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

Assembler. Building a Modern Computer From First Principles.

Assembler. Building a Modern Computer From First Principles. Assembler Buldng a Modern Computer From Frst Prncples www.nand2tetrs.org Elements of Computng Systems, Nsan & Schocken, MIT Press, www.nand2tetrs.org, Chapter 6: Assembler slde Where we are at: Human Thought

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

Learning the Kernel Parameters in Kernel Minimum Distance Classifier

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

More information

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

Configuration Management in Multi-Context Reconfigurable Systems for Simultaneous Performance and Power Optimizations*

Configuration Management in Multi-Context Reconfigurable Systems for Simultaneous Performance and Power Optimizations* Confguraton Management n Mult-Context Reconfgurable Systems for Smultaneous Performance and Power Optmzatons* Rafael Maestre, Mlagros Fernandez Departamento de Arqutectura de Computadores y Automátca Unversdad

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

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

A fast algorithm for color image segmentation

A fast algorithm for color image segmentation Unersty of Wollongong Research Onlne Faculty of Informatcs - Papers (Arche) Faculty of Engneerng and Informaton Scences 006 A fast algorthm for color mage segmentaton L. Dong Unersty of Wollongong, lju@uow.edu.au

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

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

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

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation

Quality Improvement Algorithm for Tetrahedral Mesh Based on Optimal Delaunay Triangulation Intellgent Informaton Management, 013, 5, 191-195 Publshed Onlne November 013 (http://www.scrp.org/journal/m) http://dx.do.org/10.36/m.013.5601 Qualty Improvement Algorthm for Tetrahedral Mesh Based on

More information

Network Intrusion Detection Based on PSO-SVM

Network Intrusion Detection Based on PSO-SVM TELKOMNIKA Indonesan Journal of Electrcal Engneerng Vol.1, No., February 014, pp. 150 ~ 1508 DOI: http://dx.do.org/10.11591/telkomnka.v1.386 150 Network Intruson Detecton Based on PSO-SVM Changsheng Xang*

More information

An Indian Journal FULL PAPER ABSTRACT KEYWORDS. Trade Science Inc.

An Indian Journal FULL PAPER ABSTRACT KEYWORDS. Trade Science Inc. [Type text] [Type text] [Type text] ISSN : 97-735 Volume Issue 9 BoTechnology An Indan Journal FULL PAPER BTAIJ, (9), [333-3] Matlab mult-dmensonal model-based - 3 Chnese football assocaton super league

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

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

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

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

Two-Stage Data Distribution for Distributed Surveillance Video Processing with Hybrid Storage Architecture

Two-Stage Data Distribution for Distributed Surveillance Video Processing with Hybrid Storage Architecture Two-Stage Data Dstrbuton for Dstrbuted Survellance Vdeo Processng wth Hybrd Storage Archtecture Yangyang Gao, Hatao Zhang, Bngchang Tang, Yanpe Zhu, Huadong Ma Bejng Key Lab of Intellgent Telecomm. Software

More information

Analysis on the Workspace of Six-degrees-of-freedom Industrial Robot Based on AutoCAD

Analysis on the Workspace of Six-degrees-of-freedom Industrial Robot Based on AutoCAD Analyss on the Workspace of Sx-degrees-of-freedom Industral Robot Based on AutoCAD Jn-quan L 1, Ru Zhang 1,a, Fang Cu 1, Q Guan 1 and Yang Zhang 1 1 School of Automaton, Bejng Unversty of Posts and Telecommuncatons,

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

An Improved Image Segmentation Algorithm Based on the Otsu Method

An Improved Image Segmentation Algorithm Based on the Otsu Method 3th ACIS Internatonal Conference on Software Engneerng, Artfcal Intellgence, Networkng arallel/dstrbuted Computng An Improved Image Segmentaton Algorthm Based on the Otsu Method Mengxng Huang, enjao Yu,

More information

An IPv6-Oriented IDS Framework and Solutions of Two Problems

An IPv6-Oriented IDS Framework and Solutions of Two Problems An IPv6-Orented IDS Framework and Solutons of Two Problems We LI, Zhy FANG, Peng XU and ayang SI,2 School of Computer Scence and Technology, Jln Unversty Changchun, 3002, P.R.Chna 2 Graduate Unversty of

More information

Remote Sensing Image Retrieval Algorithm based on MapReduce and Characteristic Information

Remote Sensing Image Retrieval Algorithm based on MapReduce and Characteristic Information Remote Sensng Image Retreval Algorthm based on MapReduce and Characterstc Informaton Zhang Meng 1, 1 Computer School, Wuhan Unversty Hube, Wuhan430097 Informaton Center, Wuhan Unversty Hube, Wuhan430097

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

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

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface.

Assembler. Shimon Schocken. Spring Elements of Computing Systems 1 Assembler (Ch. 6) Compiler. abstract interface. IDC Herzlya Shmon Schocken Assembler Shmon Schocken Sprng 2005 Elements of Computng Systems 1 Assembler (Ch. 6) Where we are at: Human Thought Abstract desgn Chapters 9, 12 abstract nterface H.L. Language

More information

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers

Content Based Image Retrieval Using 2-D Discrete Wavelet with Texture Feature with Different Classifiers IOSR Journal of Electroncs and Communcaton Engneerng (IOSR-JECE) e-issn: 78-834,p- ISSN: 78-8735.Volume 9, Issue, Ver. IV (Mar - Apr. 04), PP 0-07 Content Based Image Retreval Usng -D Dscrete Wavelet wth

More information

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

Improved Resource Allocation Algorithms for Practical Image Encoding in a Ubiquitous Computing Environment

Improved Resource Allocation Algorithms for Practical Image Encoding in a Ubiquitous Computing Environment JOURNAL OF COMPUTERS, VOL. 4, NO. 9, SEPTEMBER 2009 873 Improved Resource Allocaton Algorthms for Practcal Image Encodng n a Ubqutous Computng Envronment Manxong Dong, Long Zheng, Kaoru Ota, Song Guo School

More information

High-Boost Mesh Filtering for 3-D Shape Enhancement

High-Boost Mesh Filtering for 3-D Shape Enhancement Hgh-Boost Mesh Flterng for 3-D Shape Enhancement Hrokazu Yagou Λ Alexander Belyaev y Damng We z Λ y z ; ; Shape Modelng Laboratory, Unversty of Azu, Azu-Wakamatsu 965-8580 Japan y Computer Graphcs Group,

More information

An Efficient Genetic Algorithm with Fuzzy c-means Clustering for Traveling Salesman Problem

An Efficient Genetic Algorithm with Fuzzy c-means Clustering for Traveling Salesman Problem An Effcent Genetc Algorthm wth Fuzzy c-means Clusterng for Travelng Salesman Problem Jong-Won Yoon and Sung-Bae Cho Dept. of Computer Scence Yonse Unversty Seoul, Korea jwyoon@sclab.yonse.ac.r, sbcho@cs.yonse.ac.r

More information

Wavefront Reconstructor

Wavefront Reconstructor A Dstrbuted Smplex B-Splne Based Wavefront Reconstructor Coen de Vsser and Mchel Verhaegen 14-12-201212 2012 Delft Unversty of Technology Contents Introducton Wavefront reconstructon usng Smplex B-Splnes

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

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

LLVM passes and Intro to Loop Transformation Frameworks

LLVM passes and Intro to Loop Transformation Frameworks LLVM passes and Intro to Loop Transformaton Frameworks Announcements Ths class s recorded and wll be n D2L panapto. No quz Monday after sprng break. Wll be dong md-semester class feedback. Today LLVM passes

More information

Application of Improved Fish Swarm Algorithm in Cloud Computing Resource Scheduling

Application of Improved Fish Swarm Algorithm in Cloud Computing Resource Scheduling , pp.40-45 http://dx.do.org/10.14257/astl.2017.143.08 Applcaton of Improved Fsh Swarm Algorthm n Cloud Computng Resource Schedulng Yu Lu, Fangtao Lu School of Informaton Engneerng, Chongqng Vocatonal Insttute

More information

The Shortest Path of Touring Lines given in the Plane

The Shortest Path of Touring Lines given in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 262 The Open Cybernetcs & Systemcs Journal, 2015, 9, 262-267 The Shortest Path of Tourng Lnes gven n the Plane Open Access Ljuan Wang 1,2, Dandan He

More information

ENERGY EFFICIENCY OPTIMIZATION OF MECHANICAL NUMERICAL CONTROL MACHINING PARAMETERS

ENERGY EFFICIENCY OPTIMIZATION OF MECHANICAL NUMERICAL CONTROL MACHINING PARAMETERS ENERGY EFFICIENCY OPTIMIZATION OF MECHANICAL NUMERICAL CONTROL MACHINING PARAMETERS Zpeng LI*, Ren SHENG Yellow Rver Conservancy Techncal Insttute, School of Mechancal Engneerng, Henan 475000, Chna. Correspondng

More information

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

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

More information

Positive Semi-definite Programming Localization in Wireless Sensor Networks

Positive Semi-definite Programming Localization in Wireless Sensor Networks Postve Sem-defnte Programmng Localzaton n Wreless Sensor etworks Shengdong Xe 1,, Jn Wang, Aqun Hu 1, Yunl Gu, Jang Xu, 1 School of Informaton Scence and Engneerng, Southeast Unversty, 10096, anjng Computer

More information

Parallelization of a Series of Extreme Learning Machine Algorithms Based on Spark

Parallelization of a Series of Extreme Learning Machine Algorithms Based on Spark Parallelzaton of a Seres of Extreme Machne Algorthms Based on Spark Tantan Lu, Zhy Fang, Chen Zhao, Yngmn Zhou College of Computer Scence and Technology Jln Unversty, JLU Changchun, Chna e-mal: lutt1992x@sna.com

More information

Related-Mode Attacks on CTR Encryption Mode

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

More information

Parallel Inverse Halftoning by Look-Up Table (LUT) Partitioning

Parallel Inverse Halftoning by Look-Up Table (LUT) Partitioning Parallel Inverse Halftonng by Look-Up Table (LUT) Parttonng Umar F. Sddq and Sadq M. Sat umar@ccse.kfupm.edu.sa, sadq@kfupm.edu.sa KFUPM Box: Department of Computer Engneerng, Kng Fahd Unversty of Petroleum

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

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

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

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

Using Fuzzy Logic to Enhance the Large Size Remote Sensing Images

Using Fuzzy Logic to Enhance the Large Size Remote Sensing Images Internatonal Journal of Informaton and Electroncs Engneerng Vol. 5 No. 6 November 015 Usng Fuzzy Logc to Enhance the Large Sze Remote Sensng Images Trung Nguyen Tu Huy Ngo Hoang and Thoa Vu Van Abstract

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

Performance Study of Parallel Programming on Cloud Computing Environments Using MapReduce

Performance Study of Parallel Programming on Cloud Computing Environments Using MapReduce Performance Study of Parallel Programmng on Cloud Computng Envronments Usng MapReduce Wen-Chung Shh, Shan-Shyong Tseng Department of Informaton Scence and Applcatons Asa Unversty Tachung, 41354, Tawan

More information

A new segmentation algorithm for medical volume image based on K-means clustering

A new segmentation algorithm for medical volume image based on K-means clustering Avalable onlne www.jocpr.com Journal of Chemcal and harmaceutcal Research, 2013, 5(12):113-117 Research Artcle ISSN : 0975-7384 CODEN(USA) : JCRC5 A new segmentaton algorthm for medcal volume mage based

More information

Research of Dynamic Access to Cloud Database Based on Improved Pheromone Algorithm

Research of Dynamic Access to Cloud Database Based on Improved Pheromone Algorithm , pp.197-202 http://dx.do.org/10.14257/dta.2016.9.5.20 Research of Dynamc Access to Cloud Database Based on Improved Pheromone Algorthm Yongqang L 1 and Jn Pan 2 1 (Software Technology Vocatonal College,

More information

Maximum Variance Combined with Adaptive Genetic Algorithm for Infrared Image Segmentation

Maximum Variance Combined with Adaptive Genetic Algorithm for Infrared Image Segmentation Internatonal Conference on Logstcs Engneerng, Management and Computer Scence (LEMCS 5) Maxmum Varance Combned wth Adaptve Genetc Algorthm for Infrared Image Segmentaton Huxuan Fu College of Automaton Harbn

More information

Parallel Artificial Bee Colony Algorithm for the Traveling Salesman Problem

Parallel Artificial Bee Colony Algorithm for the Traveling Salesman Problem Parallel Artfcal Bee Colony Algorthm for the Travelng Salesman Problem Kun Xu, Mngyan Jang, Dongfeng Yuan The School of Informaton Scence and Engneerng Shandong Unversty, Jnan, 250100, Chna E-mal: xukun_sdu@163.com,

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

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

Data Representation in Digital Design, a Single Conversion Equation and a Formal Languages Approach

Data Representation in Digital Design, a Single Conversion Equation and a Formal Languages Approach Data Representaton n Dgtal Desgn, a Sngle Converson Equaton and a Formal Languages Approach Hassan Farhat Unversty of Nebraska at Omaha Abstract- In the study of data representaton n dgtal desgn and computer

More information

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices

An Application of the Dulmage-Mendelsohn Decomposition to Sparse Null Space Bases of Full Row Rank Matrices Internatonal Mathematcal Forum, Vol 7, 2012, no 52, 2549-2554 An Applcaton of the Dulmage-Mendelsohn Decomposton to Sparse Null Space Bases of Full Row Rank Matrces Mostafa Khorramzadeh Department of Mathematcal

More information

Application of Clustering Algorithm in Big Data Sample Set Optimization

Application of Clustering Algorithm in Big Data Sample Set Optimization Applcaton of Clusterng Algorthm n Bg Data Sample Set Optmzaton Yutang Lu 1, Qn Zhang 2 1 Department of Basc Subjects, Henan Insttute of Technology, Xnxang 453002, Chna 2 School of Mathematcs and Informaton

More information

Outline. Digital Systems. C.2: Gates, Truth Tables and Logic Equations. Truth Tables. Logic Gates 9/8/2011

Outline. Digital Systems. C.2: Gates, Truth Tables and Logic Equations. Truth Tables. Logic Gates 9/8/2011 9/8/2 2 Outlne Appendx C: The Bascs of Logc Desgn TDT4255 Computer Desgn Case Study: TDT4255 Communcaton Module Lecture 2 Magnus Jahre 3 4 Dgtal Systems C.2: Gates, Truth Tables and Logc Equatons All sgnals

More information

Machine Learning. Topic 6: Clustering

Machine Learning. Topic 6: Clustering Machne Learnng Topc 6: lusterng lusterng Groupng data nto (hopefully useful) sets. Thngs on the left Thngs on the rght Applcatons of lusterng Hypothess Generaton lusters mght suggest natural groups. Hypothess

More information

Journal of Chemical and Pharmaceutical Research, 2014, 6(10): Research Article. Study on the original page oriented load balancing strategy

Journal of Chemical and Pharmaceutical Research, 2014, 6(10): Research Article. Study on the original page oriented load balancing strategy Avalable onlne www.jocpr.com Journal of hemcal and Pharmaceutcal Research, 2014, 6(10):274-280 Research Artcle IN : 0975-7384 ODEN(UA) : JPR5 tudy on the orgnal page orented load balancng strategy Kunpeng

More information

Space-Optimal, Wait-Free Real-Time Synchronization

Space-Optimal, Wait-Free Real-Time Synchronization 1 Space-Optmal, Wat-Free Real-Tme Synchronzaton Hyeonjoong Cho, Bnoy Ravndran ECE Dept., Vrgna Tech Blacksburg, VA 24061, USA {hjcho,bnoy}@vt.edu E. Douglas Jensen The MITRE Corporaton Bedford, MA 01730,

More information

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming

Kent State University CS 4/ Design and Analysis of Algorithms. Dept. of Math & Computer Science LECT-16. Dynamic Programming CS 4/560 Desgn and Analyss of Algorthms Kent State Unversty Dept. of Math & Computer Scence LECT-6 Dynamc Programmng 2 Dynamc Programmng Dynamc Programmng, lke the dvde-and-conquer method, solves problems

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

Fast Computation of Shortest Path for Visiting Segments in the Plane

Fast Computation of Shortest Path for Visiting Segments in the Plane Send Orders for Reprnts to reprnts@benthamscence.ae 4 The Open Cybernetcs & Systemcs Journal, 04, 8, 4-9 Open Access Fast Computaton of Shortest Path for Vstng Segments n the Plane Ljuan Wang,, Bo Jang

More information

An Image Compression Algorithm based on Wavelet Transform and LZW

An Image Compression Algorithm based on Wavelet Transform and LZW An Image Compresson Algorthm based on Wavelet Transform and LZW Png Luo a, Janyong Yu b School of Chongqng Unversty of Posts and Telecommuncatons, Chongqng, 400065, Chna Abstract a cylpng@63.com, b y27769864@sna.cn

More information

HCMX: AN EFFICIENT HYBRID CLUSTERING APPROACH FOR MULTI-VERSION XML DOCUMENTS

HCMX: AN EFFICIENT HYBRID CLUSTERING APPROACH FOR MULTI-VERSION XML DOCUMENTS HCMX: AN EFFICIENT HYBRID CLUSTERING APPROACH FOR MULTI-VERSION XML DOCUMENTS VIJAY SONAWANE 1, D.RAJESWARA.RAO 2 1 Research Scholar, Department of CSE, K.L.Unversty, Green Felds, Guntur, Andhra Pradesh

More information

Chinese Word Segmentation based on the Improved Particle Swarm Optimization Neural Networks

Chinese Word Segmentation based on the Improved Particle Swarm Optimization Neural Networks Chnese Word Segmentaton based on the Improved Partcle Swarm Optmzaton Neural Networks Ja He Computatonal Intellgence Laboratory School of Computer Scence and Engneerng, UESTC Chengdu, Chna Department of

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

Parallel matrix-vector multiplication

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

More information

On Some Entertaining Applications of the Concept of Set in Computer Science Course

On Some Entertaining Applications of the Concept of Set in Computer Science Course On Some Entertanng Applcatons of the Concept of Set n Computer Scence Course Krasmr Yordzhev *, Hrstna Kostadnova ** * Assocate Professor Krasmr Yordzhev, Ph.D., Faculty of Mathematcs and Natural Scences,

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

Agenda & Reading. Simple If. Decision-Making Statements. COMPSCI 280 S1C Applications Programming. Programming Fundamentals

Agenda & Reading. Simple If. Decision-Making Statements. COMPSCI 280 S1C Applications Programming. Programming Fundamentals Agenda & Readng COMPSCI 8 SC Applcatons Programmng Programmng Fundamentals Control Flow Agenda: Decsonmakng statements: Smple If, Ifelse, nested felse, Select Case s Whle, DoWhle/Untl, For, For Each, Nested

More information

F Geometric Mean Graphs

F Geometric Mean Graphs Avalable at http://pvamu.edu/aam Appl. Appl. Math. ISSN: 1932-9466 Vol. 10, Issue 2 (December 2015), pp. 937-952 Applcatons and Appled Mathematcs: An Internatonal Journal (AAM) F Geometrc Mean Graphs A.

More information

A Resources Virtualization Approach Supporting Uniform Access to Heterogeneous Grid Resources 1

A Resources Virtualization Approach Supporting Uniform Access to Heterogeneous Grid Resources 1 A Resources Vrtualzaton Approach Supportng Unform Access to Heterogeneous Grd Resources 1 Cunhao Fang 1, Yaoxue Zhang 2, Song Cao 3 1 Tsnghua Natonal Labatory of Inforamaton Scence and Technology 2 Department

More information

PYTHON IMPLEMENTATION OF VISUAL SECRET SHARING SCHEMES

PYTHON IMPLEMENTATION OF VISUAL SECRET SHARING SCHEMES PYTHON IMPLEMENTATION OF VISUAL SECRET SHARING SCHEMES Ruxandra Olmd Faculty of Mathematcs and Computer Scence, Unversty of Bucharest Emal: ruxandra.olmd@fm.unbuc.ro Abstract Vsual secret sharng schemes

More information

Smoothing Spline ANOVA for variable screening

Smoothing Spline ANOVA for variable screening Smoothng Splne ANOVA for varable screenng a useful tool for metamodels tranng and mult-objectve optmzaton L. Rcco, E. Rgon, A. Turco Outlne RSM Introducton Possble couplng Test case MOO MOO wth Game Theory

More information

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

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

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

More information

Optimal Design of Nonlinear Fuzzy Model by Means of Independent Fuzzy Scatter Partition

Optimal Design of Nonlinear Fuzzy Model by Means of Independent Fuzzy Scatter Partition Optmal Desgn of onlnear Fuzzy Model by Means of Independent Fuzzy Scatter Partton Keon-Jun Park, Hyung-Kl Kang and Yong-Kab Km *, Department of Informaton and Communcaton Engneerng, Wonkwang Unversty,

More information

A Clustering Algorithm for Key Frame Extraction Based on Density Peak

A Clustering Algorithm for Key Frame Extraction Based on Density Peak Journal of Computer and Communcatons, 2018, 6, 118-128 http://www.scrp.org/ournal/cc ISSN Onlne: 2327-5227 ISSN Prnt: 2327-5219 A Clusterng Algorthm for Key Frame Extracton Based on Densty Peak Hong Zhao

More information

Performance Assessment and Fault Diagnosis for Hydraulic Pump Based on WPT and SOM

Performance Assessment and Fault Diagnosis for Hydraulic Pump Based on WPT and SOM Performance Assessment and Fault Dagnoss for Hydraulc Pump Based on WPT and SOM Be Jkun, Lu Chen and Wang Zl PERFORMANCE ASSESSMENT AND FAULT DIAGNOSIS FOR HYDRAULIC PUMP BASED ON WPT AND SOM. Be Jkun,

More information