Research Targets Computational Experiments in the Cloud

By Nicole Hemsoth

July 27, 2011

Conducting computational experiments often requires extensive but oftentimes sporadic compute power. The need for vast resources for shorter bursts of high activity makes building statistical models of systems and related experiments seem like an ideal fit for cloud computing. However, questions remain about the practicality of using cloud resources, especially public clouds, for such work.

A team from St. Andrews University recently tackled a series of questions about how suitable cloud computing and virtualized hardware is for running time-sensitive experiments. When approaching the matter, Ian Gent and Lars Kotthoff imagined that CPU time would not be reliable and that they would not be able to confirm consistent results. For Kotthoff and Gent, it was especially critical to be able to ensure reproducability, thus this was a primary component of their methodology.

The outcome of their investigation demonstrated that while their suspicions were correct in cases where there were several virtual machines running on the same physical hardware, “there is no inherent variation introduced by using virtualized hardware compared to non-virtualized hardware.”

These findings were worth investigating further, so we spent some time talking with Lars Kotthoff from St. Andrews University. Specifically, we wanted to find out about the reliability and reproducability of results of key experiments and how these were priced, especially against the only other alternative–physical hardware.

Some of Kotthoff’s research into the viability of running time sensitive applications on Amazon’s cloud has come from Amazon Web Services. The company has also backed other research projects, including his work on prototyping a system based on the Minion constraint solver that automatically splits and distributes large problems across different machines.

On that note, it should come as no surprise that Kotthoff and Gent were conducting their “experiment on experiments” using Amazon Web Services.

HPCc: Can you describe what led up to this study? What were some of the perceived challenges for running scientific (and computational) experiments on virtualized hardware and were these expected problems present?

Kotthoff: The initial motivation for this study was that we realized that it took us a long time to set up experiments, run them, evaluate them and make sure that they are reproducible. Especially the last point was a particular headache for us because we use sets of machines with different hardware and configurations. We also observed large variations in runtime of the same experiment on the same
machine because of the way CPU caches are shared among several cores.

The way we tried to tackle both of these problems was by running experiments several times and then using statistical methods to evaluate them. This has two main repercussions. First, we are going to need more resources to run experiments. Second, it becomes less important to run them on a set of machines
with the same hardware and software configuration. This is how we had the idea to run experiments in the cloud.

We had previously observed that the clocks of virtual machines running on desktop virtualisation software such as VMWare or VirtualBox were very unreliable. This is what prompted us to do this investigation.

HPCc: Along those lines, can an you provide something of a quick synopsis of your main findings?

Kotthoff:  We found that only for the small types of virtual machines in the Amazon cloud getting reliable CPU timings was a significant problem. For larger types, the reliability becomes as good as on physical hardware or even better. We do of course not know the actual configuration of the hardware of the cloud computing provider, but it is not hard to guess that for the smaller virtual machine type more are running on the same physical hardware and therefore the virtualization overhead is higher and affects the reported CPU times in the virtual machine. The largest type of virtual machine probably corresponds to a physical machine and introduces no measurable additional variability.

HPCc: Describe the reliability and reproducibility angles to your research—what we the outcomes and what does this mean for researchers considering using virtualized hardware?

Kotthoff: Reliability and reproducibility of results is essential for our research. If people compare different methods, there is almost always an empirical evaluation as well. The justification for new research is almost always that it decreases the time needed to solve a problem. If however the measured times are not reliable, the research findings are jeopardised.

This is especially crucial when implementing complex systems that solve artificial intelligence problems. During the implementation, many design decisions have to be made and algorithms have to be chosen. These choices are usually justified by empirical evaluation – either during the implementation itself or based on results reported in the literature.

Our results show that there is no inherent disadvantage to using virtualized resources for such experiments as long as the results are carefully evaluated and statistical methods used to identify outliers and establish confidence in the conclusions drawn from the results.

We believe that using a cloud to run experiments would, in terms of reproducibility of results, take our research to the next level. We can package the entire environment of the experiment as a virtual machine image, make it available to the public and reference it in publications. This makes reproducing our results much easier for other people.

Currently, we describe the hardware and sometimes the software used in experiments, but unless other people happen to have the same hardware, there is a significant barrier to being able to reproduce the exact experiments we ran.

HPCc: Do you think resources that are tailored for computationally intensive workloads like Amazon’s recent HPC offering, Cluster Compute Instances, will solve some of the problems you discuss?

Kotthoff:  That certainly seems to be case from what we saw in our experiments. It might however be “accidental” as virtual machines tailored for computationally intensive workloads tend to run exclusively on a physical machine. If many of those virtual machines with high specifications would run on for example on a single supercomputer, the original problem of a large variability in CPU times might arise again.

HPCc: With the above question in mind, what problems are going to remain semi-permanent hurdles for CPU-heavy workloads in the cloud? Is there hope on the horizon that it will someday compete with native/physical hardware?

Kotthoff:  In my opinion, the major problem at the moment is the cost associated with running large computational experiments in the cloud. The largest type of virtual machine in the Amazon cloud is, in terms of variability of reported CPU times, as good as physical hardware. The cost of running it is relatively high though. For a research group that regularly runs large-scale computational experiments, it would almost always be cheaper to buy physical hardware themselves.

I should point out that we are not so much concerned with the actual performance we get as long as the variability is low. While the virtual machine instances we used did not seem to be significantly slower than physical hardware in general, we did not evaluate this aspect.

HPCc: In what ways (or cases) is it not a good idea to run acomputationally-intensive task on cloud-based resources?

Kotthoff: If the task cannot easily be parallelised and takes a long time to run. Cloud computing has disadvantages over physical hardware in this scenario; for example virtual machines might be shut down without warning and there is no way to access the disk of the terminated instance to recover results. Using cloud-based resources is also a question of the available funds; if there is only a small amount of money available, it might be better to buy and run the experiment on physical hardware.

HPCc: Taking this in another direction, what is the best type of case for running CPU-intensive tasks on cloud resources?

Kotthoff: The best case is probably running a lot of experiments or experiments that can be distributed across many virtual machines easily when there are not enough physical resources available, e.g. impending paper deadline. Provided that the experiment can be made to run in a virtual machine, it is easy to distribute it across virtual machines in the cloud.

You can find out more about Gent and Kotthoff’s experiments here.

Subscribe to HPCwire's Weekly Update!

Be the most informed person in the room! Stay ahead of the tech trends with industry updates delivered to you every week!

Nvidia Showcases Work with Quantum Centers at ISC24

May 13, 2024

With quantum computing surging in Europe, Nvidia took advantage of ISC24 to showcase its efforts working with quantum development centers. Currently, Nvidia GPUs are dominant inside classical systems used for quantum sim Read more…

ISC24: Hyperion Research Predicts HPC Market Rebound after Flat 2023

May 13, 2024

First, the top line: the overall HPC market was flat in 2023 at roughly $37 billion, bogged down by supply chain issues and slowed acceptance of some larger systems (e.g. exascale), according to Hyperion Research’s ann Read more…

Top 500: Aurora Breaks into Exascale, but Can’t Get to the Frontier of HPC

May 13, 2024

The 63rd installment of the TOP500 list is available today in coordination with the kickoff of ISC 2024 in Hamburg, Germany. Once again, the Frontier system at Oak Ridge National Laboratory in Tennessee, USA, retains its Read more…

Harvard/Google Use AI to Help Produce Astonishing 3D Map of Brain Tissue

May 10, 2024

Although LLMs are getting all the notice lately, AI techniques of many varieties are being infused throughout science. For example, Harvard researchers, Google, and colleagues published a 3D map in Science this week that Read more…

ISC Preview: Focus Will Be on Top500 and HPC Diversity 

May 9, 2024

Last year's Supercomputing 2023 in November had record attendance, but the direction of high-performance computing was a hot topic on the floor. Expect more of that at the upcoming ISC High Performance 2024, which is hap Read more…

Processor Security: Taking the Wong Path

May 9, 2024

More research at UC San Diego revealed yet another side-channel attack on x86_64 processors. The research identified a new vulnerability that allows precise control of conditional branch prediction in modern processors.� Read more…

ISC24: Hyperion Research Predicts HPC Market Rebound after Flat 2023

May 13, 2024

First, the top line: the overall HPC market was flat in 2023 at roughly $37 billion, bogged down by supply chain issues and slowed acceptance of some larger sys Read more…

Top 500: Aurora Breaks into Exascale, but Can’t Get to the Frontier of HPC

May 13, 2024

The 63rd installment of the TOP500 list is available today in coordination with the kickoff of ISC 2024 in Hamburg, Germany. Once again, the Frontier system at Read more…

ISC Preview: Focus Will Be on Top500 and HPC Diversity 

May 9, 2024

Last year's Supercomputing 2023 in November had record attendance, but the direction of high-performance computing was a hot topic on the floor. Expect more of Read more…

Illinois Considers $20 Billion Quantum Manhattan Project Says Report

May 7, 2024

There are multiple reports that Illinois governor Jay Robert Pritzker is considering a $20 billion Quantum Manhattan-like project for the Chicago area. Accordin Read more…

The NASA Black Hole Plunge

May 7, 2024

We have all thought about it. No one has done it, but now, thanks to HPC, we see what it looks like. Hold on to your feet because NASA has released videos of wh Read more…

How Nvidia Could Use $700M Run.ai Acquisition for AI Consumption

May 6, 2024

Nvidia is touching $2 trillion in market cap purely on the brute force of its GPU sales, and there's room for the company to grow with software. The company hop Read more…

Hyperion To Provide a Peek at Storage, File System Usage with Global Site Survey

May 3, 2024

Curious how the market for distributed file systems, interconnects, and high-end storage is playing out in 2024? Then you might be interested in the market anal Read more…

Qubit Watch: Intel Process, IBM’s Heron, APS March Meeting, PsiQuantum Platform, QED-C on Logistics, FS Comparison

May 1, 2024

Intel has long argued that leveraging its semiconductor manufacturing prowess and use of quantum dot qubits will help Intel emerge as a leader in the race to de Read more…

Nvidia H100: Are 550,000 GPUs Enough for This Year?

August 17, 2023

The GPU Squeeze continues to place a premium on Nvidia H100 GPUs. In a recent Financial Times article, Nvidia reports that it expects to ship 550,000 of its lat Read more…

Synopsys Eats Ansys: Does HPC Get Indigestion?

February 8, 2024

Recently, it was announced that Synopsys is buying HPC tool developer Ansys. Started in Pittsburgh, Pa., in 1970 as Swanson Analysis Systems, Inc. (SASI) by John Swanson (and eventually renamed), Ansys serves the CAE (Computer Aided Engineering)/multiphysics engineering simulation market. Read more…

Intel’s Server and PC Chip Development Will Blur After 2025

January 15, 2024

Intel's dealing with much more than chip rivals breathing down its neck; it is simultaneously integrating a bevy of new technologies such as chiplets, artificia Read more…

Comparing NVIDIA A100 and NVIDIA L40S: Which GPU is Ideal for AI and Graphics-Intensive Workloads?

October 30, 2023

With long lead times for the NVIDIA H100 and A100 GPUs, many organizations are looking at the new NVIDIA L40S GPU, which it’s a new GPU optimized for AI and g Read more…

Choosing the Right GPU for LLM Inference and Training

December 11, 2023

Accelerating the training and inference processes of deep learning models is crucial for unleashing their true potential and NVIDIA GPUs have emerged as a game- Read more…

Shutterstock 1606064203

Meta’s Zuckerberg Puts Its AI Future in the Hands of 600,000 GPUs

January 25, 2024

In under two minutes, Meta's CEO, Mark Zuckerberg, laid out the company's AI plans, which included a plan to build an artificial intelligence system with the eq Read more…

AMD MI3000A

How AMD May Get Across the CUDA Moat

October 5, 2023

When discussing GenAI, the term "GPU" almost always enters the conversation and the topic often moves toward performance and access. Interestingly, the word "GPU" is assumed to mean "Nvidia" products. (As an aside, the popular Nvidia hardware used in GenAI are not technically... Read more…

Nvidia’s New Blackwell GPU Can Train AI Models with Trillions of Parameters

March 18, 2024

Nvidia's latest and fastest GPU, codenamed Blackwell, is here and will underpin the company's AI plans this year. The chip offers performance improvements from Read more…

Leading Solution Providers

Contributors

Shutterstock 1285747942

AMD’s Horsepower-packed MI300X GPU Beats Nvidia’s Upcoming H200

December 7, 2023

AMD and Nvidia are locked in an AI performance battle – much like the gaming GPU performance clash the companies have waged for decades. AMD has claimed it Read more…

Eyes on the Quantum Prize – D-Wave Says its Time is Now

January 30, 2024

Early quantum computing pioneer D-Wave again asserted – that at least for D-Wave – the commercial quantum era has begun. Speaking at its first in-person Ana Read more…

The GenAI Datacenter Squeeze Is Here

February 1, 2024

The immediate effect of the GenAI GPU Squeeze was to reduce availability, either direct purchase or cloud access, increase cost, and push demand through the roof. A secondary issue has been developing over the last several years. Even though your organization secured several racks... Read more…

The NASA Black Hole Plunge

May 7, 2024

We have all thought about it. No one has done it, but now, thanks to HPC, we see what it looks like. Hold on to your feet because NASA has released videos of wh Read more…

Intel Plans Falcon Shores 2 GPU Supercomputing Chip for 2026  

August 8, 2023

Intel is planning to onboard a new version of the Falcon Shores chip in 2026, which is code-named Falcon Shores 2. The new product was announced by CEO Pat Gel Read more…

GenAI Having Major Impact on Data Culture, Survey Says

February 21, 2024

While 2023 was the year of GenAI, the adoption rates for GenAI did not match expectations. Most organizations are continuing to invest in GenAI but are yet to Read more…

Q&A with Nvidia’s Chief of DGX Systems on the DGX-GB200 Rack-scale System

March 27, 2024

Pictures of Nvidia's new flagship mega-server, the DGX GB200, on the GTC show floor got favorable reactions on social media for the sheer amount of computing po Read more…

How the Chip Industry is Helping a Battery Company

May 8, 2024

Chip companies, once seen as engineering pure plays, are now at the center of geopolitical intrigue. Chip manufacturing firms, especially TSMC and Intel, have b Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire