14LEVERAGING SHARED MEMORY IN THE MULTICORE ERA

The world is changed.

I feel it in the silica.

I feel it in the transistor.

I see it in the core.

–With apologies to Galadriel

Lord of the Rings: Fellowship of the Ring

image

Until now, our discussion of architecture has focused on a purely single-CPU world. But the world has changed. Today’s CPUs have multiple cores, or compute units. In this chapter, we discuss multicore architectures, and how to leverage them to speed up the execution of programs.

Note CPUS, PROCESSORS, AND CORES

In many instances in this chapter, the terms processor and CPU are used interchangeably. At a fundamental level, a processor ...

Get Dive Into Systems 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.