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

Slides:



Advertisements
Apresentações semelhantes
Presenter’s Notes Some Background on the Barber Paradox
Advertisements

RCAAP Project João Mendes Moreira, FCCN Berlin 7, Paris, 04/12/2009.
Laboratório de Sistemas Distribuídos (LSD) – Universidade Federal de Campina Grande (UFCG)EELA Grid School – December 04, 2006 Enhancing SegHidro/BRAMS.
São Paulo - November 7, 2013 Measuring the Cost of Formalization in Brazil © 2003 The Ronald Coase Institute Adopting RCI methodology to measure start.
Chapter Six Pipelining
“Pespectiva da Pesquisa Clínica em Pediatria”
Por Dave Batty 3/2012 T Disciplinando alunos no programa Desafio Jovem Teen Challenge Staff Training Course T iTeenChallenge.org.
Portugal – Fraunhofer Gesellschaft Agreement
1 Evaluation of the Multiyear Plan José Paulo Silveira Ministry of Planning, Budget and Management Secretariat for Planning José Paulo Silveira.
Aula prática Introdução ao BPMN
Arquitectura de Computadores II Paulo Marques Departamento de Eng. Informática Universidade de Coimbra 2004/ Multi-Processamento.
Meeting 17 Chapter & 6-6.
Towards a Requirement Analysis Approach for Dependable Law-Governed Systems Maíra Gatti, Gustavo Carvalho May 2nd 2006.
The use of Interaction Laws on Air Traffic Control for Specifying Dependable Interactions Rodrigo Paes
Agents on Social Networks Dárlinton B. F. Carvalho Agosto de 2010.
DIRETORIA ACADÊMICA NÚCLEO DE CIÊNCIAS HUMANAS E ENGENHARIAS DISCIPLINA: INGLÊS FUNDAMENTAL - NOITE PROFESSOR: JOSÉ GERMANO DOS SANTOS PERÍODO LETIVO
Um pouco mais sobre modelos de objetos. Ray Path Categorization Ray Path Categorization. Nehab, D.; Gattass, M. Proceedings of SIBGRAPI 2000, Brazil,
Programação distribuída e paralela (C. Geyer) Globus – introdução e RMS v1 1 Introdução ao Globus.
GT Processo Eletrônico SG Documentos Eletrônicos Segunda reunião – 28/08/2009 Interlegis.
“Capital Budgeting Using
CS 561, Session 6 1 Last time: Problem-Solving Problem solving: Goal formulation Problem formulation (states, operators) Search for solution Problem formulation:
Uniform Resource Identifier (URI). Uniform Resource Identifiers Uniform Resource Identifiers (URI) ou Identificador de Recursos Uniforme provê um meio.
Topic: Prime factors, greatest common factors, lowest common multiples
SECEX SECRETARIA DE COMÉRCIO EXTERIOR MINISTÉRIO DO DESENVOLVIMENTO, INDUSTRIA E COMÉRCIO EXTERIOR BRAZILIAN EXPORTS STATISTICAL DEPURATION SYSTEM Presentation.
CARTOGRAPHIES OF SEGREGATION From Snapshots to Processes and Trajectories Flávia F. Feitosa (UFABC) Antônio Miguel V. Monteiro (INPE) XIV Brazilian Symposium.
Anomalias de Escalonamento
IEEE PES General Meeting, Tampa FL June 24-28, 2007 Conferência Brasileira de Qualidade de Energia Santos, São Paulo, Agosto 5-8, Chapter 3 Harmonic.
Norman de Paula Arruda Filho / ISAE The New Role of Management Education A Brazilian Experience NORMAN DE PAULA ARRUDA FILHO Buenos Aires, 6 de dezembro.
OER LIFE CYCLE Andrew Moore and Tessa Welch.
Ecological Economics Lecture 6 Tiago Domingos Assistant Professor Environment and Energy Section Department of Mechanical Engineering Doctoral Program.
Tópicos Especiais em Aprendizagem Reinaldo Bianchi Centro Universitário da FEI 2012.
Proposta e desenvolvimento de uma arquitetura para obtenção de QoS em uma Grade de serviços Maycon Leone M. Peixoto Profa. Dra. Regina H. C. Santana.
Introdução aos Agentes Autónomos (UD2) Teorias de Agentes e Agentes Deliberativos IST- 2003/2004.
Webots Pedro Pinheiro 12 de Novembro de Webots Pedro Pinheiro 12 de Novembro de 2004 Prepared by: Pedro Pinheiro.
Definição do MoC Subjacente a Aplicação Prof. Dr. César Augusto Missio Marcon Parcialmente extraído de trabalhos de Axel Jantch, Edward Lee e Alberto Sangiovanni-Vincentelli.
Ana Paula de Carvalho1, Anderson A. Ferreira1, 2, Alberto H. F. Laender1, Marcos André Gonçalves1 1 Departamento de Ciência da Computação, Universidade.
Universidade de Brasília Laboratório de Processamento de Sinais em Arranjos 1 Subspace based Multi-Dimensional Model Order Selection in Colored Noise Scenarios.
Universidade de Brasília Laboratório de Processamento de Sinais em Arranjos 1 Adaptive & Array Signal Processing AASP Prof. Dr.-Ing. João Paulo C. Lustosa.
Knowledge Extraction from the Web (ISEWO)
Avaliação Constituição dos grupos de trabalho:
Lecture 4 Pressure distribution in fluids. Pressure and pressure gradient. Hydrostatic pressure 1.
Lecture 2 Properties of Fluids Units and Dimensions 1.
Metodologia de Desenvolvimento de Software Hermano Moura Alexandre Vasconcelos, André Santos, Augusto Sampaio, Hermano Moura, Paulo.
Revisão geral CG 09/10. Introdução Plataformas de processamento paralelo e distribuído Clusters Gerenciadores de recursos (RMS – Resource Management Systems)
Instituto de Engenharia de Sistemas e Computadores Investigação e Desenvolvimento em Lisboa Ontology Building Process: The Wine Domain João Graça, Márcio.
Instituto de Engenharia de Sistemas e Computadores Investigação e Desenvolvimento em Lisboa Understanding Epidemic Quorum Systems INESC-ID Lisbon/Technical.
Faculdade de Ciências Económicas e Empresariais Universidade Católica Portuguesa 15/09/2014Ricardo F Reis 6 th session: Financial Measures.
Ciências Cognitivas e Tecnologia Educacional Scaffolding of Self-Regulated Learning in Social Networks Scaffolding do Aprendizado Auto-Regulado em Redes.
IEEE PES General Meeting, Tampa FL June 24-28, 2007 Conferência Brasileira de Qualidade de Energia Santos, São Paulo, Agosto 5-8, Chapter 5: Harmonic.
Socio-technical approaches for Safety STAMP/STPA
Using innovation models to grow the GLP business Kip Garland innovationSEED October 9 th, 2009.
Revisão geral CG 07/08. Introdução Plataformas de processamento paralelo e distribuído Clusters Gerenciadores de recursos  NQE  SGE  Condor Definições.
Cigré/Brasil CE B5 – Proteção e Automação Seminário Interno de Preparação para a Bienal 2006 Rio de Janeiro, setembro/06.
Equação da Continuidade e Equação de Navier-Stokes
The microarray data analysis
Lei de Cotas: Looking at the Implementation of the Brazilian Employment Quota in São Paulo, Brazil Anna C. O’Kelly.
Chapter 2 Harmonics and Interharmonics Theory
RELATÓRIO CEMEC 06 COMPARAÇÕES INTERNACIONAIS Novembro 2013.
Divisão Serviço da Hora Laboratório Primário de Tempo e Frequência 2010 SIM TFWG Workshop and Planning Meeting March 9 – 12 Lima, Peru. Time Scales Virtual.
Aula Teórica 18 & 19 Adimensionalização. Nº de Reynolds e Nº de Froude. Teorema dos PI’s , Diagrama de Moody, Equação de Bernoulli Generalizada e Coeficientes.
VOCÊ JÁ FALA INGLÊS FLUENTEMENTE?
Faculdade de Ciências Económicas e Empresariais Universidade Católica Portuguesa 17/12/2014Ricardo F Reis 2 nd session: Principal –
Motivação A difícil tarefa de encontrar o conteúdo certo que preciso para as diferentes situações de trabalho…
IEEE PES General Meeting, Tampa FL June 24-28, 2007 Conferência Brasileira de Qualidade de Energia Santos, São Paulo, Agosto 5-8, Chapter 8: Procedure.
Abstract This study aimed to present a survey with the reference values from 254 Brazilian male judokas hand grip strength according to their age, weight.
Visão geral do Aprendizado de máquina
Three analogies to explain reactive power Why an analogy? Reactive power is an essential aspect of the electricity system, but one that is difficult to.
Introduction to density estimation Modelação EcoLÓGICA
The following are the CSD Responses in relation to the IEEE P802
draft-ppsenak-ospf-te-link-attr-reuse-04
Transcrição da apresentação:

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

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

ISPA 2008 APDCT Workshop3 Introduction Algorithms Experiments Conclusions and Future work

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.

ISPA 2008 APDCT Workshop5 Introduction Algorithms Experiments Conclusions and Future work

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– IEEE, (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.

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.

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.

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.

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

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

ISPA 2008 APDCT Workshop12 Algorithm AG

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

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

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

ISPA 2008 APDCT Workshop16 Algorithm MQD

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

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

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

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

ISPA 2008 APDCT Workshop Avg per proc Global Avg

ISPA 2008 APDCT Workshop

25 Introduction Algorithms Experiments Conclusions and Future work

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

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)

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.

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

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.

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).

ISPA 2008 APDCT Workshop

33 Experiments (Phase I)

ISPA 2008 APDCT Workshop34 Experiments (Phase II)

ISPA 2008 APDCT Workshop35 Introduction Algorithms Experiments Conclusions and Future work

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.

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.

ISPA 2008 APDCT Workshop38 Questions?

ISPA 2008 APDCT Workshop39 Annex

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.

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.

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.

ISPA 2008 APDCT Workshop43

ISPA 2008 APDCT Workshop44