• No results found

Improving HPC applications scheduling with predictions based on automatically-collected historical data

N/A
N/A
Protected

Academic year: 2021

Share "Improving HPC applications scheduling with predictions based on automatically-collected historical data"

Copied!
29
0
0

Loading.... (view fulltext now)

Full text

(1)

Improving HPC applications scheduling with predictions

based on automatically-collected historical data

Carlos Fenoy Garc´ıa [email protected]

(2)

Index

1 Introduction Introduction Motivation Objectives 2 Proposed Solution HPerf 3 Evaluation Overhead analysis

Applications characterization and workload generation

4 Tests Description Workload High

(3)

Introduction Introduction

Introduction

Supercomputers have increased their resource number in last years

Resource management has become critical to maximise its usage due to resource sharing

The evolution pace of different components is not equal on all the parts: Memory bandwidth evolves slower than processors speed.

Existing resource selection mechanisms only focus on CPUS and Memory. Other limiting resources exist

Interconnect bandwidth Memory bandwidth

(4)

Introduction Introduction

Introduction

Previous work exist to solve the memory bandwidth management issue. The PhD thesis by Francesc Guim introduces the Less Consume selection policy, that considers the memory bandwidth as a new resource.

Less Consume was later validated, porting the policy to a real system and analysing its behaviour.

However, this port was done on MareNostrum 2, a different arquitecture to the one currently available in MareNostrum 3.

This policy requires users to specify the amount of memory bandwidth needed by each job.

(5)

Introduction Motivation

Motivation

Users do not necessarily know the resources used by their applications. The impact of sharing resources on the applications perfomance.

Improvement of monitoring systems enables the collection of multiple metrics per job.

The lack of trusty mechanisms for specifying resources.

(6)

Introduction Objectives

Objectives

Port previous work to a new arquitecture (MareNostrum 3).

Enhance an existing resource selection policy with the usage of historical data to predict the resource usage by jobs.

Aware of shared resources (memory bandwidth)

Historical data collected by a transparent monitoring system ⇓

Data is used in job scheduling

Analyse the behaviour and the benefits of the policy Compare the policy with other existing policies

(7)

Proposed Solution

Index

1 Introduction Introduction Motivation Objectives 2 Proposed Solution HPerf 3 Evaluation Overhead analysis

Applications characterization and workload generation

4 Tests Description Workload High

5 Conclusions

(8)

Proposed Solution HPerf

Historical Performance Data (HPerf)

The system proposed predicts the resources usage of an application based on monitoring information gathered from previous equivalent executions. This system uses a user-provided tag to identify the kind of job.

Combines existing technologies to improve the scheduling of applications: Resource selection policy aware of memory bandwidth (Less Consume) Monitoring system able to collect per job information (PerfMiner) Scheduler and resource management (Slurm)

(9)

Proposed Solution HPerf

Consumable Resources (ConsRes)

(10)

Proposed Solution HPerf

(11)

Proposed Solution HPerf

Historical Performance data (HPerf)

If at the submission time the tag is found, the average of the resource usage will be used as the resource requirements for the job.

If it is not found, the application will run with exclusive execution to favour the monitoring.

(12)

Evaluation

Index

1 Introduction Introduction Motivation Objectives 2 Proposed Solution HPerf 3 Evaluation Overhead analysis

Applications characterization and workload generation

4 Tests Description Workload High

(13)

Evaluation

System analysis

In order be able to analyse the system, the following previous work was done: PerfMiner overhead analysis.

Applications characterization.

Study of the resources used by an application.

Study of the time elapsed per iteration for each application. Workload generation:

A workload generator was chosen due to the unfeasibility of using real production applications.

(14)

Evaluation Overhead analysis

PerfMiner study

Overhead analysis of PerfMiner with two sets of 100 jobs. (CG class D with 64 tasks)

(15)

Evaluation Applications characterization and workload generation

Workload generation: applications characterization

Applications used for the generation of the workload characterized by their use of memory bandwidth:

High

CG class D

Synthetic application with high memory bandwidth usage Medium

CG class C Low

CG class B

(16)

Evaluation Applications characterization and workload generation

Workload generation

The Lublin-Feitelson model was used to generate the workload. Generates 100 jobs

Provides:

Number of cpus (2-64) Job duration

Job arrival time

Combining the workload with the applications list 2 final workloads were obtained: Medium High

high 54 84

medium 27 7

low 19 9

The time limit used for the jobs of the workload was the calculated with the application running standalone.

(17)

Tests

Index

1 Introduction Introduction Motivation Objectives 2 Proposed Solution HPerf 3 Evaluation Overhead analysis

Applications characterization and workload generation

4 Tests Description Workload High

5 Conclusions

(18)

Tests Description

Description

Both workloads (HIGH & MEDIUM) were run with 3 different scheduling policies: ConsRes: Default Slurm scheduling policy. Considers only cpus and memory. LessC: Less Consume policy aware of the memory bandwidth usage per application.

HPerf: Less Consume + Historical Perfomance data. Automatically gets the jobs resource consumption.

With empty database. With preloaded database. For each policy tests were run with:

Unlimited grace time.

(19)

Tests Workload High

HIGH: Unlimited time

CR

HPerf DB

(20)

Tests Workload High

HIGH: Limited grace time

CR

(21)

Tests Workload High

Finishing status

Unlimited

Limited

(22)

Tests Workload High

Slowdown

Unlimited

(23)

Tests Workload High

Waiting time

Unlimited

Limited

(24)

Tests Workload High

CPU usage

Unlimited

(25)

Tests Workload High

Useful CPU usage

(26)

Tests Workload High

Job run time predictability

Unlimited

(27)

Conclusions

Index

1 Introduction Introduction Motivation Objectives 2 Proposed Solution HPerf 3 Evaluation Overhead analysis

Applications characterization and workload generation

4 Tests Description Workload High

5 Conclusions

(28)

Conclusions

Conclusions

The usage of the monitoring data for job scheduling results in better allocation that:

Improves the applications performance. Increases the useful cpu usage. Reduces the shared resources overload. Increases the waiting time.

Avoids users providing information they may not know.

Requires better mechanisms to measure the memory bandwidth to increase the solution performance.

(29)

Improving HPC applications scheduling with predictions

based on automatically-collected historical data

Carlos Fenoy Garc´ıa [email protected]

References

Related documents

It offers a superb experience with personal touch control, an entertainment system, shoulder tanning and a full body cooler.. RECHARG E YO U

Based on the relationship between investor losses and settlements, these large losses are a preliminary indication that credit crisis cases may result in large settlements—

ﻦﯾﻼﮐﻮﻣﺮﺗ ﯽﯾﺎﻣد ﺐﯿﺷ ( ﯽﻣ ﻞﮑﺷ ﯽﻧﺎﻣز مﺮﮔ ﺪﯿﺷرﻮﺧ رﻮﻧ ﻂﺳﻮﺗ سﻮﻧﺎﯿﻗا بآ ﻪﮐ دﺮﯿﮔ ﯽﻣ بآ يﺪﻨﺑ ﻪﯾﻻ ﻪﺑ ﺮﺠﻨﻣ ﻪﮐ ﺪﻨﺷﺎﺑ ﻪﺘﺷاد ﯽﺗراﺮﺣ لدﺎﺒﺗ ﻖﯿﻤﻋ دﺮﺳ يﺎﻬﺑآ ﺎﺑ ﺪﻨﻧاﻮﺘﻧ ﯽﺤﻄﺳ مﺮﮔ

Android user interface can be constructed either by using the tools included with the Eclipse plugin, writing the XML code by hand or by declaring the components within the

Rivaroxaban versus Warfarin in Nonvalvular Atrial Fibrillation (Rivaroxaban Once Daily Oral Direct Factor Xa Inhibition Compared with Vitamin K Antagonism for Prevention

Seminar 8 beginning March 14 th (DUE DATE FOR SECOND ESSAY: for March 17 th seminars, this class shall be conjoined to the last seminar in April: however, ESSAYS MUST BE SUBMITTED

The volume is divided in two (“then and now”) – the first part deals with “Textiles for Clothing and Furnishings: Putting Late Antique Roman Society and Culture on Display”

This does not mean that the article will result in a new interpretation of the ideology of the novel; rather, the article aims to show how the ideology of feminism (Asri