1Runtime Instrumentation Testing - N1SDP 2======================================= 3 4For this test we used the N1 System Development Platform (`N1SDP`_), which 5contains an SoC consisting of two dual-core Arm N1 clusters. 6 7The following source trees were used: 8 9- `TF-A v2.14-rc0`_ 10- `TFTF v2.14-rc0`_ 11 12Please see the Runtime Instrumentation :ref:`Testing Methodology 13<Runtime Instrumentation Methodology>` page for more details. The tests were ran 14using the 15`tf-psci-lava-instr/n1sdp-runtime-instrumentation,n1sdp-runtime-instrumentation:n1sdp-fip.tftf-firmware` 16configuration in CI. 17 18Results 19------- 20 21``CPU_SUSPEND`` to deepest power level 22~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 23.. table:: ``CPU_SUSPEND`` latencies (ns) to deepest power level in parallel (v2.14) 24 25 +---------+------+----------------+-----------------+----------------+ 26 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 27 +---------+------+----------------+-----------------+----------------+ 28 | 0 | 0 | 3380.0(+1.81%) | 12480.0(-7.00%) | 340.0(+21.43%) | 29 +---------+------+----------------+-----------------+----------------+ 30 | 0 | 1 | 3840.0(-4.48%) | 17940.0(-1.10%) | 220.0(-21.43%) | 31 +---------+------+----------------+-----------------+----------------+ 32 | 1 | 0 | 2560.0(-5.19%) | 17140.0(-1.38%) | 160.0(-38.46%) | 33 +---------+------+----------------+-----------------+----------------+ 34 | 1 | 1 | 3040.0(+2.70%) | 9960.0(-8.29%) | 140.0(-46.15%) | 35 +---------+------+----------------+-----------------+----------------+ 36 37.. table:: ``CPU_SUSPEND`` latencies (ns) to deepest power level in parallel (v2.13) 38 39 +---------+------+-----------+----------+-------------+ 40 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 41 +---------+------+-----------+----------+-------------+ 42 | 0 | 0 | 3320.00 | 13420.00 | 280.00 | 43 +---------+------+-----------+----------+-------------+ 44 | 0 | 1 | 4020.00 | 18140.00 | 280.00 | 45 +---------+------+-----------+----------+-------------+ 46 | 1 | 0 | 2700.00 | 17380.00 | 260.00 | 47 +---------+------+-----------+----------+-------------+ 48 | 1 | 1 | 2960.00 | 10860.00 | 260.00 | 49 +---------+------+-----------+----------+-------------+ 50 51.. table:: ``CPU_SUSPEND`` latencies (ns) to deepest power level in serial (v2.14) 52 53 +---------+------+----------------+-----------------+----------------+ 54 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 55 +---------+------+----------------+-----------------+----------------+ 56 | 0 | 0 | 1640.0(+1.23%) | 10140.0 | 300.0 | 57 +---------+------+----------------+-----------------+----------------+ 58 | 0 | 1 | 1980.0(+6.45%) | 10440.0(-1.69%) | 280.0 | 59 +---------+------+----------------+-----------------+----------------+ 60 | 1 | 0 | 1640.0(-8.89%) | 10340.0(+1.77%) | 160.0(-50.00%) | 61 +---------+------+----------------+-----------------+----------------+ 62 | 1 | 1 | 2280.0(+5.56%) | 10560.0 | 600.0(+20.00%) | 63 +---------+------+----------------+-----------------+----------------+ 64 65.. table:: ``CPU_SUSPEND`` latencies (ns) to deepest power level in serial (v2.13) 66 67 +---------+------+-----------+----------+-------------+ 68 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 69 +---------+------+-----------+----------+-------------+ 70 | 0 | 0 | 1620.00 | 10140.00 | 300.00 | 71 +---------+------+-----------+----------+-------------+ 72 | 0 | 1 | 1860.00 | 10620.00 | 280.00 | 73 +---------+------+-----------+----------+-------------+ 74 | 1 | 0 | 1800.00 | 10160.00 | 320.00 | 75 +---------+------+-----------+----------+-------------+ 76 | 1 | 1 | 2160.00 | 10600.00 | 500.00 | 77 +---------+------+-----------+----------+-------------+ 78 79``CPU_SUSPEND`` to power level 0 80~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 81 82.. table:: ``CPU_SUSPEND`` latencies (ns) to power level 0 in parallel (v2.14) 83 84 +---------+------+-----------------+------------------+----------------+ 85 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 86 +---------+------+-----------------+------------------+----------------+ 87 | 0 | 0 | 1380.0(+72.50%) | 10600.0(-11.52%) | 240.0(-7.69%) | 88 +---------+------+-----------------+------------------+----------------+ 89 | 0 | 1 | 1660.0(+7.79%) | 15880.0(-3.41%) | 140.0(-46.15%) | 90 +---------+------+-----------------+------------------+----------------+ 91 | 1 | 0 | 1640.0(+1.23%) | 15200.0(-5.59%) | 140.0(-53.33%) | 92 +---------+------+-----------------+------------------+----------------+ 93 | 1 | 1 | 1780.0(-1.11%) | 9880.0(-6.26%) | 140.0(-30.00%) | 94 +---------+------+-----------------+------------------+----------------+ 95 96.. table:: ``CPU_SUSPEND`` latencies (ns) to power level 0 in parallel (v2.13) 97 98 +---------+------+-----------+----------+-------------+ 99 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 100 +---------+------+-----------+----------+-------------+ 101 | 0 | 0 | 800.00 | 11980.00 | 260.00 | 102 +---------+------+-----------+----------+-------------+ 103 | 0 | 1 | 1540.00 | 16440.00 | 260.00 | 104 +---------+------+-----------+----------+-------------+ 105 | 1 | 0 | 1620.00 | 16100.00 | 300.00 | 106 +---------+------+-----------+----------+-------------+ 107 | 1 | 1 | 1800.00 | 10540.00 | 200.00 | 108 +---------+------+-----------+----------+-------------+ 109 110.. table:: ``CPU_SUSPEND`` latencies (ns) to power level 0 in serial (v2.14) 111 112 +---------+------+-----------------+-----------------+----------------+ 113 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 114 +---------+------+-----------------+-----------------+----------------+ 115 | 0 | 0 | 1560.0(+8.33%) | 9680.0(-2.22%) | 300.0 | 116 +---------+------+-----------------+-----------------+----------------+ 117 | 0 | 1 | 1900.0(+9.20%) | 10380.0 | 280.0 | 118 +---------+------+-----------------+-----------------+----------------+ 119 | 1 | 0 | 1760.0(-2.22%) | 10220.0(+1.79%) | 340.0 | 120 +---------+------+-----------------+-----------------+----------------+ 121 | 1 | 1 | 1760.0(-10.20%) | 10500.0 | 140.0(-68.18%) | 122 +---------+------+-----------------+-----------------+----------------+ 123 124.. table:: ``CPU_SUSPEND`` latencies (ns) to power level 0 in serial (v2.13) 125 126 +---------+------+-----------+----------+-------------+ 127 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 128 +---------+------+-----------+----------+-------------+ 129 | 0 | 0 | 1440.00 | 9900.00 | 300.00 | 130 +---------+------+-----------+----------+-------------+ 131 | 0 | 1 | 1740.00 | 10400.00 | 280.00 | 132 +---------+------+-----------+----------+-------------+ 133 | 1 | 0 | 1800.00 | 10040.00 | 340.00 | 134 +---------+------+-----------+----------+-------------+ 135 | 1 | 1 | 1960.00 | 10460.00 | 440.00 | 136 +---------+------+-----------+----------+-------------+ 137 138``CPU_OFF`` on all non-lead CPUs 139~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 140 141``CPU_OFF`` on all non-lead CPUs in sequence then, ``CPU_SUSPEND`` on the lead 142core to the deepest power level. 143 144.. table:: ``CPU_OFF`` latencies (ns) on all non-lead CPUs (v2.14) 145 146 +---------+------+-----------------+-----------------+----------------+ 147 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 148 +---------+------+-----------------+-----------------+----------------+ 149 | 0 | 0 | 1700.0(+3.66%) | 10020.0(-2.15%) | 300.0 | 150 +---------+------+-----------------+-----------------+----------------+ 151 | 0 | 1 | 14440.0(+3.74%) | 17140.0(-3.16%) | 360.0(+20.00%) | 152 +---------+------+-----------------+-----------------+----------------+ 153 | 1 | 0 | 13680.0(+1.03%) | 16680.0 | 260.0(-13.33%) | 154 +---------+------+-----------------+-----------------+----------------+ 155 | 1 | 1 | 14260.0 | 17600.0(-3.72%) | 300.0 | 156 +---------+------+-----------------+-----------------+----------------+ 157 158.. table:: ``CPU_OFF`` latencies (ns) on all non-lead CPUs (v2.13) 159 160 +---------+------+-----------+----------+-------------+ 161 | Cluster | Core | Powerdown | Wakeup | Cache Flush | 162 +---------+------+-----------+----------+-------------+ 163 | 0 | 0 | 1640.00 | 10240.00 | 300.00 | 164 +---------+------+-----------+----------+-------------+ 165 | 0 | 1 | 13920.00 | 17700.00 | 300.00 | 166 +---------+------+-----------+----------+-------------+ 167 | 1 | 0 | 13540.00 | 16740.00 | 300.00 | 168 +---------+------+-----------+----------+-------------+ 169 | 1 | 1 | 14120.00 | 18280.00 | 300.00 | 170 +---------+------+-----------+----------+-------------+ 171 172``CPU_VERSION`` in parallel 173~~~~~~~~~~~~~~~~~~~~~~~~~~~ 174 175.. table:: ``CPU_VERSION`` latency (ns) in parallel on all cores (v2.14) 176 177 +----------+------+-------------------+ 178 | Cluster | Core | Latency | 179 +----------+------+-------------------+ 180 | 0 | 0 | 140.0(+16.67%) | 181 +----------+------+-------------------+ 182 | 0 | 1 | 240.0(+20.00%) | 183 +----------+------+-------------------+ 184 | 1 | 0 | 220.0(+10.00%) | 185 +----------+------+-------------------+ 186 | 1 | 1 | 260.0(+8.33%) | 187 +----------+------+-------------------+ 188 189.. table:: ``CPU_VERSION`` latency (ns) in parallel on all cores (v2.13) 190 191 +-------------+--------+--------------+ 192 | Cluster | Core | Latency | 193 +-------------+--------+--------------+ 194 | 0 | 0 | 120.00 | 195 +-------------+--------+--------------+ 196 | 0 | 1 | 200.00 | 197 +-------------+--------+--------------+ 198 | 1 | 0 | 200.00 | 199 +-------------+--------+--------------+ 200 | 1 | 1 | 240.00 | 201 +-------------+--------+--------------+ 202 203-------------- 204 205*Copyright (c) 2023-2025, Arm Limited. All rights reserved.* 206 207.. _TF-A v2.14-rc0: https://review.trustedfirmware.org/plugins/gitiles/TF-A/trusted-firmware-a/+/refs/tags/v2.14-rc0 208.. _TFTF v2.14-rc0: https://review.trustedfirmware.org/plugins/gitiles/TF-A/tf-a-tests/+/refs/tags/v2.14-rc0 209.. _user guide: https://gitlab.arm.com/arm-reference-solutions/arm-reference-solutions-docs/-/blob/master/docs/n1sdp/user-guide.rst 210.. _N1SDP: https://developer.arm.com/documentation/101489/latest 211