Saddling Phi for TACC’s Stampede

By Nicole Hemsoth

May 17, 2013

The Xeon Phi coprocessor might be the new kid on the high performance block, but among all first-rate kickers of Intel’s new tires, the Texas Advanced Computing Center (TACC) got the first real jab with its top ten Stampede system.

Even before the completion of the 6,400-node Dell-built hybrid, the team was able to work with the Knight’s Ferry early platform development, eventually plugging in Knight’s Corner parts last October. Since then, they’ve pushed their 6,880 Phi coprocessors to new programming and performance limits against the flanks of both their Sandy Bridge and NVIDIA GPU capabilities.

One of the practical challenges of experimenting with mixed architectures at a major research center is that there are many users with a broad range of applications. Many of the users are scientists—but not of the computing variety. When Stampede kicked up its first dust at the beginning of the year, it supported more than 600 scientific and engineering projects from over 1,000 researchers. This meant a switch to a new system–and a new learning curve, even if it was offset by some x86 comfort.

On the Phi front, the porting of so many users’ code was relatively simple, which was beneficial in terms of getting up and running, but there’s far more to the story past the pure port. According to TACC Director of Scientific Applications, Dr. Karl Schulz, getting code clicked over to Phi is the relatively easy part (unless they’re reliant on a large number of third party libraries). It’s getting the code optimized that’s the real challenge.

To put this in perspective, with 61 active cores, each supporting four threads, users are looking at 240 threads that the kernel has to scale across. Schulz says what they have to keep reminding users is that if they have a program, say an OpenMP application, and it doesn’t scale well on Sandy Bridge, it’s not going to just miraculously scale on Phi. It may sound simple, but optimization is where the hidden difficulty (ultimate value) lies. Just as with other architectures and GPUs, the real performance can only be met through the same optimization process that supports accelerator performance.

“You can port easily, but the things you do in CUDA to vectorize your code still have to be done for Phi,” he explained. “if you don’t vectorize on MIC, you’re not going to get the insane performance you were hoping for. You have to have well-vectorized code, you still have to think about affinity and processor placement, and you still have to have a kernel that supports high degrees of parallelism.”

Following the emphasis on optimization, Schulz and team came up with a simple, but surprising finding. When users took the time to optimize for Phi thoroughly, they regularly found that they were getting far better performance out of the Sandy Bridge side—meaning that there has been some floating point scrap left on the table that the MIC optimization effort sniffed out.

On the “easy” part of the port-to-Phi equation, Schulz notes that the hype around the ease of moving code to the coprocessor is hard to argue with. “You can just fundamentally compile Fortran code if you want…So in the case of full native offload, for instance, assuming you don’t have a lot of third party library requirements, you take your code, compile the whole thing, and run it on Phi—even completely ignoring Sandy Bridge (in our case) or Ivy Bridge.” He points to a case where his team took a million-line Fortran code and demonstrated this. In short, he says that if code already has reasonably good threaded scaling performance, users can expect reasonably good performance.

There are some other unique programming tales that are being spun on Phi as well. He says the CUDA folks at TACC that have solid experience with GPUs can’t port their code to CUDA directly, of course, but they have already gone through their code to target the parts that GPUs kill on, and these also tend to do well on Phi. For these users, all they need to do is take their CUDA code, write it back to C (even though chances are it’s already in C anyway) and they’re ready to roll with Phi pretty quickly with, again, what Schulz says is “reasonably good performance.”

The most interesting element of programming for Phi that they’re probing at TACC is a different model altogether—it’s not offload or native. Members of his team are essentially working on doing MPI between the host and the MICs. So in theory, if there was an app with the flexibility to support domains that aren’t of equal size (and usually there’s the assumption of equal capability), users spend a lot of time trying to decompose their geometries into equal domains, then farm those out to all the processors. But in the scenario where someone wants to run a part on the Xeon and part on the Phi, the two obviously won’t run at the same speeds. Not just that, the serial portions are going to run much slower on Phi but the things that are vectorized will be be faster. The point is, for those who have the capability to do domain decomposition in a fairly general way, there will be more ease in taking advantage of all the performance possibilities.

With many processors and programming a port away, more experienced users have been able to run micro-benchmarks on their code. While it’s too early give a concrete reference to compare approaches, Schulz says that there are some apps that are a big win for Phi, some where it’s modest (if at all) and in other cases, there are rather dramatic slowdowns—the same of which can be said for any accelerator.

On that note, Schulz says that the need for hybrid programming now is great—but he expects it to be a necessity going forward, especially in the era he predicts will see systems much like TACC’s new beauty that require teaching some old code new tricks.

Schulz did a rather remarkable presentation on the finer points of the TACC system–from the file system to unique cabling with his wife’s hairbands-this is worth a look.

Subscribe to HPCwire's Weekly Update!

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

AWS Expands Worldwide Availability to AMD-based Instances

July 22, 2019

Setting aside potential setbacks caused by U.S. trade policies, the steady cadence of AMD’s revival in HPC and the datacenter continued last week with AWS expanding availability of its AMD Epyc-based instances. Recall Read more…

By Staff

Microsoft Investing $1B in OpenAI Artificial General Intelligence R&D

July 22, 2019

Artificial general intelligence (AGI) is AI’s moonshot, the next giant leap for the AI field. Microsoft regards it to be feasible enough to warrant a $1 billion investment in OpenAI, the not-for-profit research organi Read more…

By Doug Black

Researchers Use Supercomputing to Study Links Between Hurricanes and Climate Change

July 19, 2019

As climate change looms, researchers are scrambling to answer the question of how a warming planet will affect the frequency and severity of already-deadly hurricanes. Now, a team of researchers from the University of Il Read more…

By Oliver Peckham

AWS Solution Channel

Unleashing Seismic Modeling at Scale: We Can’t Stop Quakes, But We Can Be Better Prepared

It has been a scary July so far for many residents of California. A magnitude 6.4 quake struck on July 4 near Ridgecrest (about 194 kilometers northeast of Los Angeles), followed by a magnitude 7.1 quake in the same region on July 5. Read more…

HPE Extreme Performance Solutions

Bring the Combined Power of HPC and AI to Your Business Transformation

A growing number of commercial businesses are implementing HPC solutions to derive actionable business insights, to run higher performance applications and to gain a competitive advantage. Read more…

IBM Accelerated Insights

Visual Capital: Seeing Digital Image and Video Archives as Potential Revenue Streams

As most business owners agree, cash is king. But what if there was a hidden source of revenue that companies are only starting to learn how to exploit? Read more…

San Diego Supercomputer Center to Welcome ‘Expanse’ Supercomputer in 2020

July 18, 2019

With a $10 million dollar award from the National Science Foundation, San Diego Supercomputer Center (SDSC) at the University of California San Diego is procuring a new supercomputer, called Expanse, to be deployed next Read more…

By Staff report

Microsoft Investing $1B in OpenAI Artificial General Intelligence R&D

July 22, 2019

Artificial general intelligence (AGI) is AI’s moonshot, the next giant leap for the AI field. Microsoft regards it to be feasible enough to warrant a $1 billi Read more…

By Doug Black

Informing Designs of Safer, More Efficient Aircraft with Exascale Computing

July 18, 2019

During the process of designing an aircraft, aeronautical engineers must perform predictive simulations to understand how airflow around the plane impacts fligh Read more…

By Rob Johnson

Intel Debuts Pohoiki Beach, Its 8M Neuron Neuromorphic Development System

July 17, 2019

Neuromorphic computing has received less fanfare of late than quantum computing whose mystery has captured public attention and which seems to have generated mo Read more…

By John Russell

Goonhilly Unveils New Immersion-Cooled Platform, Doubles Down on Sustainability Mission

July 16, 2019

Goonhilly Earth Station has opened its new datacenter – an enhancement to its existing tier 3 facility – in Cornwall, England, touting an ambitious commitme Read more…

By Oliver Peckham

ISC19 Cluster Competition: Application Results, Finally!

July 15, 2019

Our exhaustive coverage of the ISC19 Student Cluster Competition continues as we discuss the application scores below. While the scores were typically high, som Read more…

By Dan Olds

Nvidia Expands DGX-Ready AI Program to 19 Countries

July 11, 2019

Nvidia’s DGX-Ready Data Center Program, announced in January and designed to provide colo and public cloud-like options to access the company’s GPU-powered Read more…

By Doug Black

Argonne Team Makes Record Globus File Transfer

July 10, 2019

A team of scientists at Argonne National Laboratory has broken a data transfer record by moving a staggering 2.9 petabytes of data for a research project.  The data – from three large cosmological simulations – was generated and stored on the Summit supercomputer at the Oak Ridge Leadership Computing Facility (OLCF)... Read more…

By Oliver Peckham

Nvidia, Google Tie in Second MLPerf Training ‘At-Scale’ Round

July 10, 2019

Results for the second round of the AI benchmarking suite known as MLPerf were published today with Google Cloud and Nvidia each picking up three wins in the at Read more…

By Tiffany Trader

High Performance (Potato) Chips

May 5, 2006

In this article, we focus on how Procter & Gamble is using high performance computing to create some common, everyday supermarket products. Tom Lange, a 27-year veteran of the company, tells us how P&G models products, processes and production systems for the betterment of consumer package goods. Read more…

By Michael Feldman

Cray, AMD to Extend DOE’s Exascale Frontier

May 7, 2019

Cray and AMD are coming back to Oak Ridge National Laboratory to partner on the world’s largest and most expensive supercomputer. The Department of Energy’s Read more…

By Tiffany Trader

Graphene Surprises Again, This Time for Quantum Computing

May 8, 2019

Graphene is fascinating stuff with promise for use in a seeming endless number of applications. This month researchers from the University of Vienna and Institu Read more…

By John Russell

AMD Verifies Its Largest 7nm Chip Design in Ten Hours

June 5, 2019

AMD announced last week that its engineers had successfully executed the first physical verification of its largest 7nm chip design – in just ten hours. The AMD Radeon Instinct Vega20 – which boasts 13.2 billion transistors – was tested using a TSMC-certified Calibre nmDRC software platform from Mentor. Read more…

By Oliver Peckham

TSMC and Samsung Moving to 5nm; Whither Moore’s Law?

June 12, 2019

With reports that Taiwan Semiconductor Manufacturing Co. (TMSC) and Samsung are moving quickly to 5nm manufacturing, it’s a good time to again ponder whither goes the venerable Moore’s law. Shrinking feature size has of course been the primary hallmark of achieving Moore’s law... Read more…

By John Russell

Deep Learning Competitors Stalk Nvidia

May 14, 2019

There is no shortage of processing architectures emerging to accelerate deep learning workloads, with two more options emerging this week to challenge GPU leader Nvidia. First, Intel researchers claimed a new deep learning record for image classification on the ResNet-50 convolutional neural network. Separately, Israeli AI chip startup Read more…

By George Leopold

Nvidia Embraces Arm, Declares Intent to Accelerate All CPU Architectures

June 17, 2019

As the Top500 list was being announced at ISC in Frankfurt today with an upgraded petascale Arm supercomputer in the top third of the list, Nvidia announced its Read more…

By Tiffany Trader

Top500 Purely Petaflops; US Maintains Performance Lead

June 17, 2019

With the kick-off of the International Supercomputing Conference (ISC) in Frankfurt this morning, the 53rd Top500 list made its debut, and this one's for petafl Read more…

By Tiffany Trader

Leading Solution Providers

ISC 2019 Virtual Booth Video Tour


Intel Launches Cascade Lake Xeons with Up to 56 Cores

April 2, 2019

At Intel's Data-Centric Innovation Day in San Francisco (April 2), the company unveiled its second-generation Xeon Scalable (Cascade Lake) family and debuted it Read more…

By Tiffany Trader

Cray – and the Cray Brand – to Be Positioned at Tip of HPE’s HPC Spear

May 22, 2019

More so than with most acquisitions of this kind, HPE’s purchase of Cray for $1.3 billion, announced last week, seems to have elements of that overused, often Read more…

By Doug Black and Tiffany Trader

A Behind-the-Scenes Look at the Hardware That Powered the Black Hole Image

June 24, 2019

Two months ago, the first-ever image of a black hole took the internet by storm. A team of scientists took years to produce and verify the striking image – an Read more…

By Oliver Peckham

Announcing four new HPC capabilities in Google Cloud Platform

April 15, 2019

When you’re running compute-bound or memory-bound applications for high performance computing or large, data-dependent machine learning training workloads on Read more…

By Wyatt Gorman, HPC Specialist, Google Cloud; Brad Calder, VP of Engineering, Google Cloud; Bart Sano, VP of Platforms, Google Cloud

Chinese Company Sugon Placed on US ‘Entity List’ After Strong Showing at International Supercomputing Conference

June 26, 2019

After more than a decade of advancing its supercomputing prowess, operating the world’s most powerful supercomputer from June 2013 to June 2018, China is keep Read more…

By Tiffany Trader

In Wake of Nvidia-Mellanox: Xilinx to Acquire Solarflare

April 25, 2019

With echoes of Nvidia’s recent acquisition of Mellanox, FPGA maker Xilinx has announced a definitive agreement to acquire Solarflare Communications, provider Read more…

By Doug Black

Qualcomm Invests in RISC-V Startup SiFive

June 7, 2019

Investors are zeroing in on the open standard RISC-V instruction set architecture and the processor intellectual property being developed by a batch of high-flying chip startups. Last fall, Esperanto Technologies announced a $58 million funding round. Read more…

By George Leopold

Nvidia Claims 6000x Speed-Up for Stock Trading Backtest Benchmark

May 13, 2019

A stock trading backtesting algorithm used by hedge funds to simulate trading variants has received a massive, GPU-based performance boost, according to Nvidia, Read more…

By Doug Black

  • arrow
  • Click Here for More Headlines
  • arrow
Do NOT follow this link or you will be banned from the site!
Share This