Open side-bar Menu
 Embedded Software
Colin Walls
Colin Walls
Colin Walls has over thirty years experience in the electronics industry, largely dedicated to embedded software. A frequent presenter at conferences and seminars and author of numerous technical articles and two books on embedded software, Colin is an embedded software technologist with Mentor … More »

AMP vs SMP

 
June 16th, 2015 by Colin Walls

It is becoming common for embedded designs to incorporate more than one CPU – maybe multiple cores on a chip or multiple chips on a board or any combination of these. Indeed, it has been suggested that it will soon be the norm to build systems that way.

The use of multiple cores has spawned various technologies and, of course, much terminology and jargon. When new technical terms and acronyms appear, there is inevitable misuse and misunderstanding. This seems to be the case with AMP and SMP, so maybe I can set the record straight …

AMP stands for Asymmetric Multi-Processing; SMP means Symmetric Multi-Processing. These terms are not at all transparent. In seeking a means to clarify, I thought I would check Wikipedia and looked up “AMP”. From the disambiguation page, I found the relevant article. Well, I say “relevant”, but it really does not cover the topic as we see it today. It talks about historical uses of multiple CPUs and dismisses it to history. So, I will try to advance definitions:

An AMP system:

  • multiple CPUs
  • each of which may be a different architecture [but can be the same]
  • each has its own address space
  • each may or may not run an OS [and the OSes need not be the same]
  • some kind of communication facility between the CPUs is provided

An SMP system:

  • multiple CPUs
  • each of which has the same architecture
  • CPUs share memory space [or, at least, some of it]
  • normally an OS is used and this is a single instance that runs on all the CPUs, dividing work between them
  • some kind of communication facility between the CPUs is provided [and this is normally shared memory]

949D0CE8-5CDD-40B3-89D3-3D6CFD9DEA76

Typically, SMP is used when an embedded application simply needs more CPU power to manage its workload, in much the way that multi-core CPUs are used in desktop computers.

AMP is most likely to be used when different CPU architectures are optimal for specific activities – like a DSP and an MCU. In an AMP system, there is the opportunity to deploy a different OS on each core – e.g. Nucleus and Android/Linux – as befits the required functionality.

2 Responses to “AMP vs SMP”

  1. Avatar Gary Dare says:

    Thanks for this, Colin! I will bookmark this for future reference and to pass on to others. 🙂

    In return, would like to contribute an example that I saw recently from an academic project (nothing here to derail their paper submission!). In doing design exploration, hardware-software partitioning to optimize their project’s performance, the subjects opted for an AMP solution with Linux on one processor, and bare metal on the other. (This was on a Xilinx Zynq super-FPGA, with two ARM Cortex-A9 cores.) The rationale was that a function doing heavy calculations could be put on its own CPU, bare metal, to a) save silicon area (resource) with a smaller, less expensive device and b) avoid crowding out other processes if sharing a processor.

  2. Colin Walls Colin Walls says:

    That’s a good example Gary.

Logged in as . Log out »




© 2024 Internet Business Systems, Inc.
670 Aberdeen Way, Milpitas, CA 95035
+1 (408) 882-6554 — Contact Us, or visit our other sites:
TechJobsCafe - Technical Jobs and Resumes EDACafe - Electronic Design Automation GISCafe - Geographical Information Services  MCADCafe - Mechanical Design and Engineering ShareCG - Share Computer Graphic (CG) Animation, 3D Art and 3D Models
  Privacy PolicyAdvertise