new grid scheduling and rescheduling methods · today: globus •developed by ian foster and carl...

47
New Grid Scheduling and Rescheduling Methods Within the GrADS Project* *Sponsored by NSF NGS Ken Kennedy Center for High Performance Software Rice University http://www.cs.rice.edu/~ken/Presentations/GrADS-IPDPS04.pdf

Upload: others

Post on 03-Jun-2020

1 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

New Grid Scheduling andRescheduling Methods

Within the GrADS Project**Sponsored by NSF NGS

Ken KennedyCenter for High Performance Software

Rice University

http://www.cs.rice.edu/~ken/Presentations/GrADS-IPDPS04.pdf

Page 2: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Principal Investigators

Francine Berman, UCSDAndrew Chien, UCSDKeith Cooper, Rice

Jack Dongarra, TennesseeIan Foster, Chicago

Dennis Gannon, IndianaLennart Johnsson, Houston

Ken Kennedy, RiceCarl Kesselman, USC ISI

John Mellor-Crummey, RiceDan Reed, UIUC

Linda Torczon, RiceRich Wolski, UCSB

Page 3: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Other Contributors

Dave Angulo, ChicagoHenri Casanova, UCSDWahid Chrabakh, UCSB

Holly Dail, UCSDAnshu Dasgupta, Rice

Wei Deng, UIUCSridhar Gullapalli, USC ISI

Charles Koelbel, RiceBo Liu, UH

Xin Liu, UCSDAnirban Mandal, RiceGabriel Marin, Rice

Mark Mazina, RiceCelso Mendes, UIUCDragan Mirkovic, UHAlex Olugbile, UCSD

Mitul Patel, UHZhiao Shi, TennesseeOtto Sievert, UCSD

Martin Swany, DelawareSathish Vadhiyar, TennesseeShannon Whitmore, UIUC

Huaxia Xia, UCSDAsim YarKhan, Tennessee

Page 4: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

National Distributed Problem Solving

Database

SupercomputerSupercomputer

Database

SupercomputerSupercomputer

Page 5: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADS Vision

• Build a National Problem-Solving System on the Grid—Transparent to the user, who sees a problem-solving system

• Software Support for Application Development on Grids—Goal: Design and build programming systems for the Grid that

broaden the community of users who can develop and runapplications in this complex environment

• Challenges:—Presenting a high-level application development interface

– If programming is hard, the Grid will not not reach its potential—Designing and constructing applications for adaptability—Late mapping of applications to Grid resources—Monitoring and control of performance

– When should the application be interrupted and remapped?

Page 6: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Today: Globus

• Developed by Ian Foster and Carl Kesselman—Grew from the I-Way (SC-95)

• Basic Services for distributed computing—Resource discovery and information services—User authentication and access control—Job initiation—Communication services (Nexus and MPI)

• Applications are programmed by hand—Many applications—User responsible for resource mapping and all communication

– Existing users acknowledge how hard this is

Page 7: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Today: Condor

• Support for matching application requirements to resources—User and resource provider write ClassAD specifications—System matches ClassADs for applications with ClassADs for

resources– Selects the “best” match based on a user-specified priority

—Can extend to Grid via Globus (Condor-G)

• What is missing?—User must handle application mapping tasks—No dynamic resource selection—No checkpoint/migration (resource re-selection)—Performance matching is straightforward

– Priorities coded into ClassADs

Page 8: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADS Strategy

• Goal: Reduce work of preparing an application for Grid execution—Provide generic versions of key components currently built in to

applications– E.g., scheduling, application launch, performance monitoring

• Key Issue: What is in the application and what is in thesystem?—GrADS: Application = configurable object program

– Code, mapper, and performance modeler

Page 9: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADS Strategy

• Approach: Define “Configurable Object Program” to describeapplication, separate out system concerns—Code

– Today: DAGs of MPI programs; tomorrow: components & moregeneral representations

—Mapper– Given a set of resources, maps computation to those resources

—Performance Model– Given a set of resources and mapping, estimates performance– Serves as objective function for system Resource

Negotiator/Scheduler

• Automatically construct mappers and performance models

Page 10: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Configurable Object Program

• Goal: Provide minimum needed to automate resource selectionand program launch

• Code—Today: MPI program—Tomorrow: more general representations

• Mapper—Defines required resources and affinities to specialized resources—Given a set of resources, maps computation to those resources

– “Optimal” performance, given all requirements met

• Performance Model—Given a set of resources and mapping, estimates performance—Serves as objective function for Resource Negotiator/Scheduler

Page 11: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

ConfigurableApplication

GrADS Program Execution System

GridResources

AndServices

ApplicationManager

(one per app)

Launch

BinderMapping

Sensor Insertion

ContractMonitor

Scheduler/ResourceNegotiator

GrADSInformationRepository

Perf Model

Mapper

Page 12: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

New GrADS Work for 2003-2004

• New Binder—Supports heterogeneous execution, preinstalled components

• New Workflow Scheduler—Supports DAG scheduling using performance models

• Rescheduling—N-N rescheduling based on process migration—N-M rescheduling based on checkpoint and restart

• Experiments—New applications

– EMAN — 3D image reconstruction– Particle-in-cell code for N-N experiments

—MicroGrid used for rescheduling experiments

Page 13: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

New Binder

• Software libraries preinstalled on various resources on Grid—Catalogued in GrADS Information System—Performance models included

• Launcher stages source files along with a script to each of thetarget machines—Script includes sensor insertion, compilation of staged components,

and linking against preinstalled libraries—If component = MPI job

– control is passed back to the application manager and launchproceeds after synchronization

—If component ≠ MPI job– execution proceeds immediately, with notification to the

application manager at the end

Page 14: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Workflow Scheduling

• Many Grid applications can be represented as workflow directedacyclic graphs—Currently these are scheduled using an on-demand scheduler such as

Condor DAGMan—When data movement costs are taken into account, poor schedules

can result– Computations stuck at suboptimal resources

• GrADS performance models provide opportunity to do globalDAG scheduling—Matches most intensive computations to the best resources over the

entire DAG, rather than when tasks become ready—Significant performance advantages obtained

Page 15: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADS:Workflow and New Binder/Launcher

ContractMonitor

Application

Launch

New Binderconfigure/compile/link

Perf Mon Setup

Scheduler (MPI)

ApplicationManager

(one per component)

WorkflowScheduler

GridResources

andServices

GrADSInformationRepository

COPPerf Model

Mapper

DAG WorkflowEngine

Page 16: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

• Simulation results for workflow completion times for different“Montage” workflows

• Improvement of >20% for homogeneous platform

Homogeneous Platform

0

50000

100000

150000

200000

250000

300000

350000

400000

Workflow with 157 jobs Workflow with 2047 jobs

Different Workflows

Wo

rkfl

ow

Co

mp

leti

on

Tim

e

min-min

max-min

sufferage

random

Heuristic Workflow Scheduling: Results

Preliminary results from joint work with Ewa Deelman et. al. at USC ISI

Page 17: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

• By using heuristic workflow scheduling, workflow completion timesimprove by an order of magnitude[>20 times] over random schedulingfor heterogeneous platform

• Workflow completion time is within 10% of that using a veryexpensive AI scheduler that doesn’t scale to 2047 jobs

Heterogeneous Platform: 2047 jobs

0

1000000

2000000

3000000

4000000

5000000

6000000

7000000

8000000

9000000

Workflow with 2047 jobs

Wo

rkfl

ow

Co

mp

leti

on

Tim

e

min-min

max-min

sufferage

random

Heterogeneous Platform: 157 jobs

0

100000

200000

300000

400000

500000

600000

700000

800000

Workflow with 157 jobs

Wo

rkfl

ow

Co

mp

leti

on

Tim

e

min-min

max-min

sufferage

random

Heuristic Workflow Scheduling: Results

Page 18: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADSoft Architecture

Config-urableObject

Program

Execution EnvironmentProgram Preparation SystemPerformance

Feedback

Whole-ProgramCompiler

Libraries

SourceAppli-cation

SoftwareComponents

Binder

PerformanceProblem

Real-timePerformance

Monitor

ResourceNegotiator

Scheduler

GridRuntimeSystem

Negotiation

Page 19: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADSoft Architecture

Whole-ProgramCompiler

LibrariesBinder

Real-timePerformance

Monitor

PerformanceProblem

ResourceNegotiator

Scheduler

GridRuntimeSystem

SourceAppli-cation

Config-urableObject

Program

SoftwareComponents

Performance Feedback

Negotiation

Page 20: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADSoft Architecture

Program Preparation System

Whole-ProgramCompiler

LibrariesBinder

Real-timePerformance

Monitor

PerformanceProblem

ResourceNegotiator

Scheduler

GridRuntimeSystem

SourceAppli-cation

Config-urableObject

Program

SoftwareComponents

Performance Feedback

Negotiation

Page 21: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Program Preparation Tools

• Goal: provide tools to support the construction of Grid-readyapplications (in the GrADS framework)

• Performance modeling—Challenge: synthesis and integration of performance models

– Combine expert knowledge, trial execution, and scaledprojections

—Focus on binary analysis, derivation of scaling factors

• Mapping—Construction of mappers from parallel programs

– Mapping of task graphs to resources (graph clustering)—Integration of mappers and performance modelers from components

• High-level programming interfaces—Problem-solving systems: integration of components

Page 22: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Program Preparation System

• Goal: provide tools to support the construction of Grid-readyapplications (in the GrADS framework)

• Performance models—Challenge: synthesis and integration of performance models—Approaches: exploit application knowledge, analysis of binaries, test

runs, derivation of scaling factors

• Mappers—Challenges: Construction of mappers from MPI programs and

workflow graphs—Approach: Mapping of task graphs to resources (graph clustering)

• Improved Binder—Challenges: Heterogeneous platforms, instrumentation insertion—Approach: Stage source code rather than binaries

Page 23: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Execution System

• Goal: Provide efficient execution of programs in dynamic Gridenvironments

• Scheduling Workflow Applications— Challenge: Optimally mapping DAGs of heterogeneous processes— Approach: Heuristics based on performance models

• Rescheduling MPI Applications— Challenge: Load balancing tightly-coupled tasks without major application

rewrite— Approach 1: overallocate processors, monitor load, migrate tasks from

loaded to unloaded processors, hijack MPI calls for message re-routing— Approach 2: Detect imbalance, checkpoint computation, restart

• Information Service— Challenge: Manage information about state of the Grid— Approach: Network Weather Service, MDS

Page 24: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Testbeds

• Goal:—Provide vehicle for experimentation with the dynamic components of

the GrADS software framework

• MacroGrid—Collection of processors running Globus and GrADS framework—At all GrADS sites (significant clusters at UCSD, UH, UIUC, UTK)

– IA-32, IA-64, Sparc machines—Permits experimentation with real applications

• MicroGrid—Cluster of processors emulating the Grid—Runs standard Grid software (Globus, Nexus, GrADS middleware)—Permits simulation of varying loads and configurations

– Controlled experiments– Stress GrADS components

Page 25: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Grid Application

Virtual Grid, “MicroGrid”

MicroGrid Software

LAN Workgroup Scalable Cluster Heterogeneous Environment

MicroGrid Enables Deep Study of Grid Dynamics

Page 26: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

MicroGrid Highlights

• Binary Interception enables Transparent Virtualization (SC2000)

• “Virtual time” enables wide range of relative performanceexperiments

• Scalable Packet-level Simulation provides accurate protocolbehavior (SC2003)—Sophisticated Graph Partitioners using Topology and Profile Behavior—Full TCP, Router, OSPF, BGP, etc. modelling

• MicroGrid Simulator validated on wide range of benchmarks andgrid applications (JOGC 2004)

• Released as Open Source (2/03, 7/03, Version 2.4.4. Feb2004)—See http://www-csag.ucsd.edu/

Page 27: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Update: Large-Scale Simulations

• Scalable Grid Simulations Using the Clusters— 128-node Itanium Cluster Simulation Engines (Teragrids)— Large-scale Network Structure Generation and Load Balancing

Experiments– Flat networks of 20,000 routers (OSPF)– Hierarchical networks of 100 AS’s with 200 routers each (BGP

& OSPF)

(Scalable)

(Never done before!)

Execution Time of ScaLapack, Multi-AS

0

20

40

60

80

100

120

140

160

HPROFILE PROFILE HTOP TOP

Exe

cutio

n T

ime(s

eco

nd)

Load Imbalance of SacLapack, Multi-AS

00.10.20.30.40.50.60.70.80.9

1

HPROFILE PROFILE HTOP TOP

Load Im

bala

nce

Page 28: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Rescheduling

• General Issues—Prediction of value of rescheduling

– Cost of reschedule + performance on new resources– Estimate cost of current resources (unloaded)

• N-N Rescheduling—Allocate extra processors—Migration triggered by performance problem—Hijack MPI calls for message re-routing

Page 29: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

N-N Rescheduling

Loadadded

Migrationcomplete

Page 30: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Rescheduling

• General Issues—Prediction of value of rescheduling

– Cost of reschedule + performance on new resources– Estimate cost of current resources (unloaded)

• N-N Rescheduling—Allocate extra processors—Migration triggered by performance problem—Hijack MPI calls for message re-routing

• N-M Rescheduling—Checkpoint computation using library—Determine whether different resources would improve performance—Restart computation on new set of resources (or leave on old)

Page 31: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Performance of N-M Rescheduling

Rescheduler decided not to reschedule—wrong decision!

Page 32: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADSoft Architecture

Execution Environment

Whole-ProgramCompiler

LibrariesBinder

Real-timePerformance

Monitor

PerformanceProblem

ResourceNegotiator

Scheduler

GridRuntimeSystem

SourceAppli-cation

Config-urableObject

Program

SoftwareComponents

Performance Feedback

Negotiation

Page 33: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Applications

• N-body simulation—Particle-particle interaction by direct integration—N-to-N rescheduling: migrating work to unloaded processors

• ScaLAPACK—Linear algebra solver—N-to-M rescheduling: changing number of processors

• GridSAT—Boolean satisfiability: an NP-complete problem useful in circuit

design and verification

• EMAN—Bio-imaging: 3D reconstruction of viruses from electron micrographs—Workflow scheduling: utilizing performance prediction to optimize

mapping

Page 34: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Applications

• N-body simulation—Particle-particle interaction by direct integration—N-to-N rescheduling: migrating work to unloaded processors

• ScaLAPACK—Linear algebra solver—N-to-M rescheduling: changing number of processors

• EMAN—Bio-imaging: 3D reconstruction of viruses from electron micrographs—Workflow scheduling: utilizing performance prediction to optimize

mapping—Automatic performance model construction for both IA-32 and IA-

64 clusters

Page 35: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

A Workflow Application: EMAN

• Applied Workflow Scheduling techniques to a Bio-Imagingapplication called EMAN

• Deals with 3D reconstruction of single particles from electronmicrographs

Electron Micrographs 3D Model

Page 36: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

EMAN Refinement

Preliminary3D ModelPreliminary

3D model

Particles

Electron Micrograph

Refine

Final 3Dmodel

EMAN has been developed at Baylor College of Medicine byResearch group of Wah Chiu and Steven Ludtke {wah,sludtke}@bcm.tmc.edu

Page 37: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

make3d

volume

Start

proc3d

volume

proc2d

classesbymra

make3diterproject3d

classalign2

Parallel componentSeq. component

classesbymra

classesbymraclassalign2

classalign2

make3diter

make3diter

EMAN Cycle• Performance models

automatically constructed• Computationally intensive

resources scheduled tomore powerful clusters

Page 38: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Heuristic Workflow Scheduling: Results

• Simulation results for Workflowcompletion times for different“Montage” workflows

• By using heuristic workflowscheduling, workflow completiontimes improve by an order ofmagnitude[>20 times] overrandom scheduling forheterogeneous platform

• Improvement of >20% forhomogeneous platform

• Workflow completion time iswithin 10% of that using a veryexpensive AI scheduler thatdoesn’t scale to 2047 jobs

Workflow with 157 jobs

0

100000

200000

300000

400000

500000

600000

700000

800000

Homogeneous Platform Heterogeneous Platform

Platforms

Wo

rkfl

ow

Co

mp

leti

on

Tim

e

min-min

max-min

sufferage

random

Workflow with 2047 jobs

0

1000000

2000000

3000000

4000000

5000000

6000000

7000000

8000000

9000000

Homogeneous Platform Heterogeneous Platform

Platforms

Wo

rkfl

ow

Co

mp

leti

on

Tim

e

min-min

max-min

sufferage

random

Page 39: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Execution Cycle

• Configurable Object Program is presented—Space of feasible resources must be defined—Mapping strategy and performance model provided

• Resource Negotiator solicits acceptable resource collections—Performance model is used to evaluate each—Best match is selected and contracted for

• Execution begins—Binder tailors program to resources

– Carries out final mapping according to mapping strategy– Inserts sensors and actuators for performance monitoring

• Contract monitoring is performed continuously during execution—Soft violation detection based on fuzzy logic

Page 40: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

GrADS Program Execution Cycle

Launch

Workflow Engine

Application Manager

Binder

WorkflowScheduler

MPI Scheduler

Grads InformationService

ContractMonitor

COPMapper,

Perf Model

The Grid

Rescheduler

Page 41: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Demo Applications

• ScaLAPACK—LU decomposition of large matrices

• Cactus—Solver for gravitational wave equations—Collaboration with Ed Seidel’s GridLAB

• FASTA—Biological sequence matching on distributed databases

• Smith-Waterman—Another sequence matching application using a strong algorithm

• Tomcatv—Vectorized mesh generation written in HPF

• Satisfiability—An NP-complete problem useful in circuit design and verification

Page 42: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Generation of Mappers

• Start from parallel program—Typically written using a communication library (e.g. MPI)—Can be composed from library components

• Construct a task graph—Vertices represent tasks—Edges represent data sharing

– Read-read: undirected edges– Read-write in any order: directed edges (dependences)– Weights represent volume of communication

—Identify oportunities for pipelining

• Use a clustering algorithm to match tasks to resources—One option: global weighted fusion

Page 43: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Testbeds• Goal:

—Provide vehicle for experimentation with the dynamic components ofthe GrADS software framework

• MacroGrid (Carl Kesselman)—Collection of processors running Globus and GrADS framework

– Consistent software environment—At all 9 GrADS sites (but 3 are used for most experiments)

– Availability listed on web page—Permits experimentation with real applications

• MicroGrid (Andrew Chien)—Cluster of processors (currently Compaq Alphas and x86 clusters)—Runs standard Grid software (Globus, Nexus, GrADS middleware)—Permits simulation of varying loads and configurations

– Stress GrADS components (Performance modeling and control)

Page 44: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Summary

• GrADS Project Goal:—Design and build programming systems for the Grid that broaden

the community of users who can develop and run applications in thiscomplex environment

• Strategy:—Build an execution environment that automates the most difficult

tasks– Map applications to available resources based on performance

models– Transparently manage adapting to varying loads and changing

resources—Automate the process of producing Grid-ready programs

– Generate performance models and mapping strategiesautomatically, if possible

—Construct programs using high-level domain-specific programminginterfaces

http://www.hipersoft.rice.edu/grads/

Page 45: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

Summary

• Goal:—Design and build programming systems for the Grid that broaden

the community of users who can develop and run applications in thiscomplex environment

• Strategy:—Build an execution environment that automates the most difficult

tasks– Maps applications to available resources– Manages adapting to varying loads and changing resources

—Automate the process of producing Grid-ready programs– generate performance models and mapping strategies semi-

automatically—Construct programs using high-level domain-specific programming

interfaces

Page 46: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

VGrADS: Virtual Grid Application DevelopmentSoftware

• Follow-on to GrADS— NSF ITR award started October 1, 2003

• New topics— Programming Tools

– Abstract Parallel Machine– Abstract Component Machine

Like Grid Services or NetSolve or CCA or …– Nitty Gritty:

Binder, Launcher, libraries, performance model generation, …— Execution System

– Vgrids - Virtual Grids Provide structure & scalability via resource abstractions

– Resource Abstraction Classes Resources in same class treated as identical for scheduling, etc.

– Services to applications / programming tools / vgrids Virtualized scheduling and resource selection

Page 47: New Grid Scheduling and Rescheduling Methods · Today: Globus •Developed by Ian Foster and Carl Kesselman —Grew from the I-Way (SC-95) •Basic Services for distributed computing

VGrADS Vision