--
You received this message because you are subscribed to the Google Groups "NuttX" group.
To unsubscribe from this group and stop receiving emails from it, send an email to nuttx+un...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/nuttx/5bef277b-0be6-4b9b-9730-03ad9d3c26f6%40googlegroups.com.
There is also special SMP instrumentation in the OS based on the sched_nute_* interfaces. There is also a monitor in apps/ for dumping the sched_note_* output.The typical SMP failure is a hang and this instrumentation is most useful for getting the events leading to the hang.
On thing that important to note: Ishikawa-san has shown that if you have no data cache, then the use of SMP on more than a couple of CPUs is not helpful due to RAM access collisions. See https://nuttx.events/wp-content/uploads/2019/11/MIshikawa_nx2019.pdf
I suppose that depends in part on the memory architecture as well. When Ishikawa-san demonstrated the issues he was running two copies of the same mrmory-intensive application on two CPUs. Perhaps the interference would not be so great if doing things in unrelated memory. Otherwise, AMP in a common memory space would have the same issues, I would think.