89 points · by panrobo · 2y ago · 42 comments
HPC development is not your standard dev workflow where your software can be easily developed and tested locally on your laptop.
Most software will requires a proper MPI environment with a parallel file system and (often) a beefy GPU.
Most development on a supercomputer is done on a debug partition. A small subset of the supercomputer reserved for interactive usage. That allows to test the scalability of the program, hunts Heisenbug related to concurrency, access large datasets, etc...
But Debug partitions are problematic: Make it too small and your scientists & devs loose productivity. Make it too large and you are wasting your supercomputer resources to something else than production jobs.
The Cloud solves this issue. You can spawn your cluster, debug and test your jobs, destroy your cluster. You do not need very large scale nor extreme performance, you need flexibility, isolation and interactivity. The Cloud gives you that because of the virtualization.
I’m but a tourist in this domain, but can you dig into this a bit more and compare/contrast w “traditional” development? I presume the MPI you’re talking about is OpenMPI or MPICH, which need to be dealt with directly - but what are the considerations/requirements for a parallel FS? Hardware is hardware, and I guess what you’re saying re: GPUs is that you can’t fake The Real Thing (fair enough), but what other interesting “quirks” do you run into in this HPC env vs non-HPC?
Or if you run into bugs / crashes that needs 1000s of processes or a full scale problem instance to reproduce, god help you and your SLURM queue times.
The parallel FS stuff is mainly to handle large number of nodes streaming data in and out. E.g. a few thousand nodes all reading from data sets or saving checkpoint data.
One big difference you'll see in HPC is large scale, fine grained parallelism. E.g. a lot of nodes simulating some process where you need to resync all the nodes and exchange data between them at each time step. Also checkpointing, i.e. since simulations may take weeks to run, most apps support saving application state to disk periodically so that if something crashes, you'll only lose a few hours or a day of computation. The checkpointing also causes a bunch of FS io since you need to save the application state from all the nodes to storage periodically so you'll see really high io spikes when that happens.
https://www.hpcwire.com/2023/01/26/riken-deploys-virtual-fug...
It looks like they want to make the transition between Fugaku and AWS and vice versa easier.
Yes, and no. As a replacement for a reasonably well used cluster, its going to be super expensive. Something like 3-5x the price.
For providing burst capacity, its significantly cheaper/faster, and can be billed directly.
But would I recommend running your stuff directly on AWS for compute heavy batch processing? no. if you are thinking about hiring machines in a datacenter, then yes.
I think it's a W, so far.
I should have really mentioned your(our) use case, as smallish department without dedicated access to a cluster or people who can run a real steel cluster.
AWS's one click lustre clustre service (FSx) combined with Batch is a really quick and powerful basic HPC cluster.
Before we got bought out, we had planned for creating a "base load" of real steel machines to process the continuous jobs, and spin up the rest of the cluster as and when demand needed
Cloud is cheaper for such a workload, yes. But you still wouldn't want to pay the AWS premium for that.
But I guess nobody ever got fired for choosing AWS.
If you want high speed storage, thats reliable and zero cost to setup (ie doesn't require staff to do) then AWS and spot instances is very much a cheap option.
If you have in house expertise and can knock up a reliable high speed storage cluster (no porting to s3 is not the right option, that takes years and means you can't edit files inline.) then running on one of the other cloud providers is an option.
But they often can't cope with the scale, or don't provide the right support.
> When Fugaku was running on premises, it was “at 95 percent capacity and constantly full,” said Dr. Matsuoka.
E.g. it reportedly cost over $100 million to train GPT 4. My understanding is this was done in a huge number of high performance GPUs, e.g. A100s, etc. So I guess my question then is what would a dedicated "supercomputer" be used for today that couldn't be accomplished on one a more traditional network?
To emphasize, none of these questions are meant to be rhetorical or leading - I honestly don't know and am curious.
One challenge would be deciding on the unit to compare the costs. They could pick cost per Peta/ExaFLOPs.