zephyrproject-rtos / zephyr

Primary Git Repository for the Zephyr Project. Zephyr is a new generation, scalable, optimized, secure RTOS for multiple hardware architectures.
https://docs.zephyrproject.org
Apache License 2.0
9.74k stars 6k forks source link

Create benchmarking project to measure impact of direct IPIs #72171

Open peter-mitsis opened 2 weeks ago

peter-mitsis commented 2 weeks ago

Is your enhancement proposal related to a problem? Please describe.

Although a test exists to validate the expected behaviour of the IPI optimization feature, there is currently no test to demonstrate its performance impact. It would be beneficial to have one.

Describe the solution you'd like

This benchmark should operate on SMP platforms. At minimum, it should report both the number of IPIs processed and the number of cycles it took to execute the various tests. This information can then be compared between runs that have this feature enabled and those that don't.