Workload Management Massimo Sgaravatto INFN Padova Overview n

  • Slides: 15
Download presentation
Workload Management Massimo Sgaravatto INFN Padova

Workload Management Massimo Sgaravatto INFN Padova

Overview n Goal: define and implement a suitable architecture for distributed scheduling and resource

Overview n Goal: define and implement a suitable architecture for distributed scheduling and resource management in a GRID environment n Large heterogeneous environment n n n PC farms and not supercomputers used in HEP Large numbers (thousands) of independent users in many different sites Different applications with different requirements n HEP Monte Carlo productions, reconstructions and production analyses n n n HEP individual physics analyses n n n “Scheduled” activities Goal: throughput maximization … “Chaotic”, non-predictable activities Goal: latency minimization

Overview n Many challenging issues : n n n n n Optimizing the choice

Overview n Many challenging issues : n n n n n Optimizing the choice of execution location based on the availability of data, computation and network resources Optimal co-allocation and advance reservation of CPU, data, network Uniform interface to different local resource management systems Priorities, policies on resource usage Reliability Fault tolerance Scalability … INFN responsibility in Data. Grid

Tasks n Job resource specification and job description n Method to define and publish

Tasks n Job resource specification and job description n Method to define and publish the resources required by a job Job control language (command line tool, API, GUI) Partitioning programs for parallel execution n “Decomposition” of single jobs in multiple, “smaller” jobs that can be executed in parallel n Exploitation of task and data parallelism

Tasks n Scheduling n n Definition and implementation of scheduling policies to find the

Tasks n Scheduling n n Definition and implementation of scheduling policies to find the best match between job requirements and available resources Co-allocation and advance reservation Resource management Services n Authentication, authorization, bookkeeping, accounting, logging,

Effort breakdown (mm) INFN Funded Unfunded 216 184 400 0 108 DATAMAT 108 CESnet

Effort breakdown (mm) INFN Funded Unfunded 216 184 400 0 108 DATAMAT 108 CESnet 72 72 144 PPARC 0 18 18 396 274 670

Workload Management in the INFN-GRID project n Integration, adaptation and deployment of middleware developed

Workload Management in the INFN-GRID project n Integration, adaptation and deployment of middleware developed within the Data. Grid project n n GRID software must enable physicists to run their jobs using all the available GRID resources in a “transparent” way HEP applications classified in 3 different “classes”, with incremental level of complexity n Workload management system for Monte Carlo productions n n n Workload management system for data reconstruction and production analysis n n n Goal: throughput maximization Implementation strategy: code migration (moving the application where the processing will be performed) Goal: throughput maximization Implementation strategy: code migration + data migration (moving the data where the processing will be performed, and collecting the outputs in a central repository) Workload management system for individual physics analysis n n n “Chaotic” processing Goal: latency minimization Implementation strategy: code migration + data migration + remote data access (accessing data remotely) for client/server applications

First Activities and Results n CMS-HLT use case (Monte Carlo production and reconstruction) analyzed

First Activities and Results n CMS-HLT use case (Monte Carlo production and reconstruction) analyzed in terms of GRID requirements and GRID tools availability n Discussions with Globus team and Condor team n n Good and productive collaborations already in place Definition of a possible high throughput workload management system architecture n n Use of Globus and Condor mechanisms But major developments needed

High throughput workload management system architecture (simplified design) Submit jobs (using Class-Ads) Resource Discovery

High throughput workload management system architecture (simplified design) Submit jobs (using Class-Ads) Resource Discovery Master Grid Information Service (GIS) condor_submit (Globus Universe) Master chooses in which Globus resources the jobs must be submitted Condor-G able to provide reliability Use of Condor tools for job monitoring, logging, … Other info Information on characteristics and status of local resources Condor-G globusrun Globus GRAM as uniform interface to different local resource management systems Local Resource Management Systems Farms Site 1 Globus GRAM CONDOR LSF PBS Site 2 Site 3

First Activities and Results n On going activities in putting together the various building

First Activities and Results n On going activities in putting together the various building blocks n Globus deployment n n n INFNGRID distribution toolkit to make Globus deployment easier and more automatic INFN customizations Evaluation of Globus GRAM n n Tests with job submissions on remote resources Globus GRAM as uniform interface to different underlying resource management systems (LSF, Condor, PBS) Evaluation of Globus RSL as uniform language to describe resources “Cooperation” between GRAM and GIS

First Activities and Results n Evaluation of Condor-G n It works, but some problems

First Activities and Results n Evaluation of Condor-G n It works, but some problems must be fixed: n n n Very difficult to understand about errors Problems with log files Problems with scalability in the submitting machine Condor-G is not able to provide fault tolerance and robustness (because Globus doesn’t provide these features) n Fault tolerance only in the submitting side Condor team is already working to fix some of these problems n They are also implementing a new Globus jobmanager

First activities and results n Tests with a real CMS MC production n n

First activities and results n Tests with a real CMS MC production n n Real applications (Pythia) Real production environments n n Jobs submitted from Padova using Condor-G and executed in Bologna and Pisa Many memory leaks found in the Globus jobmanager !!! n Fixes provided by Francesco Prelz

Layout for CMS production Submit jobs Production manager (Ivano Lippi – Padova) condor_submit (Globus

Layout for CMS production Submit jobs Production manager (Ivano Lippi – Padova) condor_submit (Globus Universe) Condor-G Padova globusrun Local Resource Management Systems Globus GRAM CONDOR LSF Farms Bologna Pisa

Some next steps n n Evaluation of the new Globus jobmanager and the new

Some next steps n n Evaluation of the new Globus jobmanager and the new Condor-G implementations (when ready) Master development !!!

Other info n http: //www. infn. it/grid

Other info n http: //www. infn. it/grid