The Cell BE processor is a heterogeneous multicore that contains one PowerPC Processor Element (PPE) and eight Synergistic Processor Elements (SPEs). Each SPE has a small software-managed local store. Applications must explicitly control all DMA transfers of code and data between the SPE local stores and the main memory, and they must perform any coherence actions required for data transferred. The need for explicit memory management, together with the limited size of the SPE local stores, makes it challenging to program the Cell BE and achieve high performance.
COMIC (A COherent shared Memory Interface for Cell BE) is a runtime system that might solve above problems. It provides the program with an illusion of a globally shared memory, in which the PPE and each of the SPEs can access any shared data item, without the programmer having to worry about where the data is, or how to obtain it.
COMIC is implemented entirely in software with the aid of userlevel libraries provided by the Cell SDK. For each read or write operation in SPE code, a COMIC runtime function is inserted to check whether the data is available in its local store, and to automatically fetch it if it is not. We propose a memory consistency model and a programming model for COMIC, in which the management of synchronization and coherence is centralized in the PPE.
It is necessary to build your parallel program with COMIC on a Cell BE machine (Cell Blade or PlayStation 3). COMIC is an API (library) written in C.
If you would like to download the COMIC, please fill out the following form and click the download button. An email containing the download URL will be sent to the email address.
Copyright (C) 2008 Seoul National University. All rights reserved. This library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License as published by the Free Software Foundation; either version 2.1 of the License, or (at your option) any later version. This library is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more details. You should have received a copy of the GNU Lesser General Public License along with this library; if not, write to the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA Contact information: Advanced Compiler Research Laboratory School of Computer Science and Engineering Seoul National University, Seoul 151-744, Korea http://aces.snu.ac.kr Contributors: Sangmin Seo, Chihun Kim, Posung Chun, Jun Lee, Junghyun Kim, Jungwon Kim, and Jaejin Lee