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!

2024 Winter Classic: Meet Team Morehouse

April 17, 2024

Morehouse College? The university is well-known for their long list of illustrious graduates, the rigor of their academics, and the quality of the instruction. They were one of the first schools to sign up for the Winter Read more…

MLCommons Launches New AI Safety Benchmark Initiative

April 16, 2024

MLCommons, organizer of the popular MLPerf benchmarking exercises (training and inference), is starting a new effort to benchmark AI Safety, one of the most pressing needs and hurdles to widespread AI adoption. The sudde Read more…

Quantinuum Reports 99.9% 2-Qubit Gate Fidelity, Caps Eventful 2 Months

April 16, 2024

March and April have been good months for Quantinuum, which today released a blog announcing the ion trap quantum computer specialist has achieved a 99.9% (three nines) two-qubit gate fidelity on its H1 system. The lates Read more…

Mystery Solved: Intel’s Former HPC Chief Now Running Software Engineering Group 

April 15, 2024

Last year, Jeff McVeigh, Intel's readily available leader of the high-performance computing group, suddenly went silent, with no interviews granted or appearances at press conferences.  It led to questions -- what's Read more…

Exciting Updates From Stanford HAI’s Seventh Annual AI Index Report

April 15, 2024

As the AI revolution marches on, it is vital to continually reassess how this technology is reshaping our world. To that end, researchers at Stanford’s Institute for Human-Centered AI (HAI) put out a yearly report to t Read more…

Crossing the Quantum Threshold: The Path to 10,000 Qubits

April 15, 2024

Editor’s Note: Why do qubit count and quality matter? What’s the difference between physical qubits and logical qubits? Quantum computer vendors toss these terms and numbers around as indicators of the strengths of t Read more…

MLCommons Launches New AI Safety Benchmark Initiative

April 16, 2024

MLCommons, organizer of the popular MLPerf benchmarking exercises (training and inference), is starting a new effort to benchmark AI Safety, one of the most pre Read more…

Exciting Updates From Stanford HAI’s Seventh Annual AI Index Report

April 15, 2024

As the AI revolution marches on, it is vital to continually reassess how this technology is reshaping our world. To that end, researchers at Stanford’s Instit Read more…

Intel’s Vision Advantage: Chips Are Available Off-the-Shelf

April 11, 2024

The chip market is facing a crisis: chip development is now concentrated in the hands of the few. A confluence of events this week reminded us how few chips Read more…

The VC View: Quantonation’s Deep Dive into Funding Quantum Start-ups

April 11, 2024

Yesterday Quantonation — which promotes itself as a one-of-a-kind venture capital (VC) company specializing in quantum science and deep physics  — announce Read more…

Nvidia’s GTC Is the New Intel IDF

April 9, 2024

After many years, Nvidia's GPU Technology Conference (GTC) was back in person and has become the conference for those who care about semiconductors and AI. I Read more…

Google Announces Homegrown ARM-based CPUs 

April 9, 2024

Google sprang a surprise at the ongoing Google Next Cloud conference by introducing its own ARM-based CPU called Axion, which will be offered to customers in it Read more…

Computational Chemistry Needs To Be Sustainable, Too

April 8, 2024

A diverse group of computational chemists is encouraging the research community to embrace a sustainable software ecosystem. That's the message behind a recent Read more…

Hyperion Research: Eleven HPC Predictions for 2024

April 4, 2024

HPCwire is happy to announce a new series with Hyperion Research  - a fact-based market research firm focusing on the HPC market. In addition to providing mark 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…

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…

Baidu Exits Quantum, Closely Following Alibaba’s Earlier Move

January 5, 2024

Reuters reported this week that Baidu, China’s giant e-commerce and services provider, is exiting the quantum computing development arena. Reuters reported � 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…

Shutterstock 1179408610

Google Addresses the Mysteries of Its Hypercomputer 

December 28, 2023

When Google launched its Hypercomputer earlier this month (December 2023), the first reaction was, "Say what?" It turns out that the Hypercomputer is Google's t 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…

Leading Solution Providers

Contributors

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…

DoD Takes a Long View of Quantum Computing

December 19, 2023

Given the large sums tied to expensive weapon systems – think $100-million-plus per F-35 fighter – it’s easy to forget the U.S. Department of Defense is a Read more…

China Is All In on a RISC-V Future

January 8, 2024

The state of RISC-V in China was discussed in a recent report released by the Jamestown Foundation, a Washington, D.C.-based think tank. The report, entitled "E Read more…

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…

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…

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…

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…

Intel’s Xeon General Manager Talks about Server Chips 

January 2, 2024

Intel is talking data-center growth and is done digging graves for its dead enterprise products, including GPUs, storage, and networking products, which fell to Read more…

  • arrow
  • Click Here for More Headlines
  • arrow
HPCwire