CAPI: A Coherent Accelerator Processor Interface

Jeffrey Stuecheli, B. Blaner, C. Johns, Michael S. Siegel

IBM Journal of Research and Development · 2015 · 166 citations · 4 references

Concepts

TL;DR

Heterogeneous systems pair general‑purpose cores with accelerator units to boost performance, but traditional I/O attachment protocols introduce significant driver and OS overheads that can limit gains. This paper proposes the Coherent Accelerator Processor Interface (CAPI) to attach an accelerator as a coherent CPU peer over the I/O interface. CAPI implements a homogeneous virtual address space and hardware‑managed caching between the CPU and accelerator over the I/O bus. The CAPI attachment shortens the software path, substantially increasing acceleration opportunities relative to conventional I/O models.

Abstract

Heterogeneous computing systems combine different types of compute elements that share memory. A specific class of heterogeneous systems discussed in this paper pairs traditional general-purpose processing cores and accelerator units. While this arrangement enables significant gains in application performance, device driver overheads and operating system code path overheads can become prohibitive. The I/O interface of a processor chip is a well-suited attachment point from a system design perspective, in that standard server models can be augmented with application-specific accelerators. However, traditional I/O attachment protocols introduce significant device driver and operating system software latencies. With the Coherent Accelerator Processor Interface (CAPI), we enable attaching an accelerator as a coherent CPU peer over the I/O physical interface. The CPU peer features consist of a homogeneous virtual address space across the CPU and accelerator, and hardware-managed caching of this shared data on the I/O device. This attachment method greatly increases the opportunities for acceleration due to the much shorter software path length required to enable its use compared to a traditional I/O model.

References

4