This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
Tool/software:
Hi, experts,
I am supporting customer evaluating XIP performance. We have read all related documents in SDK, and also application note for opti-flash.
We understand different code placement result in different performance results, and the XIP performance highly depends on customers' code and how "smart" the code is placed.
As the first step, we want to test with same example you used to get same benchmarks as stated below
Would you please help to share the detailed steps on getting the benchmarks, such as which example(we are assuming it is examples/benchmarks/ocmc_benchmarking), how to change RL2 cache size within this example, how to calculate the Performance Degradation, etc.
Customer is eagerly seeking for the recommended way to evaluate XIP performance and decide whether to use XIP in the present project.
Looking forward to your reply.
Thanks.
Hi Fan Zhang,
The example used to achieve those benchmarking numbers is: https://software-dl.ti.com/mcu-plus-sdk/esd/AM263PX/latest/exports/docs/api_guide_am263px/BENCHMARK_SMART_PLACEMENT.html
note: "annotations.S
has a macro named ENABLE_SMART_PLACEMENT_ANNOTATION
which can be used to enable and disable annotations which will effectively enable and disable smart placement."
To calculate performance degradation, choose a KPI provided in the above example and over various RL2 sizes, run the application and then calculate the performance improvement/degradation. The KPI used to show the degradation in the link you shared is "Execution time".
RL2 sizes can be configured from the example.syscfg
Customer can evaluate the performance by using smart placement as well as enabling RL2.
Regards,
Shaunak
Hi Fan Zhang,
Adding to it, the example does not have RL2 enabled by default, please follow these steps to enable RL2: https://software-dl.ti.com/mcu-plus-sdk/esd/AM263PX/latest/exports/docs/api_guide_am263px/OPTIFLASH_CONFIGURE.html#autotoc_md416
Regards,
Shaunak