how can I restrict an application to only use 1MB of L2 cache on the T2080RDB?
Thanks!
Hi,
You may lock part of L2 Cache before entrance of the application and unlock them after exit.
Regards
Lunmin
Could I achieve the same effect by doing cache partitioning? What’s the difference between cache locking and cache partitioning?
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!
-----------------------------------------------------------------------------------------------------------------------