MCAPI
   HOME

TheInfoList



OR:

The Multicore Communications API (MCAPI) is the first specification to be produced by the
Multicore Association The Multicore Association was founded in 2005. Multicore Association is a member-funded, non-profit, industry consortium focused on the creation of open standard APIs, specifications, and guidelines that allow system developers and programmers ...
. MCAPI provides a standardized API for communication and synchronization between closely distributed (multiple cores on a chip and/or chips on a board)
embedded systems An embedded system is a computer system—a combination of a computer processor, computer memory, and input/output peripheral devices—that has a dedicated function within a larger mechanical or electronic system. It is ''embedded'' ...
.


Overview

MCAPI is a language-independent, processor and operating system agnostic
communications protocol A communication protocol is a system of rules that allows two or more entities of a communications system to transmit information via any kind of variation of a physical quantity. The protocol defines the rules, syntax, semantics and synchr ...
used to program multi-core devices. MCAPI provides three modes of communication: messages, packets, and scalars. MCAPI is a
message-passing In computer science, message passing is a technique for invoking behavior (i.e., running a program) on a computer. The invoking program sends a message to a process (which may be an actor or object) and relies on that process and its supporting ...
application programmer interface, together with protocol and semantic specifications for how its features must behave in any implementation. The primary goals for any MCAPI implementation are extremely high performance and low memory footprint. MCAPI traces its heritage to communications APIs such as MPI and
Berkeley sockets Berkeley sockets is an application programming interface (API) for Internet sockets and Unix domain sockets, used for inter-process communication (IPC). It is commonly implemented as a library of linkable modules. It originated with the 4.2BSD ...
. Both MPI and sockets were developed primarily with inter-computer communication in mind, while MCAPI is targeted primarily towards inter-core communication in a multicore chip. Accordingly, a principal design goal of MCAPI was to serve as a low-latency interface leveraging efficient on-chip interconnect in a multicore chip. However, because of the more limited scope of multicore communications and its goal of low latency, MCAPI is less flexible than MPI or Sockets.


MCAPI Communication Modes

MCAPI provides three modes of communication: # messages – connection-less
datagrams A datagram is a basic transfer unit associated with a packet-switched network. Datagrams are typically structured in header and payload sections. Datagrams provide a connectionless communication service across a packet-switched network. The deliv ...
. Messages are intended to be flexible with respect to payload, dynamically changing receivers and priorities and configuration effort, although at a slight performance penalty. # packets – connection-oriented, arbitrary size, uni-directional, and FIFO streams. Packets are intended to be flexible with respect to payload, providing higher performance than messages at the expense of configuration effort. # scalars – connection-oriented, fixed size, uni-directional, and FIFO streams. Scalars are intended to be the highest performance communications mode, albeit at the expense of payload flexibility and configuration effort.


MCAPI Compared to MPI

MCAPI is focused purely on embedded communications, and adds the ideas of messages, packets, and scalars + connected channels. This allows MCAPI to support various quality of service, where connected channels may exploit underlying embedded hardware. Furthermore MCAPI supports various kinds of priorities, messages can have a per message priority and channels can be treated as having different priorities as well, allowing implementations to map some or all channels to dedicated hardware. MCAPI can also support zero-copy via assigning attributes to connected channels. Other big differences include: *MCAPI has no language binding for FORTRAN since this is not commonly found in embedded systems. *MCAPI does not support collective communications as in MPI. This allows MCAPIv to have a smaller implementation. *MCAPI does not have the concepts of groups. *MCAPI does not have any synchronization methods as in MPI, no barriers, no fences, no locks. *MCAPI has no file objects or any functions associated with them. *MCAPI has no model for creation or management of processes.


References

*{{cite journal , last1=Holt , first1=Jim , last2=Agarwal , first2=Anant , last3=Brehmer , first3=Sven , last4=Domeika , first4=Max , last5=Griffin , first5=Patrick , last6=Schirrmeister , first6=Frank , title=Software Standards for the Multicore Era , journal=
IEEE Micro ''IEEE Micro'' is a peer-reviewed scientific journal published by the IEEE Computer Society covering small systems and semiconductor chips, including integrated circuit processes and practices, project management, development tools and infrastruc ...
, volume=29 , issue=3 , pages=40–51 , date=June 2009 , doi=10.1109/MM.2009.48 , mode=cs2, hdl=1721.1/52432 , hdl-access=free


External links


Multicore Communications APIPoly-Messenger/MCAPIKactus2/MCAPI and IP-XACTFree MCAPI specification download
Application programming interfaces