9
SMP or AMP Alexander Merkle 2013 / 06 / 05 www.lauterbach.com 1 / 9 SMP or AMP

SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

Embed Size (px)

Citation preview

Page 1: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 1 / 9

SMPor

AMP

Page 2: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 2 / 9

Multicore in a AMP configuration

SMP or AMP

Concurrent execution of separate task sets.

Page 3: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 3 / 9

AMP Key facts

AMP: Asymmetric Multiprocessing

Heterogeneous System Different core purposes (CPU + DSP) Different core types (Application + Low Power) Same core architecture (Dual/Quad – Core CPUs) Multiple chips of same/different type

Each core has its designated task set=> More than one operating system

Cores do NOT share code and data

SMP or AMP

Page 4: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 4 / 9

Multicore in a SMP configuration

SMP or AMP

Concurrent execution of a shared task set.

Page 5: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 5 / 9

SMP Key facts

SMP: Symmetric Multiprocessing

Homogeneous System All cores of the same architecture

All cores share a common task set

One operating system manages all cores

The operating system assigns tasks dynamically to cores

Cores share code, data and peripherals (UMA: Uniform Memory Access)

SMP or AMP

Page 6: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 6 / 9

Multicore in a Static - SMP configuration

SMP or AMP

Page 7: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 7 / 9

Static – SMP vs. Dynamic – SMP

SMP: Symmetric Multiprocessing

Homogeneous System All cores of the same architecture

One operating system manages all cores

Common code, data memories

BUTStatic - SMP

Static Task to Core assignment

Tasks use non-shared/private peripherals and/or memories

Dynamic - SMP

Dynamic Task to Core assignment

Tasks use only shared peripherals and memories

SMP or AMP

Page 8: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 8 / 9

SMP or AMP Checklist

SMP or AMP

Hardwarerequirements

Softwarerequirements

Page 9: SMP or AMP or AMP Alexander Merkle 2013 / 06 / 05 5 / 9 SMP Key facts SMP: Symmetric Multiprocessing Homogeneous System All cores of the same architecture All cores share a common

SMP or AMP ▪ Alexander Merkle ▪ 2013 / 06 / 05 www.lauterbach.com ▪ 9 / 9

AMP / SMP debug concept

SMP or AMP

AMP SMP

Multiple TRACE32 PowerView instances

Single TRACE32 PowerView instance