blob: e8faae40ae2235d82bfc61fd6c54b9fd71598adb [file] [log] [blame]
Runtime Instrumentation Testing - N1SDP
=======================================
For this test we used the N1 System Development Platform (`N1SDP`_), which
contains an SoC consisting of two dual-core Arm N1 clusters.
The following source trees were used:
- `TF-A v2.12-rc0`_
- `TFTF v2.12-rc0`_
Please see the Runtime Instrumentation :ref:`Testing Methodology
<Runtime Instrumentation Methodology>` page for more details. The tests were ran
using the
`tf-psci-lava-instr/n1sdp-runtime-instrumentation,n1sdp-runtime-instrumentation:n1sdp-fip.tftf-firmware`
configuration in CI.
Results
-------
``CPU_SUSPEND`` to deepest power level
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. table:: ``CPU_SUSPEND`` latencies s) to deepest power level in parallel (v2.12)
+---------+------+----------------+--------+----------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+----------------+--------+----------------+
| 0 | 0 | 2.58 | 24.14 | 0.28 (-69.57%) |
+---------+------+----------------+--------+----------------+
| 0 | 0 | 4.24 (-32.27%) | 40.1 | 0.3 |
+---------+------+----------------+--------+----------------+
| 1 | 0 | 3.58 | 35.54 | 0.28 |
+---------+------+----------------+--------+----------------+
| 1 | 0 | 3.28 | 42.36 | 0.3 |
+---------+------+----------------+--------+----------------+
.. table:: ``CPU_SUSPEND`` latencies s) to deepest power level in parallel (v2.11)
+---------+------+----------------+--------+----------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+----------------+--------+----------------+
| 0 | 0 | 3.0 (+41.51%) | 23.14 | 1.2 (+185.71%) |
+---------+------+----------------+--------+----------------+
| 0 | 0 | 4.6 | 35.86 | 0.3 |
+---------+------+----------------+--------+----------------+
| 1 | 0 | 3.68 (+33.33%) | 33.36 | 0.3 |
+---------+------+----------------+--------+----------------+
| 1 | 0 | 3.7 (+40.15%) | 38.1 | 0.28 |
+---------+------+----------------+--------+----------------+
.. table:: ``CPU_SUSPEND`` latencies s) to deepest power level in serial (v2.12)
+---------+------+-----------+--------+-------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+-----------+--------+-------------+
| 0 | 0 | 1.9 | 23.8 | 0.36 |
+---------+------+-----------+--------+-------------+
| 0 | 0 | 2.26 | 23.86 | 0.34 |
+---------+------+-----------+--------+-------------+
| 1 | 0 | 2.02 | 23.4 | 0.36 |
+---------+------+-----------+--------+-------------+
| 1 | 0 | 2.24 | 23.84 | 0.36 |
+---------+------+-----------+--------+-------------+
.. table:: ``CPU_SUSPEND`` latencies s) to deepest power level in serial (v2.11)
+---------+------+-----------+--------+-------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+-----------+--------+-------------+
| 0 | 0 | 1.7 | 22.46 | 0.3 |
+---------+------+-----------+--------+-------------+
| 0 | 0 | 2.28 | 22.5 | 0.3 |
+---------+------+-----------+--------+-------------+
| 1 | 0 | 2.14 | 21.5 | 0.32 |
+---------+------+-----------+--------+-------------+
| 1 | 0 | 2.24 | 22.66 | 0.3 |
+---------+------+-----------+--------+-------------+
``CPU_SUSPEND`` to power level 0
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. table:: ``CPU_SUSPEND`` latencies s) to power level 0 in parallel (v2.12)
+---------+------+-----------+--------+----------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 1.46 | 31.7 | 0.32 |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 2.06 | 35.5 | 0.48 (+60.00%) |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 1.96 | 35.7 | 0.32 |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 2.08 | 23.38 | 0.28 |
+---------+------+-----------+--------+----------------+
.. table:: ``CPU_SUSPEND`` latencies s) to power level 0 in parallel (v2.11)
+---------+------+----------------+--------+-------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+----------------+--------+-------------+
| 0 | 0 | 0.94 (-37.33%) | 30.36 | 0.3 |
+---------+------+----------------+--------+-------------+
| 0 | 0 | 2.12 | 33.12 | 0.28 |
+---------+------+----------------+--------+-------------+
| 1 | 0 | 2.08 | 32.56 | 0.3 |
+---------+------+----------------+--------+-------------+
| 1 | 0 | 2.14 | 21.92 | 0.28 |
+---------+------+----------------+--------+-------------+
.. table:: ``CPU_SUSPEND`` latencies s) to power level 0 in serial (v2.12)
+---------+------+-----------+--------+----------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 1.66 | 23.22 | 0.36 |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 2.58 | 23.72 | 0.78 (+85.71%) |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 2.02 | 23.84 | 0.38 |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 2.16 | 23.92 | 0.34 |
+---------+------+-----------+--------+----------------+
.. table:: ``CPU_SUSPEND`` latencies s) to power level 0 in serial (v2.11)
+---------+------+-----------+--------+-------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+-----------+--------+-------------+
| 0 | 0 | 1.64 | 21.88 | 0.34 |
+---------+------+-----------+--------+-------------+
| 0 | 0 | 2.42 | 21.76 | 0.34 |
+---------+------+-----------+--------+-------------+
| 1 | 0 | 2.02 | 21.14 | 0.32 |
+---------+------+-----------+--------+-------------+
| 1 | 0 | 2.18 | 22.3 | 0.34 |
+---------+------+-----------+--------+-------------+
``CPU_OFF`` on all non-lead CPUs
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
``CPU_OFF`` on all non-lead CPUs in sequence then, ``CPU_SUSPEND`` on the lead
core to the deepest power level.
.. table:: ``CPU_OFF`` latencies s) on all non-lead CPUs (v2.12)
+---------+------+-----------+--------+----------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 1.84 | 23.82 | 0.36 |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 14.18 | 31.78 | 0.56 (+86.67%) |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 13.64 | 30.54 | 0.36 |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 14.18 | 31.82 | 0.68 |
+---------+------+-----------+--------+----------------+
.. table:: ``CPU_OFF`` latencies s) on all non-lead CPUs (v2.11)
+---------+------+-----------+--------+----------------+
| Cluster | Core | Powerdown | Wakeup | Cache Flush |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 1.96 | 22.44 | 0.38 |
+---------+------+-----------+--------+----------------+
| 0 | 0 | 13.76 | 30.34 | 0.26 |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 13.46 | 28.28 | 0.24 |
+---------+------+-----------+--------+----------------+
| 1 | 0 | 13.84 | 30.06 | 0.28 (-60.00%) |
+---------+------+-----------+--------+----------------+
``CPU_VERSION`` in parallel
~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. table:: ``CPU_VERSION`` latency s) in parallel on all cores (v2.12)
+----------+------+-------------------+
| Cluster | Core | Latency |
+----------+------+-------------------+
| 0 | 0 | 0.14 |
+----------+------+-------------------+
| 0 | 0 | 0.2 (-28.57%) |
+----------+------+-------------------+
| 1 | 0 | 0.2 |
+----------+------+-------------------+
| 1 | 0 | 0.26 |
+----------+------+-------------------+
.. table:: ``CPU_VERSION`` latency s) in parallel on all cores (v2.11)
+-------------+--------+--------------+
| Cluster | Core | Latency |
+-------------+--------+--------------+
| 0 | 0 | 0.12 |
+-------------+--------+--------------+
| 0 | 0 | 0.24 |
+-------------+--------+--------------+
| 1 | 0 | 0.2 |
+-------------+--------+--------------+
| 1 | 0 | 0.26 |
+-------------+--------+--------------+
--------------
*Copyright (c) 2023-2025, Arm Limited. All rights reserved.*
.. _TF-A v2.12-rc0: https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/refs/tags/v2.12-rc0
.. _TFTF v2.12-rc0: https://review.trustedfirmware.org/plugins/gitiles/TF-A/tf-a-tests/+/refs/tags/v2.12-rc0
.. _user guide: https://gitlab.arm.com/arm-reference-solutions/arm-reference-solutions-docs/-/blob/master/docs/n1sdp/user-guide.rst
.. _N1SDP: https://developer.arm.com/documentation/101489/latest