1 / 26

Setting Temporal Constraints in Scientific Workflows

Setting Temporal Constraints in Scientific Workflows. Xiao Liu, Jinjun Chen, Yun Yang CS3: Centre for Complex Software Systems and Services Swinburne University of Technology, Melbourne, Australia {xliu, jchen, yyang}@swin.edu.au. Content. Introduction

Download Presentation

Setting Temporal Constraints in Scientific Workflows

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Setting Temporal Constraints in Scientific Workflows Xiao Liu, Jinjun Chen, Yun Yang CS3: Centre for Complex Software Systems and Services Swinburne University of Technology, Melbourne, Australia {xliu, jchen, yyang}@swin.edu.au

  2. Content • Introduction • Temporal Verification • Temporal QOS Framework • Setting Temporal Constraints in Scientific Workflows • Problem Statement • A probabilistic strategy • Evaluation • Conclusion

  3. Introduction: Temporal Verification • Scientific workflow verification: Structure, Performance, Resource, Authorisation, Cost and Time. • In reality, complex scientific and business processes are normally time constrained. Hence: • Time constraints are often set when they are modelled as scientific workflow specifications. • Temporal consistency states, i.e. the tendency of temporal violations from consistency to inconsistency, need to be verified and treated proactively and accordingly. • Temporal verification is to check the temporal consistency states so as to identify and handle temporal violations.

  4. Temporal QOS Framework • Constraint Setting • Setting temporal constraints according to temporal QOS specifications. • Checkpoint Selection • Selecting necessary and sufficient checkpoints to conduct temporal verification. • Temporal Verification • Verifying the consistency states at selected checkpoints. • Temporal Adjustment • Handling different temporal violations.

  5. Introduction Temporal Verification Temporal QOS Framework Setting Temporal Constraints in Scientific Workflows Problem Statement A probabilistic strategy Evaluation Conclusion Content 5

  6. Problem Statement • Most current work adopts only few overall user specified temporal constraints without considering system performance. • Few overall constraints: not applicable for local verification and control. • User specified constraint: frequent temporal violations, huge exception handling costs.

  7. Two Basic Requirements • Temporal constraints should facilitate both overall coarse-grained control and local fine-grained control. • Coarse-grained constraints refer to those assigned to the entire workflow or workflow segments. • Fine-grained constraints refer to those assigned to individual activities. • Temporal constraints should be well balanced between user requirements and system performance.

  8. Probabilistic Strategy--Assumptions • Two assumptions on activity durations • Assumption 1: The distribution of activity durations can be obtained from workflow system logs. Without losing generality, we assume all the activity durations follow the normal distribution model, which can be denoted as N(µ,σ2) . • Assumption 2: The activity durations are independent to each other. • Exception handling of assumptions : Using normal transformation and correlation analysis, or moreover, ignoring them first and then adding up afterwards.

  9. Probabilistic Strategy--Definitions • Weighted Joint Normal Distribution • Specification of Activity Durations • Probability based Temporal Consistency

  10. Weighted Joint Normal Distribution The motivation for weighted joint normal distribution is to estimate the overall completion time of the entire workflow by aggregating the durations of all individual activities. However, they are not in a simple linear relationship. Our strategy is to model each activity duration as random variables and aggregate them according to four basic control-flow structures, i.e. sequence, iteration, parallelism and choice. Since most workflow process models can be easily built by the compositions of the four building blocks, similarly, we can obtain the weighted joint distribution of most workflow processes. 10

  11. Specification of Activity Durations • Maximum Duration, Mean Duration, Minimum Duration • The 3σrule depicts that for any sample comes from normal distribution model, it has a probability of 99.73% to fall into the range [µ-3 σ, µ+3 σ]. • In our strategy, we have the following specification of activity durations: • Maximum Duration D(ai)= µ+3 σ • Mean Duration M(ai)= µ • Minimum Duration d(ai)= µ-3 σ

  12. Probability based Temporal Consistency

  13. Probabilistic Strategy—Overview

  14. Example: Setting Coarse-grained Constraints Let me check the probability I Want the process be completed in 48 hours The negotiation process

  15. Example: Setting Coarse-grained Constraints Sir, its 70%, do you agree? That’s not good, how about 52 hours Adjust the constraint

  16. Example: Setting Coarse-grained Constraints Then, it increases to 85% Err… how long will it take if I want to have 90% Adjust the probability

  17. Example: Setting Coarse-grained Constraints Ok, that’s the deal! Let’s do it! It will take us 54 hours Negotiation result

  18. Example: Setting Coarse-grained Constraints Ok! But, sir, I need to remind you that this is only a guarantee from statistic sense. If we cannot make it, please blame the guy who comes up with the strategy! Sorry, statistically, no predictions can be 100% sure!

  19. Example: Setting Fine-grained Constrains • Setting fine-grained constraints for individual activities • Assume the probability gained from the last step is θ% that is with a normal percentile of λ. Then the fine-grained constraints for individual activities are (µi +λσi). • For example, if the coarse-grained temporal constraints are of 90% consistency, that is a normal percentile of 1.28, then the fine-grained constraint for activity ai with a distribution of N(µi,σi2) is (µi +1.28σi).

  20. Evaluation—System Environment Overview of SwinDeW-G environment

  21. Step1: Weighted Joint Distribution

  22. Step2: Coarse-grained Constraint • Negotiation for coarse-grained constraint WS~N(6210,2182) 6300s 66% 6360s 75% 6390s 79% 6400s 81% U(WS)=6400s, λ=0.87

  23. Step3: Fine-grained Constraint

  24. Introduction Temporal Verification Temporal QOS Framework Setting Temporal Constraints in Scientific Workflows Problem Statement A probabilistic strategy Evaluation Conclusion Content 24

  25. Conclusion • Temporal verification is important in scientific workflows • Setting temporal constraints is a prior task for temporal verification. Two basic requirements: • User requirements & System performance • Coarse-grained & Fine-grained temporal constraints • A probabilistic setting strategy • Aggregation: Setting coarse-grained constraints • Propagation: Setting fine-grained constraints • Evaluation proves to be effective

  26. The End • Thanks for your patience and attention!

More Related