- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
the cpu load is a little bit high. I am thinking to run some tasks out of PSPR. What performance improvement should I expect comparing running from PFLASH?
Thanks,
Ke
- Tags:
- IFX
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
if you have caches enabled, then in my personal opinion you will not get any performance gain.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could follow the advice in this document:
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
what is the use case for PSPR then?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
As per Table 2 in the document link, the use case for PSPR:
"Used for deterministic and performance critical code (e.g. DSP Algorithms, OS)"
This is on the basis that it doesn't have any wait-states compared to running from flash. It seems reasonable to try it out given the relative ease of moving the code to PSPR using the linker script.
@Andrew_Q is expressing a personal view which seems to counter the advice in the document but that's his view.
It seems no one can give you any outright performance improvement figures so you should probably measure the improvement yourself using the tips in Section 2.2 of the document.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
@Epistemon is absolutely right! You need to check each individual case. In my case, I tested one core that works with flash memory. If you are using a lot of cores, then porting the code to PRPS will have an effect. Or you are using large computational algorithms that force the cache to be flushed. But how much?