cache reconfigure for T2080RDB

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

cache reconfigure for T2080RDB

528 Views
hv
Contributor II

how can I restrict an application to only use 1MB of L2 cache on the T2080RDB?

Thanks!

0 Kudos
3 Replies

449 Views
lunminliang
NXP Employee
NXP Employee

Hi,

You may lock part of L2 Cache before entrance of the application and unlock them after exit.

Regards

Lunmin

0 Kudos

449 Views
hv
Contributor II

Could I achieve the same effect by doing cache partitioning? What’s the difference between cache locking and cache partitioning?

0 Kudos

449 Views
lunminliang
NXP Employee
NXP Employee

Hello HV HVO,

If lines are locked, they are not available for allocation until unlocked.If the same address accesses the cache with an allocatable request, the request misses but allocates to the same line in the cache to which it was previously allocated.

If you implement L2 Cache partition for this purpose, remember to set this on all the processors which may run the target application.


Have a great day,
Lunmin

-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos