Presentation is loading. Please wait.

Presentation is loading. Please wait.

George Goulas, Christos Gogos, Panayiotis Alefragis, Efthymios Housos Computer Systems Laboratory, Electrical & Computer Engineering Dept., University.

Similar presentations


Presentation on theme: "George Goulas, Christos Gogos, Panayiotis Alefragis, Efthymios Housos Computer Systems Laboratory, Electrical & Computer Engineering Dept., University."— Presentation transcript:

1 George Goulas, Christos Gogos, Panayiotis Alefragis, Efthymios Housos Computer Systems Laboratory, Electrical & Computer Engineering Dept., University of Patras

2 Scheduling Human Resources Scheduling Problem: Assign a set of ACTIVITIES to a set of RESOURCES given a set of DEMANDS and a set of CONSTRAINTS to produce a set of PRODUCTS(Goods or services) Resources include humans (opposed to computer process scheduling) Upfront knowledge of task details NP-hard/NP-Complete problem, Combinatorial Explosion Problem Domains: Transportation, bus/driver scheduling, airline crew pairing, course /exams timetabling, Production, job-shop scheduling,..

3 SchedScripter Support the creation of Distributed Human Resources Scheduling Applications On a grid infrastructure like the EGEE Using a distributed scheduling application model Supports dynamic component composition guided by the solution process and progress Using open, widely used protocols and implementations for communications and coordination

4 Distributed Scheduling App Pre Processing Sub Problem Selection Strategy Selector Post Processing Finish Subproblem Finish Feedback Alternative Schedule Generators Legality / Regulation Evaluation Cost Calculation Optimization / Solution Selection Scheduling Coordinator Problem Solver Different Problem Solvers

5 SchedScripter Features Scheduling Application Templates based on Distributed Design Patterns Application Coordination using Application Templates or BPEL or ad-hoc Web Services usage Submit web services container as grid jobs on the worker nodes

6 Application Structure WORKER NODE Application Code WORKER NODE Application Code WORKER NODE Application Code WORKER NODE Application Code WORKER NODE Application Code WORKER NODE Application Code WORKER NODE Application Code Registry Application Coordination Workflow Mgmt Bulletin WN Matcher Grid

7 Application Coordination 1/3 Master / Worker Coordination Java implementation of the master/worker distributed design pattern For developers not familiar with WS-*/BPEL Coordinator Bulletin Improver Improver Host Improver Improver Host

8 Application Coordination 2/3 Swarm Pattern (peer-to- peer) Java implementation of p2p design pattern “Master” receives messages and collects final result when ready For developers not familiar with WS-*/BPEL

9 Application Coordination 3/3 BPEL based Coordination WN Matcher Hierarchical Pattern proposed Master BPEL invoking worker BPEL processes Worker BPEL process on single WN Web Services ad-hoc integration Toolkit to assign workload

10 Master Node Registry WS Registry WS Workflow Mgmt WS-Security using Grid X509 Certificates Simple WS Container WN Matcher WS Port Forwarding WS Port Forwarding WS Bulletin WS Bulletin WS Scheduling Application Coordinator Master File Management WS Master File Management WS It can optionally live inside Bulletin or it can use its web services interface Swarm Master Swarm Master BPEL Composite Services User Applications and User Services

11 Worker Node Job Mgmt WS Job Mgmt WS File Mgmt WS File Mgmt WS WN Mgmt WS WN Mgmt WS Job Host WS Job Host WS WS-Security using Grid X509 Certificates Simple WS Container User Defined WS User Defined WS Improver Host MesageBox Improver

12 Exams Timetabling Case Study* Based on an already available examination timetabling application from our team Initial Tests Independent Improvers Parameter Sweep Tournament between Improvers, 50% chance to use best available solution or one of the 2-10 top, synchronous asynchronous Modifiable parameters were the Simulated Annealing meta-heuristic parameters, used in the application * Gogos C., Goulas G., Alefragis P. and Housos E. Pursuit of Better Results for the Examination Timetabling Problem Using Grid Resources, 2009, IEEE Symposium on Computational Intelligence in Scheduling (CI-Sched), Nashville, Tennessee, USA, 30 Mar-2 Apr 2009 (to appear).

13 Results *Best of 100 sequential runs, ~10 min runtime ** Same as sequential, more independent parallel runs *** 1200 sec total runtime, 15 synchronous steps, 30 WNs ProblemSequential*Param. Sweep**Tournament*** Dataset 14.7754.699 Dataset 2385 Dataset 38.9968.5468500 Dataset 416.20415.88414.879 Dataset 52.9292.8232.795 Dataset 625.74025.56525.410 Dataset 74.0873.9753.884 Dataset 87.77774937.440

14 Case Study Experience Easy to use environment 1 week effort to adapt application to SchedScripter Application refactoring to break it into components Create initial solution Improve using parameters, initial solution and specific configuration of meta-heuristics Restart with different initial solution but keep problem in memory (problem loading up to a minute long process) Significant solution quality improvements with grid

15 Solution Quality (Cost function) Progress Sample

16 Conclusions Easy to use framework Java templates for non- BPEL/WS-* -savvy developer Developer provides “strategy” or “coordinator” and “improver” classes EGEE compatible but not limited, runs even on cluster BPEL and web-services support for application coordination BPEL and web services abstractions and “details” could be hard to understand for developers ! EPRs, namespaces, deploy.xml, WSDL files, BPEL engine artifacts, packaging, deployment, partner links,..

17 Future Work Examination timetabling using scatter search is almost ready Develop /adapt various scheduling applications from different scheduling domains Seeking non-scheduling scientific computing applications Adapting SchedScripter for GT4/WSRF is interesting but EGEE middleware compliance is a major choice largest infrastructure we could have access to at the moment !


Download ppt "George Goulas, Christos Gogos, Panayiotis Alefragis, Efthymios Housos Computer Systems Laboratory, Electrical & Computer Engineering Dept., University."

Similar presentations


Ads by Google