Chapter 2

From “Correct” to “Correct & Efficient”

A Hydro2D Case Study with Godunov’s Scheme

Jason D. Sewall*; Guillaume Colin de Verdière    * Intel, United States CEA, France

Abstract

A huge number of scientific codes that are used everyday are running slowly on modern hardware; this is because of a number of factors, but software/programming model inertia and increasing single-node parallelism are chief among them.

This chapter examines a real-world example and shows that great improvements in performance can be achieved though simple models of hardware and computation.

In particular, we show that a common set of optimizations benefit both general-purpose Xeon processors and more specialized Xeon Phi accelerators.

Keywords

Parallel computing ...

Get High Performance Parallelism Pearls Volume One now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.