"(This) is a book that should be in the hands of programmers in high-performance computing."―Greg Astfalk, Chief Scientist, Technical Computing Division, Hewlett-Packard Company.
The hands-on guide to high-performance software optimization
There are several great books on high performance computing. Most of them address theoretical concepts and discuss their implementation in a very abstract manner. Very few demonstrate how to actually implement these concepts in a programming language. Based on input from programmers that are trying to write high performance applications it became clear that there was a need for a book that illustrates software practices to achieve high performance computing.
This book discusses modern computer architectures, including the new IA-64 processor family as well as RISC, CISC, and others. Many high level language (HLL) examples are discussed in detail, analyzing the impact of various compiler optimizations by showing the actual assembly code generated from the HLL. The architecture discussions are not limited to processors. UMA, NUMA, ccNUMA, and distributed memory computer systems are discussed. Techniques for improving memory locality and bandwidth performance are shown in detail. Parallel programming techniques are illustrated in a step-by-step case study. Topics such as thread/processor affinity, false cache line sharing, and synchronization efficiency are discussed and demonstrated.
A large part of the book is dedicated to efficient implementation of commonly used linear algebra and signal processing algorithms. Many aspects of these algorithms are discussed here for the first time. The book has scores of examples in C and Fortran and discusses various compilers and how to get the best performance out of a few compiler flags. It also discusses several mechanisms for analyzing performance and improving it by modifying code or using off-the-shelf libraries.
If you are a programmer and are interested in getting better performance out of an existing application or one that you are designing then this book is for you. This is true whether the application is sequential or parallel, IA-64 or RISC, C or Fortran, executing on SIMD, SPMD, UMA, ccNUMA, or distributed memory systems.
We sincerely hope you enjoy it!
Isom Crawford and Kevin Wadleigh, authors
From the Back Cover
The hands-on guide to high-performance coding and algorithm optimization.
This hands-on guide to software optimization introduces state-of-the-art solutions for every key aspect of software performance – both code-based and algorithm-based.
Two leading HP software performance experts offer comparative optimization strategies for RISC and for the new Explicitly Parallel Instruction Computing (EPIC) design used in Intel IA-64 processors. Using many practical examples, they offer specific techniques for:
- Predicting and measuring performance – and identifying your best optimization opportunities
- Storage optimization: cache, system memory, virtual memory, and I/0
- Parallel processing: distributed-memory and shared-memory (SMP and ccNUMA)
- Compilers and loop optimization
- Enhancing parallelism: compiler directives, threads, and message passing
- Mathematical libraries and algorithms
Whether you're a developer, ISV, or technical researcher, if you need to optimize high-performance software on today's leading processors, one book delivers the advanced techniques and code examples you need: Software Optimization for High Performance Computing.
About the Author
ISOM CRAWFORD and KEVIN WADLEIGH are mathematicians in the Technical Computing Division of Hewlett Packard Corporation. Dr. Wadleigh develops high-performance algorithms for independent software vendors working with HP servers. Dr. Crawford specializes in parallel technical computing applications.