1) How do both CPUs interact, how fast do they exchange data?
In most cases, they interact through memory or the hierarchy level of the nearest shared memory. (System memory on both SMP and NUMA is considered as a general level, even if NUMA is accessed through the memory controller of another chip, this is simply uneven = slower access)
2) How quickly will two cores interact on the same chip?
Cells on the same chip typically share L2 or L3 caches. Cores on different chips exchange data via memory or with cache cache interaction using the cache matching protocol.
Thus, if 1 (different chips), the speed (bandwidth) of the memory passing between the CPUs will be close to reading / writing simple memory. And in case 2 (the same chip), this speed can be higher, up to the read / write cache speed.
The communication delay will be several hundred CPU ticks in case 1 and several dozen in case 2.
3) Are four cores on the same chip equivalent in terms of communication or memory access?
All four cores of the same chip usually have an equivalent distance to RAM. It depends on the architecture and implementation of the chip; for some older networks, for example. the multi-core chip was really two chips packaged in one package.
osgx
source share