exploring issues in event-based hpc cloudbursting › events › 2018 › australia... ·...

9
Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayee Senior HPC Support and Training Officer 1

Upload: others

Post on 28-Jun-2020

3 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

Exploring Issues in Event-Based HPC Cloudbursting

Lev Lafayette

Senior HPC Support and Training Officer

1

Page 2: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

HPC and Cloud Use Cases

Standard HPC architecture provides exceptional performance for complex computational tasks and will continue to dominate supercomputing metrics. Numerous studies over time have shown that there is modest overhead in cloud implementations [1,2], along with cost issues [3].

Whilst improvements in overhead are ongoing the major advantage of cloud computing is flexibility and opportunity cost. The particular example of Spartan at the University of Melbourne - where single-node computational tasks dominated - is illustrative [4] for the principles of proportionality and incremental design.

2

Page 3: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

Hybrid HPC-Cloud Models

Two major models are available for internal HPC-cloud hybrids; the chimera model (e.g., University of Melbourne) and the cyborg model (e.g., University of Freiburg). In the former cloud images are deployed as virtual machines and become an HPC partition. In the latter, the resource allocation from job submission allows for user-managed virtual machines [5].

In the chimera model, an option is available for cloudbursting ("elastic computing"), where additional compute can be allocated as part of the job submission system to a specified partition. The Slurm Workload Manager [6], for example, makes use of its a subset of its power-saving feature where the ResumeProgram script equates with bursting.

3

Page 4: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

Internal Cloudbursting

Because the majority of the University of Melbourne's cloud partition infrastructure was sourced from the local allocation of the NeCTAR research cloud [7] it provided a very good test case to experiement with Slurm's elastic computing model; same data-centre, same underlying hardware, same provisioning scripts. Initial testing allowed the entire vHPC partition to be converted to a cloud-bursting model.

Unfortunately, with Spartan's version of Slurm at the time (16.05.3) we discovered a bug [8] whereby the slurmctld would lose the list of excluded nodes and partitions on a `scontrol reconfigure` command and then will treat all nodes as being eligible for power control, neglecting the SuspendExcNodes and starts to suspend them, putting the excluded nodes into a power saving state. Although this was resolved by the Slurm team fairly quickly, it was decided that whilst the cloud-bursting experiment was successful, it was also a risk with additional variables.

4

Page 5: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

External Cloudbursting

A further investigation was carried out for external cloud-bursting, where jobs launch on a specific partition (e.g., `burst`) could be attached to a public cloud. We were approached by the usual suspects to encourage this implementation. However to achieve this completely, a replication of the existing HPCs environment would be required (remote mounting is not feasible), including home or project directories, the Slurm controller daemon and database, LDAP, specialised application installations, etc. Others have noted the need for homogeneous configurations between host HPCs and remote clouds [9]

Proof of concept of external cloud bursting is available [10], and in production it is plausible as subset of an HPC architecture. The method we have explored would involved a wrapper script would contact the active public cloud, spin up a node, copy the necessary data, submit a job on the remote system (using an identical version the application and toolchain), and copy the data back to the HPC, and powerdown the node. Another feasible alternative is the transfer of pre-configured Singularity containers.

5

Page 6: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

Moab/NODUS Cloudbursting

Another option for external cloud-bursting is Moab/NODUS cloudbursting by Adaptive Computing [11]. The principles used by NODUS are similar to the exploration here; a workload queue has an elastic trigger that uses an API key to an template image which then invokes nodes, deploys upon them and potentially cluster nodes simultaneously, completes the job, and transfers the data as necessary. Note that the same issues are raised in this environment that are elsewhere; partitionining has to be strict, replication and transfer times is essential. Notably, Adaptive Computing specifically argues for external cloud-bursting for business reasons rather than technical reasons.

6

Page 7: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

Cloudbursting Ideals vs Reality

If demand is sufficient pre-building specific partitions of worker nodes that are matched can be justified. Specific cases include when capacity is low and a longer-running job (i.e., initialisation is a low percentage of overall runtime) is required with a specific application (low administrative burden). Another usage is minimal replications of an environment specifically for training and teaching purposes, to avoid existing queue-wait times and to ensure that novice users do not interrupt serious research.

The promise of cloudbursting from HPC, of a transparent means of adding on-demand compute nodes with equivalent performance, is very far from from the reality. Not all research and practise provides the successes originally desired, but the discovery of limits and dead-ends is valuable to reduce the change of others following the same path again, and to provide a successful path, via negativa, through a process of elimination.

7

Page 8: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC

References

[1] Philip C. Church, Andrzej Goscinski, IaaS Clouds vs. Clusters for HPC: A Performance Study, CLOUD COMPUTING 2011 : The Second International Conference on Cloud Computing, GRIDs, and Virtualization, pp39-45

[2] Abhishek Gupta, Dejan Milojicic., "Evaluation of HPC Applications on Cloud", 2011 Sixth Open Cirrus Summit, 2011

[3] Aniruddha Marathe, et. al., "A Comparative Study of High-Performance Computing on the Cloud", HPDC '13 Proceedings of the 22nd international symposium on High-performance parallel and distributed computing, 2013, p239-250

[4] Lev Lafayette, Bernard Meade, and David Perry, "OpenStack and HPC Workload Management", in Stig Tefler, "The Crossroads of Cloud and HPC: Exploring OpenStack Cloud Computing for Scientific Worloads", OpenStack Foundation, 2016

[5] Lev Lafayette, Bernd Wiebelt, "Spartan and NEMO: Two HPC-Cloud Hybrid Implementations", 2017 IEEE 13th International Conference on e-Science, 2017

[6] Slurm Elastic Computing, 14 March 2018

https://slurm.schedmd.com/elastic_computing.html

[7] National eResearch Collaboration Tools and Resources (NeCTAR) Final Project Plan. August 2011.

[8] Chris Samuel, Bug in node suspend/resume config code with scontrol reconfigure in 16.05.x (bugzilla #3078), Slurm-Dev Mailing List, 25 September, 2016.

[9] Mohamed Ben Belgacem, Bastien Chopard, "A hybrid HPC/cloud distributed infrastructure: Coupling EC2 cloud resources with HPC clusters to run large tightly coupled multiscale applications", Future Generation Computer Systems Volume 42, p11-21, January 2015.

[10] Apoorve Mohan, Ravi S. Gudimetla, Ata Turk, Sourabh Bollapragada, Rajul Kumar, Jason Hennessey, Evan Weinberg, Dimitri Makrigiorgos, Christopher N. Hill, Gene Cooperman, Peter Desnoyers, Richard Brower and Orran Krieger, "Marrying HPC and Cloud for Long Term Happiness", Supercomputing 2016. http://sc16.supercomputing.org/sc-archive/tech_poster/poster_files/post271s2-file3.pdf

[11] Moab Cloud/NODUS Cloud Bursting, 2018

http://www.adaptivecomputing.com/moab-nodus-cloud-bursting/8

Page 9: Exploring Issues in Event-Based HPC Cloudbursting › events › 2018 › australia... · 2020-01-15 · Exploring Issues in Event-Based HPC Cloudbursting Lev Lafayette Senior HPC