spruce s pecial pr iority and u rgent c omputing e nvironment advisor demo

13
SPRUCE Special PRiority and Urgent Computing Environment Advisor Demo Nick Trebon University of Chicago Argonne National Laboratory http:// spruce.teragrid.org/

Upload: karma

Post on 22-Jan-2016

34 views

Category:

Documents


0 download

DESCRIPTION

SPRUCE S pecial PR iority and U rgent C omputing E nvironment Advisor Demo. http://spruce.teragrid.org/. Nick Trebon University of Chicago Argonne National Laboratory. Urgent Computing Resource Selection. Given an urgent computation and a deadline - PowerPoint PPT Presentation

TRANSCRIPT

Page 1: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

SPRUCESpecial PRiority and

Urgent Computing Environment

Advisor Demo

Nick TrebonUniversity of Chicago

Argonne National Laboratory

http://spruce.teragrid.org/

Page 2: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 2University of Chicago Argonne National Lab

Urgent Computing Resource Selection

Given an urgent computation and a deadlinehow does one select the “best” resource? “Best”: Resource that provides the configuration most likely to meet the deadline• Configuration: a specification of the runtime parameters for an urgent computation on a given resource Runtime parameters: # cpus, input/output repository, priority, etc.

Cost function (priority): • Normal --> No additional cost• SPRUCE --> Token + intrusiveness to other users

Page 3: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 3University of Chicago Argonne National Lab

Probabilistic Bounds on Total Turnaround Time

• Input Phase: (IQ,IB)

• Resource Allocation Phase: (AQ,AB)

• Execution Phase: (EQ,EB)

• Output Phase: (OQ,OB)

• If each phase is independent, then: Overall bound = IB

+ AB + EB + OB

Overall quantile ≥ IQ * AQ * EQ * OQ

Page 4: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 4University of Chicago Argonne National Lab

IB+AB+EB+OB: File Staging

Delay• Methodology is the same for input/output file staging

• Utilize Network Weather Service to generate bandwidth predictions based upon probe Wolski, et al.: Use MSE as sample variance of a normal distribution to generate upper confidence interval

• Problems? Predicting bandwidth for output file transfers

NWS uses TCP-based probes, transfers utilize GridFTP

Page 5: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 5University of Chicago Argonne National Lab

IB+AB+EB+OB: Resource Allocation Delay

• Normal priority (no SPRUCE) Utilize the existing Queue Bounds Estimation from Time Series (QBETS)

• SPRUCE policies Next-to-run

Modified QBETS - Monte Carlo simulation on previously observed job history

Pre-emption Utilize Binomial Method Batch Predictor (BMPB) to predict bounds based upon preemption history

Other possibilities: elevated priority, checkpoint/restart

Page 6: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 6University of Chicago Argonne National Lab

Resource Allocation Concerns

• Resource allocation bounds are predicted entirely on historical data and not current queue state What if necessary nodes are immediately available?

What if it is clear that the bounds may be exceeded? Example: Higher priority jobs already queued

• Possible solution: Query Monitoring and Discovery Services framework (Globus) to return current queue state

Page 7: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 7University of Chicago Argonne National Lab

IB+RB+EB+OB: Execution Delay

• Approach: Generate empirical bound for a given urgent application on each warm standby resource Utilize BMBP methodology to generate probabilistic bounds Methodology is general and non-parametric

Page 8: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 8University of Chicago Argonne National Lab

Calculating the Composite Probability

• Goal: to determine a probabilistic upper bound for a given configuration

• Approximate approach: query a small subset (e.g., 5) of quantiles for each individual phase and select the combination that results in highest composite quantile with bound < deadline

Page 9: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Advisor Demo

Screenshots

Page 10: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 10University of Chicago Argonne National Lab

Page 11: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 11University of Chicago Argonne National Lab

Page 12: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 12University of Chicago Argonne National Lab

Page 13: SPRUCE S pecial  PR iority and  U rgent  C omputing E nvironment Advisor Demo

Urgent Computing - 13University of Chicago Argonne National Lab