A apresentação está carregando. Por favor, espere

A apresentação está carregando. Por favor, espere

ISPA 2008 APDCT Workshop1 Reinforcement Learning applied to Meta- scheduling in grid environments Bernardo Costa Inês Dutra Marta Mattoso.

Apresentações semelhantes


Apresentação em tema: "ISPA 2008 APDCT Workshop1 Reinforcement Learning applied to Meta- scheduling in grid environments Bernardo Costa Inês Dutra Marta Mattoso."— Transcrição da apresentação:

1 ISPA 2008 APDCT Workshop1 Reinforcement Learning applied to Meta- scheduling in grid environments Bernardo Costa Inês Dutra Marta Mattoso

2 ISPA 2008 APDCT Workshop2 Outline Introduction Algorithms Experiments Conclusions and Future work

3 ISPA 2008 APDCT Workshop3 Introduction Algorithms Experiments Conclusions and Future work

4 ISPA 2008 APDCT Workshop4 Introduction Relevance:  Available grid schedulers usually do not employ a strategy that may benefit a single or multiple users.  Some strategies employ performance information dependent algorithms (pida).  Most works are simulated. Difficulty: monitoring information not reliable due to network latency.

5 ISPA 2008 APDCT Workshop5 Introduction Algorithms Experiments Conclusions and Future work

6 ISPA 2008 APDCT Workshop6 Study of 2 Algorithms (AG) A. Galstyan, K. Czajkowski, and K. Lerman. Resource allocation in the grid using reinforcement learning. In AAMAS, pages 1314– 1315. IEEE, 2004. (MQD) Y. C. Lee and A. Y. Zomaya. A grid scheduling algorithm for bag-of-tasks applications using multiple queues with duplication. 5th IEEE/ACIS International Conference on Computer and Information Science and 1st IEEE/ACIS International Workshop on Component-Based Software Engineering, Software Architecture and Reuse. ICIS-COMSAR, pages 5–10, 2006.

7 ISPA 2008 APDCT Workshop7 What is reinforcement learning? Machine learning technique used to learn behaviours given a series of temporal events. Non-supervised learning. Based on the idea of rewards and punishments.

8 ISPA 2008 APDCT Workshop8 Algorithms AG and MQD use reinforcement learning to associate an efficiency rank to an RMS. Reinforcement learning native to AG. MQD was modified to use this technique to estimate computational power of an RMS. AG allocates RMS in a greedy and probabilistic way. MQD allocates RMS associatively and deterministically.

9 ISPA 2008 APDCT Workshop9 Algorithms Calculating efficiency:  Reward is assigned to RMS that has performance better than average.  Reward can be negative (punishment).  RMS may not change its efficiency value.

10 ISPA 2008 APDCT Workshop10 Algorithms Calculating efficiency:  parameters:  and l   is the importance of the time spent executing a task  affects rewarding.  l is a learning parameter

11 ISPA 2008 APDCT Workshop11 Algorithms AG:  With high prob, associates job to the best available RMS, otherwise, selects randomly. MQD:  Groups of jobs sorted according execution time are associated to an RMS. Most efficient executes the heaviest jobs. Initial allocation to estimate RMS´ efficiency

12 ISPA 2008 APDCT Workshop12 Algorithm AG

13 ISPA 2008 APDCT Workshop13 J1 J3J2J4 J5 J6 J7 J8 J9 R1 E = 0 R2 E = 0 R3 E = 0

14 ISPA 2008 APDCT Workshop14 J4 J5 J6 J7 J8 J9 R1 E = 0 R2 E = 0,3 R3 E = -0,3

15 ISPA 2008 APDCT Workshop15 J7 J8 J9 R1 E = 0,3 R2 E = 0,057 R3 E = 0,51

16 ISPA 2008 APDCT Workshop16 Algorithm MQD

17 ISPA 2008 APDCT Workshop17 J1 40 J3 50 J2 15 J4 30 J5 10 J6 70 J7 20 J8 20 J9 40 R1 E = 0 R2 E = 0 R3 E = 0

18 ISPA 2008 APDCT Workshop18 J1 40 J3 50 J2 15 J4 30 J5 10 J6 70 J7 20 J8 20 J9 40 R1 E = 0 R2 E = 0 R3 E = 0

19 ISPA 2008 APDCT Workshop19 J1 40 J3 50 J4 30 J6 70 J8 20 J9 40 R1 E = 0,3 R2 E = -0,3 R3 E = 0

20 ISPA 2008 APDCT Workshop20 J1 40 J3 50 J8 20 R1 E = 0,09 R2 E = -0,09 R3 E = -0,3

21 ISPA 2008 APDCT Workshop Avg per proc Global Avg

22 ISPA 2008 APDCT Workshop

23

24

25 25 Introduction Algorithms Experiments Conclusions and Future work

26 ISPA 2008 APDCT Workshop26 Experiments GridbusBroker:  No need to install it in other grid sites  Only requirement: ssh access to a grid node  Round-robin scheduler (RR) Limitations:  Does not support job duplication  Imposes a limit on the number of active jobs per RMS

27 ISPA 2008 APDCT Workshop27 Experiments Resources in 6 grid sites:  LabIA: 24 (Torque/Maui)  LCP: 28 (SGE)  Nacad: 16 (PBS PRO)  UERJ: 144 (Condor)  UFRGS: 4 (Torque)  LCC: 44 (Torque)

28 ISPA 2008 APDCT Workshop28 Experiments Objective: study performance of algorithms in a real grid environment. Application: bag-of-tasks. CPU intensive.  Duration between 3 and 8 minutes.

29 ISPA 2008 APDCT Workshop29 Experiments Evaluation criteria:  makespan. Makespan was normalized with respect to RR

30 ISPA 2008 APDCT Workshop30 Experiments Phase I:  Tuning of parameters  and l  500 jobs. Phase II:  Performance of re-scheduling.  Later load increased to 1000 jobs.

31 ISPA 2008 APDCT Workshop31 Experiments One experiment is a run of consecutive executions of RR, AG and MQD. A scenario is a set of experiments with fixed parameters. For each scenario: 15 runs. T-tests to verify statistical difference beteween AG/MQD e RR, with 95% confidence (the results have a normal distribution).

32 ISPA 2008 APDCT Workshop

33 33 Experiments (Phase I)

34 ISPA 2008 APDCT Workshop34 Experiments (Phase II)

35 ISPA 2008 APDCT Workshop35 Introduction Algorithms Experiments Conclusions and Future work

36 ISPA 2008 APDCT Workshop36 Conclusions and Future work Results showed that was possible to achieve optimizations with both AG and MQD wrt RR Experiments validate MQD simulation results found in the literature. Reinforcement learning is a promising technique to classify resources in real grid environments.

37 ISPA 2008 APDCT Workshop37 Conclusions and Future work Study the behavior of AG and MQD with other kinds of applications, e.g., data intensive, with dependencies.

38 ISPA 2008 APDCT Workshop38 Questions?

39 ISPA 2008 APDCT Workshop39 Annex

40 ISPA 2008 APDCT Workshop40 Definições Gerenciador de recursos: sistema que gerencia a submissão e execução de jobs dentro de um domínio específico. Resource Management System (RMS): sinônimo para gerenciador de recursos. Batch job scheduler: escalonador típico de um RMS. Ex: SGE, PBS/Torque.

41 ISPA 2008 APDCT Workshop41 Definições Meta-escalonador: um escalonador que não tem acesso direto aos recursos, mas apenas aos RMS que os gerenciam. Aprendizado por reforço: técnica que induz um agente a tomar decisões por meio de recompensas oferecidas. Makespan: tempo total gasto por um meta- escalonador para finalizar a execução de um conjunto de jobs a ele designado.

42 ISPA 2008 APDCT Workshop42 Definições Job: aplicativo submetido ao grid por um usuário, executado em geral por um RMS. Exemplos de tipos de jobs:  Bag-of-Tasks: jobs que não possuem relação de dependência ou precedência explícita entre si.  Troca de parâmetros (APST): jobs de um mesmo executável que diferenciam-se por um valor de entrada que varia entre as execuções.

43 ISPA 2008 APDCT Workshop43

44 ISPA 2008 APDCT Workshop44


Carregar ppt "ISPA 2008 APDCT Workshop1 Reinforcement Learning applied to Meta- scheduling in grid environments Bernardo Costa Inês Dutra Marta Mattoso."

Apresentações semelhantes


Anúncios Google